/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
    --color-navy: #1a2d42;
    --color-navy-light: #243b54;
    --color-navy-dark: #121f30;
    --color-gold: #c9a962;
    --color-gold-light: #d4b978;
    --color-gold-dark: #b8944f;
    --color-white: #ffffff;
    --color-cream: #f8f6f2;
    --color-cream-dark: #f0ece4;
    --color-text: #2c2c2c;
    --color-text-light: #6b6b6b;
    --color-text-muted: #999999;
    --color-border: rgba(201, 169, 98, 0.2);
    --color-border-light: rgba(26, 45, 66, 0.1);
    
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ========================================
   Typography
   ======================================== */
.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--color-navy);
    margin-bottom: var(--space-md);
}

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

.section-text {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    max-width: 540px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2.25rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

.btn--primary:hover {
    background-color: var(--color-navy-light);
    border-color: var(--color-navy-light);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--secondary:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.08);
}

.btn--large {
    padding: 1.125rem 2.75rem;
    font-size: 0.875rem;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--color-border-light);
    transition: all var(--transition-medium);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(26, 45, 66, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-navy);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--color-navy);
}

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

.nav-cta {
    color: var(--color-gold) !important;
    font-weight: 400;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    color: var(--color-gold-dark) !important;
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background-color: var(--color-navy);
    transition: all var(--transition-fast);
}

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

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

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

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-navy-dark);
    background-image: url('https://images.pexels.com/photos/35336025/pexels-photo-35336025.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: var(--space-lg) var(--space-md);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 31, 48, 0.75) 0%,
        rgba(26, 45, 66, 0.82) 50%,
        rgba(18, 31, 48, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: var(--space-lg);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero-scroll span {
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

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

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

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.about-content {
    padding: var(--space-md) 0;
}

.about-divider {
    width: 48px;
    height: 1px;
    background-color: var(--color-gold);
    margin: var(--space-md) 0;
}

.about-note {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--color-navy);
    line-height: 1.7;
}

/* ========================================
   Menu
   ======================================== */
.menu {
    padding: var(--space-2xl) 0;
    background-color: var(--color-cream);
}

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

.menu-category {
    padding: var(--space-md);
    background-color: var(--color-white);
    border: 1px solid var(--color-border-light);
}

.category-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.375rem;
    color: var(--color-navy);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.menu-item {
    margin-bottom: var(--space-md);
}

.menu-item:last-child {
    margin-bottom: 0;
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 4px;
}

.menu-item-name {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-navy);
    white-space: nowrap;
}

.menu-item-line {
    flex: 1;
    height: 1px;
    background-color: var(--color-border);
}

.menu-item-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.menu-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: var(--space-lg);
    font-style: italic;
}

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

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

.gallery-item {
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

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

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

.visit-info {
    padding-right: var(--space-md);
}

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

.visit-details {
    margin: var(--space-lg) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.visit-detail {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.visit-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    margin-top: 4px;
}

.visit-detail h4 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.visit-detail a {
    color: rgba(255, 255, 255, 0.78);
    transition: color var(--transition-fast);
}

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

.visit-map {
    min-height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--color-navy-dark);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition-fast);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-md);
    text-align: center;
}

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

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .menu-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-sm);
        border-bottom: 1px solid var(--color-border-light);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
        box-shadow: 0 8px 24px rgba(26, 45, 66, 0.08);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        font-size: 0.875rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .about-image {
        max-height: 400px;
    }
    
    .menu-categories {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .visit-info {
        padding-right: 0;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .scroll-line {
        animation: none;
        opacity: 0.6;
    }
    
    .gallery-item img {
        transition: none;
    }
}
