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

:root {
    --green-dark: #1a3a2a;
    --green-main: #2d5c3e;
    --green-light: #3d7a52;
    --gold: #c9a84c;
    --gold-light: #dfc06e;
    --cream: #faf8f2;
    --cream-dark: #f0ece0;
    --text-dark: #1a1a1a;
    --text-mid: #4a4a4a;
    --text-light: #7a7a7a;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Raleway', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
}

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

/* ===== NAVIGATION ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(26, 58, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}

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

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

.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);
    transition: var(--transition);
}

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

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.4);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 58, 42, 0.6) 0%,
        rgba(26, 58, 42, 0.75) 50%,
        rgba(26, 58, 42, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
}

.hero-sub {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--gold-light);
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.7s forwards;
}

.hero-desc {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 500px;
    margin: 0 auto 32px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.9s forwards;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: var(--gold);
    color: var(--white);
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.1s forwards;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    opacity: 0.6;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* ===== SECTIONS COMMON ===== */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--green-dark);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.separator {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
    border-radius: 2px;
}

.section-intro {
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 1rem;
    opacity: 0.85;
}

/* ===== NOTRE HISTOIRE ===== */
.histoire-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.histoire-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.histoire-text h3 {
    font-size: 1.8rem;
    color: var(--green-dark);
    margin-bottom: 20px;
}

.histoire-text p {
    color: var(--text-mid);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.histoire-signature {
    margin-top: 24px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold);
    font-size: 1.1rem;
}

/* ===== CONCEPT ===== */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.concept-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
}

.concept-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.concept-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.concept-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.concept-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.7;
}

/* ===== MENU ===== */
.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.menu-tab {
    padding: 10px 24px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--cream-dark);
    color: var(--text-mid);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.menu-tab:hover {
    border-color: var(--green-light);
    color: var(--green-dark);
}

.menu-tab.active {
    background: var(--green-dark);
    color: var(--white);
    border-color: var(--green-dark);
}

.menu-category {
    display: none;
}

.menu-category.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-category-header {
    text-align: center;
    margin-bottom: 36px;
}

.menu-category-header h3 {
    font-size: 1.8rem;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.menu-category-desc {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Menu Items Grid */
.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.menu-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.menu-item-img {
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.menu-item-info {
    padding: 20px;
}

.menu-item-info h4 {
    font-size: 1.1rem;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.menu-item-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Drink items smaller images */
.menu-items-drinks .drink-item .menu-item-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    padding: 16px;
}

.menu-items-drinks .drink-item .menu-item-img img {
    width: auto;
    max-height: 100%;
    object-fit: contain;
}

/* Menu Items List (for crêpes, boissons) */
.menu-items-list {
    max-width: 700px;
    margin: 0 auto;
}

.centered-list {
    max-width: 600px;
}

.menu-item-row {
    padding: 16px 0;
    border-bottom: 1px solid var(--cream-dark);
}

.menu-item-row:last-child {
    border-bottom: none;
}

.menu-item-row h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.menu-item-row p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.drinks-list .menu-item-row {
    text-align: center;
    padding: 12px 0;
}

.menu-subcategory {
    margin-bottom: 32px;
}

.menu-sub-title {
    font-size: 1.2rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 16px;
    font-style: italic;
}

/* ===== BRUNCH ===== */
.brunch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.brunch-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.brunch-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.brunch-card-img {
    height: 220px;
    overflow: hidden;
}

.brunch-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.brunch-card-content {
    padding: 24px;
}

.brunch-card-content h3 {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.brunch-card-content ul {
    list-style: none;
}

.brunch-card-content li {
    font-size: 0.88rem;
    padding: 5px 0;
    padding-left: 16px;
    position: relative;
    opacity: 0.85;
    line-height: 1.5;
}

.brunch-card-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: #1a1a1a;
}

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

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

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--gold);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    opacity: 0.75;
}

.contact-map {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.map-placeholder p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.8;
}

.map-placeholder .btn-primary {
    opacity: 1;
    animation: none;
}

.btn-contact-action {
    opacity: 1;
    animation: none;
}

.contact-link {
    color: var(--gold);
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--gold-light);
}

.contact-icon-img {
    color: var(--gold);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== RESERVATION ===== */
.reservation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.reservation-info h3 {
    font-size: 1.8rem;
    color: var(--green-dark);
    margin-bottom: 16px;
}

.reservation-info p {
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 24px;
}

.reservation-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reservation-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.reservation-contact-item span {
    font-size: 1.2rem;
    color: var(--gold);
}

.reservation-contact-item a {
    color: var(--green-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.reservation-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream);
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-light);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-reserve {
    width: 100%;
    padding: 14px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--green-dark);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-reserve:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(45, 92, 62, 0.3);
}

/* ===== FOOTER ===== */
footer {
    background: #111;
    color: var(--white);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.footer-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 8px;
}

.footer-quote {
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    font-size: 0.85rem;
    opacity: 0.6;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

.footer-credit a {
    color: var(--gold);
    font-weight: 500;
    transition: var(--transition);
}

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

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
    .histoire-grid {
        gap: 40px;
    }

    .concept-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }

    .brunch-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--green-dark);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    }

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

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    #hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .section {
        padding: 60px 0;
    }

    .histoire-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .histoire-image img {
        height: 300px;
    }

    .menu-tabs {
        gap: 6px;
    }

    .menu-tab {
        padding: 8px 16px;
        font-size: 0.78rem;
    }

    .menu-items-grid {
        grid-template-columns: 1fr;
    }

    .reservation-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .reservation-form {
        padding: 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .gallery-item-wide {
        grid-column: span 2;
    }

    .gallery-item-tall {
        grid-row: span 2;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

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

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 140px;
    }

    .brunch-card-content {
        padding: 16px;
    }

    .brunch-card-content li {
        font-size: 0.82rem;
    }

    .menu-item-img {
        height: 180px;
    }
}
