/* ===== CSS Custom Properties ===== */
:root {
    --color-midnight: #0B1D3A;
    --color-midnight-light: #132D54;
    --color-midnight-dark: #060F1F;
    --color-mint: #A7D8C9;
    --color-mint-light: #C5E8DC;
    --color-mint-dark: #7BC4B0;
    --color-cream: #FAFAF7;
    --color-warm-white: #F5F3EE;
    --color-text: #1A1A1A;
    --color-text-light: #4A4A4A;
    --color-text-muted: #6B6B6B;
    --color-border: #E5E2DB;
    --color-accent-gold: #C9A96E;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--color-mint);
    color: var(--color-midnight);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
    transition: top var(--transition);
}

.skip-link:focus {
    top: var(--space-sm);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== Typography ===== */
.title-serif {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.accent-italic {
    font-style: italic;
    font-weight: 400;
}

.text-mint {
    color: var(--color-mint);
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-mint-dark);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-midnight);
    margin-bottom: var(--space-lg);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 560px;
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

.btn-mint {
    background: var(--color-mint);
    color: var(--color-midnight);
}

.btn-mint:hover {
    background: var(--color-mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(167, 216, 201, 0.3);
}

.btn-light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11, 29, 58, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(167, 216, 201, 0.1);
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(11, 29, 58, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 101;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-mint);
    line-height: 1;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
}

.logo-text--light {
    color: #fff;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.03em;
    transition: color var(--transition);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-mint);
    transition: width var(--transition);
}

.main-nav a:hover {
    color: #fff;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
    z-index: 101;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger::before {
    transform: translateY(-6px);
}

.hamburger::after {
    transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-midnight);
    overflow: hidden;
    padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, 
            rgba(6, 15, 31, 0.7) 0%, 
            rgba(11, 29, 58, 0.85) 50%, 
            rgba(6, 15, 31, 0.95) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-mint);
    margin-bottom: var(--space-xl);
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(167, 216, 201, 0.3);
    border-radius: 50px;
    background: rgba(167, 216, 201, 0.08);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-mint);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.hero-headline .accent-italic {
    color: var(--color-mint);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 620px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.meta-icon {
    width: 16px;
    height: 16px;
    color: var(--color-mint);
    flex-shrink: 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1;
}

.hero-scroll-indicator svg {
    width: 20px;
    height: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ===== About ===== */
.about {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(11, 29, 58, 0.15);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 6px solid var(--color-cream);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-stat {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--color-midnight);
    color: #fff;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(11, 29, 58, 0.3);
}

.about-stat .stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-mint);
    line-height: 1;
}

.about-stat .stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.about-content .section-label {
    margin-bottom: var(--space-sm);
}

.about-content .section-title {
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.value-icon {
    width: 24px;
    height: 24px;
    color: var(--color-mint-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.value-item strong {
    display: block;
    font-size: 1rem;
    color: var(--color-midnight);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ===== Products ===== */
.products {
    padding: var(--space-4xl) 0;
    background: var(--color-warm-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header .section-label {
    margin-bottom: var(--space-sm);
}

.section-header .section-title {
    margin-bottom: var(--space-md);
}

.section-header .section-desc {
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(11, 29, 58, 0.12);
}

.product-card-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-body {
    padding: var(--space-lg);
}

.product-card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--color-midnight);
    margin-bottom: var(--space-sm);
}

.product-card-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===== Editorial ===== */
.editorial {
    padding: var(--space-4xl) 0;
    background: var(--color-midnight);
    color: #fff;
}

.editorial-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.editorial-text .section-label {
    color: var(--color-mint);
}

.editorial-text .section-title {
    color: #fff;
}

.editorial-text .lead {
    color: rgba(255, 255, 255, 0.7);
}

.editorial-text p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-md);
}

.editorial-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Gallery ===== */
.gallery {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-md);
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item--large {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
}

.gallery-item--large img {
    aspect-ratio: 7/5;
}

.gallery-item:not(.gallery-item--large) img {
    aspect-ratio: 4/3;
}

.gallery-item--wide {
    grid-column: 1 / 13;
    grid-row: 2 / 3;
}

.gallery-item--wide img {
    aspect-ratio: 2/1;
}

/* ===== Visit ===== */
.visit {
    padding: var(--space-4xl) 0;
    background: var(--color-warm-white);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.visit-info .section-title {
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--color-mint-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-row strong {
    display: block;
    font-size: 1rem;
    color: var(--color-midnight);
    margin-bottom: 4px;
}

.contact-row p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.contact-row a {
    color: var(--color-mint-dark);
    transition: color var(--transition);
}

.contact-row a:hover {
    color: var(--color-midnight);
}

.visit-map {
    min-height: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--color-midnight-dark);
    color: #fff;
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-mark {
    font-size: 2rem;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--space-sm);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: var(--space-3xl);
}

.footer-col strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-mint);
    margin-bottom: var(--space-md);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col a,
.footer-col li {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-lg);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-grid,
    .editorial-split,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-image-accent {
        width: 150px;
        height: 150px;
        bottom: -20px;
        right: -10px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item--large {
        grid-column: 1 / 7;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-midnight);
        padding: 100px var(--space-xl) var(--space-xl);
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .main-nav a {
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .main-nav .btn-light {
        margin-top: var(--space-md);
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99;
    }

    .mobile-overlay.active {
        display: block;
    }

    .hero {
        padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    }

    .hero-headline {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--large,
    .gallery-item--wide {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .about-image-accent {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .about-stat {
        position: relative;
        top: auto;
        left: auto;
        display: inline-block;
        margin-bottom: var(--space-md);
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .badge-dot {
        animation: none;
        opacity: 1;
    }

    .hero-scroll-indicator svg {
        animation: none;
    }
}
