/* === CSS Variables === */
:root {
    /* Terracotta Studio Palette */
    --color-primary: #B5563E;
    --color-primary-light: #D4896A;
    --color-secondary: #3D2B1F;
    --color-bg: #F2E6D9;
    --color-bg-alt: #E8D5C4;
    --color-text: #3D2B1F;
    --color-text-light: #6B5344;
    --color-accent: #C9A87C;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 8rem;
    
    /* Transitions */
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

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

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

/* === Navigation === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: rgba(242, 230, 217, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-bg-alt);
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: var(--space-xs) 0;
}

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

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

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: calc(var(--space-xxl) + 4rem) var(--space-lg) var(--space-xl);
    gap: var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    max-width: 400px;
}

.hero-image {
    position: relative;
    animation: fadeIn 1.2s ease-out 0.3s both;
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 40px 80px rgba(61, 43, 31, 0.15);
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(181, 86, 62, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: white;
}

/* === Features Section === */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    padding: var(--space-xxl) var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--color-bg-alt);
    border-bottom: 1px solid var(--color-bg-alt);
}

.feature {
    text-align: center;
    padding: var(--space-md);
}

.feature-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-primary-light);
    opacity: 0.5;
    margin-bottom: var(--space-sm);
}

.feature h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

.feature p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === Menu Section === */
.menu {
    padding: var(--space-xxl) var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--color-secondary);
}

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

.menu-category {
    background: white;
    padding: var(--space-lg);
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(61, 43, 31, 0.05);
}

.menu-category h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-bg-alt);
}

.menu-items {
    list-style: none;
}

.menu-items li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--space-sm) 0;
    border-bottom: 1px dotted var(--color-bg-alt);
}

.menu-items li:last-child {
    border-bottom: none;
}

.menu-items span:first-child {
    font-weight: 500;
    color: var(--color-text);
}

.menu-items span:last-child {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-primary);
}

/* === About Section === */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding: var(--space-xxl) var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 2px;
}

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

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

.about-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-content .btn {
    margin-top: var(--space-sm);
}

/* === Gallery Section === */
.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-sm);
    padding: var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-item.wide img {
    height: 400px;
}

/* === Visit Section === */
.visit {
    background: var(--color-secondary);
    color: var(--color-bg);
    padding: var(--space-xxl) var(--space-lg);
    text-align: center;
}

.visit .section-eyebrow {
    color: var(--color-primary-light);
}

.visit .section-title {
    color: var(--color-bg);
    margin-bottom: var(--space-lg);
}

.visit-details {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.visit-location h4,
.visit-hours h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-accent);
}

.visit-location p,
.visit-hours p {
    color: var(--color-bg-alt);
    line-height: 1.8;
}

.visit .btn-primary {
    background: var(--color-bg);
    color: var(--color-secondary);
}

.visit .btn-primary:hover {
    background: var(--color-accent);
    color: var(--color-secondary);
}

/* === Footer === */
.footer {
    background: var(--color-secondary);
    color: var(--color-bg-alt);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    border-top: 1px solid rgba(242, 230, 217, 0.1);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-bg);
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    color: var(--color-bg-alt);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-bg-alt);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.footer-copy {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: calc(var(--space-xxl) + 2rem);
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-image img {
        height: 400px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .about {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-content {
        order: 1;
        padding: 0;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: var(--space-sm);
    }
    
    .nav-links {
        gap: var(--space-sm);
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-details {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}