/* ==========================================================================
   AVYR ENGINEERING STANDARDS : LE PETIT BOUILLON
   ========================================================================== */

:root {
    /* Extraction: Color Palette */
    --clr-rust: #b84b32;
    --clr-antique-cream: #fdfaf1;
    --clr-mahogany: #2d1b18;
    --clr-antique-brass: #c2a37d;
    --clr-bg-dark: #1f1513;

    /* Extraction: Typography */
    --font-sans: 'Be Vietnam Pro', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* AVYR Spatial Metrics */
    --spacing-sm: clamp(1rem, 2vw, 2rem);
    --spacing-md: clamp(2rem, 5vw, 4rem);
    --spacing-lg: clamp(4rem, 10vw, 8rem);
    --container-max: 1280px;
}

/* ==========================================================================
   RESET & FOUNDATION
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--clr-antique-cream);
    color: var(--clr-mahogany);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--clr-rust);
    color: var(--clr-antique-cream);
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.text-mahogany { 
    color: var(--clr-mahogany); 
}
.text-cream { 
    color: var(--clr-antique-cream); 
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
.btn-primary {
    display: inline-block;
    background-color: var(--clr-rust);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    padding: 1.25rem 3rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: #9c3f29;
    transform: translateY(-2px);
}

.btn-small {
    font-size: 0.6875rem;
    padding: 0.75rem 2rem;
    letter-spacing: 0.2em;
}

.btn-outline {
    border: 2px solid var(--clr-mahogany);
    color: var(--clr-mahogany);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    padding: 1.5rem 4rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--clr-mahogany);
    color: var(--clr-antique-cream);
}

/* ==========================================================================
   LAYOUT ARCHITECTURE
   ========================================================================== */

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem var(--spacing-md);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-signature h1 {
    color: rgb(201, 181, 28);
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.header-action {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 110vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.scrim {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 var(--spacing-sm);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 8vw, 8rem); /* AVYR Spatial Law */
    font-weight: 900;
    color: var(--clr-antique-cream);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-style: italic;
    color: var(--clr-antique-cream);
    opacity: 0.9;
    margin-bottom: 3rem;
}

/* Menu Section */
.menu-section {
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: var(--clr-antique-cream);
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-header { 
    margin-bottom: var(--spacing-lg); 
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
}

.decorative-line {
    width: 100%;
    max-width: 24rem;
    height: 1px;
    background-color: var(--clr-antique-brass);
    border: none;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 5rem;
    row-gap: 3rem;
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) { 
    .menu-grid { 
        grid-template-columns: 1fr 1fr; 
    } 
}

.menu-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item-header {
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.item-name {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--clr-mahogany);
    white-space: nowrap;
}

/* Pure CSS Dotted Line */
.item-header::after {
    content: '';
    flex-grow: 1;
    border-bottom: 2px dotted var(--clr-antique-brass);
    margin: 0 1rem 0.35rem 1rem;
}

.item-price {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--clr-mahogany);
    white-space: nowrap;
}

.item-desc {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-style: italic;
    color: rgba(45, 27, 24, 0.6);
}

.menu-feature {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-bottom: var(--spacing-lg);
}

.menu-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* Reservation Section */
.reservation-section {
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: var(--clr-bg-dark);
}

.reservation-form {
    margin-bottom: var(--spacing-lg);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 5rem;
    row-gap: 4rem;
}

@media (min-width: 768px) { 
    .form-grid { 
        grid-template-columns: 1fr 1fr; 
    } 
}

.input-group {
    display: flex;
    flex-direction: column;
    border: none;
}

.input-group label {
    color: var(--clr-antique-brass);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.input-minimal {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--clr-antique-brass);
    padding: 1rem 0;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--clr-antique-cream);
    transition: border-color 0.3s ease;
}

.input-minimal:focus {
    outline: none;
    border-bottom-color: #ffffff;
}

.input-minimal::placeholder { 
    color: rgba(253, 250, 241, 0.2); 
}

.form-action {
    margin-top: 3rem;
    text-align: center;
}

@media (min-width: 768px) {
    .form-action { 
        grid-column: span 2; 
    }
    .w-full\.md-auto { 
        width: auto; 
    }
}

/* Footer */
.site-footer {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(194, 163, 125, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .site-footer {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright, .footer-links a {
    color: var(--clr-antique-brass);
    font-size: 0.5625rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-links { 
    display: flex; 
    gap: 2rem; 
}
.footer-links a:hover { 
    color: #ffffff; 
}

/* ==========================================================================
   KINETICS
   ========================================================================== */
.avyr-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.avyr-reveal.delay-1 { 
    transition-delay: 0.1s; 
}
.avyr-reveal.delay-2 { 
    transition-delay: 0.2s; 
}

.avyr-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}