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

:root {
    --midnight: #0a1628;
    --midnight-light: #152238;
    --midnight-mid: #1a2d4a;
    --mint: #7ecfc0;
    --mint-light: #a8e6cf;
    --mint-pale: #d4f5ed;
    --mint-50: #f0faf7;
    --cream: #fafbfc;
    --cream-warm: #f7f9fb;
    --text-dark: #0f1c2e;
    --text-body: #2c3e50;
    --text-muted: #5a6f82;
    --text-light: #8a9bb0;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.08), 0 2px 4px rgba(10, 22, 40, 0.04);
    --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12), 0 4px 12px rgba(10, 22, 40, 0.06);
    --shadow-xl: 0 24px 60px rgba(10, 22, 40, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-dark);
    line-height: 1.25;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--midnight);
}

.nav-logo-icon {
    color: var(--mint);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link {
    color: var(--text-body);
}

.navbar.scrolled .nav-link:hover {
    color: var(--midnight);
    background: var(--mint-pale);
}

.nav-cta {
    padding: 10px 22px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--midnight);
    background: var(--mint);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--mint-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--midnight);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.82) 0%,
        rgba(21, 34, 56, 0.75) 50%,
        rgba(26, 45, 74, 0.68) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(126, 207, 192, 0.15);
    border: 1px solid rgba(126, 207, 192, 0.3);
    border-radius: 100px;
    color: var(--mint-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--mint);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    color: var(--midnight);
    background: var(--mint);
    box-shadow: 0 4px 16px rgba(126, 207, 192, 0.35);
}

.btn-primary:hover {
    background: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(126, 207, 192, 0.4);
}

.btn-outline-light {
    color: var(--white);
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ===== SECTION COMMON ===== */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--mint-pale);
    color: var(--midnight);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--mint-pale);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    padding: 8px 0;
}

.about-text {
    color: var(--text-body);
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint-pale);
    color: var(--midnight);
    border-radius: var(--radius-sm);
}

.about-feature strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ===== PRODUCTS ===== */
.products {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--mint-50) 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.product-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(126, 207, 192, 0.1);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(126, 207, 192, 0.3);
}

.product-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mint-pale) 0%, rgba(126, 207, 192, 0.3) 100%);
    color: var(--midnight);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== VISIT ===== */
.visit {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--midnight-light) 100%);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.visit-info {
    padding: 8px 0;
}

.visit .section-tag {
    background: rgba(126, 207, 192, 0.15);
    color: var(--mint);
}

.visit .section-title {
    color: var(--white);
}

.visit-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.02rem;
    margin-bottom: 36px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(126, 207, 192, 0.12);
    color: var(--mint);
    border-radius: var(--radius-sm);
}

.visit-detail strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.visit-detail span,
.visit-detail a {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.visit-detail a:hover {
    color: var(--mint);
}

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

.visit-cta .btn-primary:hover {
    background: var(--mint-light);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow-xl);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--midnight);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mint);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links li a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-contact li a {
    transition: var(--transition);
}

.footer-contact li a:hover {
    color: var(--mint);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal-left {
        opacity: 0;
        transform: translateX(-24px);
    }
    
    .reveal-right {
        opacity: 0;
        transform: translateX(24px);
    }
    
    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-body) !important;
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .nav-link:hover {
        background: var(--mint-pale) !important;
        color: var(--midnight) !important;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
        width: 100%;
        justify-content: center;
    }
    
    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(10, 22, 40, 0.5);
        z-index: 999;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-number {
        font-size: 1.4rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .about-accent {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
