/* Twins Echo — Custom Styles */

/* Navigation Links */
.nav-link {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    border-radius: 0.5rem;
    transition: all 0.2s;
}
.nav-link:hover {
    color: #1a3d6e;
    background-color: #f9fafb;
}
.nav-link.active {
    color: #142f55;
    background-color: #eef2f7;
}
.nav-link-cta {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    background-color: #142f55;
    border-radius: 0.5rem;
    transition: all 0.2s;
}
.nav-link-cta:hover {
    background-color: #0e213d;
}
.dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #374151;
    transition: all 0.2s;
}
.dropdown-link:hover {
    background-color: #eef2f7;
    color: #142f55;
}
.mobile-link {
    display: block;
    padding: 0.625rem 1rem;
    color: #374151;
    border-radius: 0.5rem;
    transition: all 0.2s;
}
.mobile-link:hover {
    background-color: #f9fafb;
}

/* Hero gradient overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(26,61,110,0.85) 0%, rgba(26,61,110,0.6) 50%, rgba(26,61,110,0.3) 100%);
}

/* Service card hover */
.service-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid #f3f4f6;
    padding: 1.5rem;
    transition: all 0.3s;
}
.service-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #d4dce8;
    transform: translateY(-4px);
}

/* Section heading */
.section-heading {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0e213d;
    font-family: 'Playfair Display', serif;
}
@media (min-width: 768px) {
    .section-heading { font-size: 2.5rem; }
}
.section-subheading {
    color: #6b7280;
    margin-top: 0.75rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Page hero banner */
.page-hero {
    position: relative;
    background-color: #0e213d;
    color: white;
    padding: 5rem 0;
    overflow: hidden;
}
@media (min-width: 768px) {
    .page-hero { padding: 7rem 0; }
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/mega-yacht-for-sale-master2-1350-630.jpg') center/cover no-repeat;
    opacity: 0.15;
}

/* Gallery grid */
.gallery-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #1a3d6e;
    border-radius: 4px;
}

/* Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
}
