/* =========================================================
   OLGD RESTAURANT
   FORMULE BASIC — 50 000 FCFA
========================================================= */

:root {
    --bg: #17130f;
    --bg-soft: #211b15;
    --cream: #f4eee5;
    --cream-dark: #ded3c3;
    --text: #27211b;
    --text-light: #756b61;

    /* COULEUR PRINCIPALE */
    --accent: #b98550;
    --accent-light: #d2a879;

    --white: #ffffff;

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    --container: 1160px;
    --radius: 3px;
    --transition: 0.35s cubic-bezier(.2, .8, .2, 1);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================================
   GLOBAL
========================================================= */

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.section {
    padding: 110px 0;
}

.section-label {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--accent);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    margin-bottom: 60px;
}

.section-heading h2,
.about-content h2,
.intro-heading h2 {
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 600;
}

.section-heading > p {
    max-width: 370px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

h1 em,
h2 em {
    font-style: italic;
    color: var(--accent);
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 22px 0;
    color: var(--white);
    transition:
        background var(--transition),
        padding var(--transition),
        box-shadow var(--transition);
}

.header.scrolled {
    padding: 14px 0;
    background: rgba(23, 19, 15, 0.95);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.logo span {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.logo small {
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.3em;
    opacity: 0.7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 13px;
}

.nav-links a {
    position: relative;
    opacity: 0.82;
    transition: opacity var(--transition);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: var(--accent-light);
    transition: width var(--transition);
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-button {
    padding: 11px 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 600;
    transition:
        background var(--transition),
        border-color var(--transition);
}

.nav-button:hover {
    background: var(--white);
    color: var(--bg);
    border-color: var(--white);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    margin: 4px auto;
    background: var(--white);
    transition: transform var(--transition);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(17, 13, 9, 0.88) 0%,
            rgba(17, 13, 9, 0.65) 45%,
            rgba(17, 13, 9, 0.25) 100%
        ),
        url("https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=2200&q=90")
        center / cover no-repeat;

    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 70% 50%,
            transparent,
            rgba(0, 0, 0, 0.25) 70%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.28em;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--accent-light);
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 28px;
    font-family: var(--serif);
    font-size: clamp(58px, 8vw, 104px);
    line-height: 0.93;
    font-weight: 600;
    color: #ffffff !important;
}

.hero h1 em {
    color: #b98550 !important;
}

.hero-text {
    max-width: 510px;
    margin-bottom: 38px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-light);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--bg);
    border-color: var(--white);
}

.hero-scroll {
    position: absolute;
    z-index: 2;
    right: 42px;
    bottom: 35px;

    display: flex;
    align-items: center;
    gap: 12px;

    color: rgba(255, 255, 255, 0.65);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
}

.hero-scroll span {
    width: 1px;
    height: 45px;
    background: var(--accent-light);
}


/* =========================================================
   INTRO
========================================================= */

.intro {
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.intro-heading {
    max-width: 530px;
}

.intro-text {
    padding-top: 38px;
}

.intro-text p {
    margin-bottom: 18px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.85;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.text-link span {
    color: var(--accent);
    font-size: 20px;
    transition: transform var(--transition);
}

.text-link:hover span {
    transform: translateX(6px);
}


/* =========================================================
   MENU
========================================================= */

.menu-section {
    background: #eee5d9;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(39, 33, 27, 0.14);
}

.menu-card {
    display: grid;
    grid-template-columns: 55px 1fr auto;
    gap: 20px;
    align-items: start;

    min-height: 245px;
    padding: 35px;

    background: #eee5d9;

    transition:
        background var(--transition),
        transform var(--transition);
}

.menu-card:hover {
    background: var(--cream);
}

.menu-number {
    color: var(--accent);
    font-family: var(--serif);
    font-size: 20px;
}

.menu-category {
    display: block;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.menu-card h3 {
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 600;
}

.menu-card p {
    max-width: 340px;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.7;
}

.menu-card strong {
    color: var(--accent);
    font-size: 14px;
    white-space: nowrap;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: var(--bg);
    color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    overflow: hidden;
    height: 610px;
}

.image-frame img {
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.about-image:hover .image-frame img {
    transform: scale(1.04);
}

.experience-badge {
    position: absolute;
    right: -35px;
    bottom: 40px;

    width: 130px;
    height: 130px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: var(--accent);
    text-align: center;
}

.experience-badge strong {
    font-family: var(--serif);
    font-size: 28px;
}

.experience-badge span {
    max-width: 80px;
    margin-top: 5px;
    font-size: 9px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-content .section-label {
    color: var(--accent-light);
}

.about-content h2 {
    margin-bottom: 30px;
}

.about-content p {
    max-width: 490px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    line-height: 1.85;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-signature span {
    font-family: var(--serif);
    font-size: 25px;
}

.about-signature small {
    color: rgba(255, 255, 255, 0.45);
    font-size: 10px;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery {
    background: var(--cream);
}

.centered {
    display: block;
    text-align: center;
}

.centered h2 {
    margin-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 12px;
}

.gallery-item {
    overflow: hidden;
}

.gallery-large {
    grid-row: 1 / 3;
}

.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(.2, .8, .2, 1);
}

.gallery-item:hover img {
    transform: scale(1.06);
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 125px 0;

    background:
        linear-gradient(
            rgba(185, 133, 80, 0.9),
            rgba(185, 133, 80, 0.9)
        ),
        url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1800&q=85")
        center / cover;

    color: var(--white);
}

.cta-inner {
    max-width: 700px;
    text-align: center;
}

.cta .section-label {
    color: rgba(255, 255, 255, 0.7);
}

.cta h2 {
    margin-bottom: 18px;
    font-family: var(--serif);
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1;
}

.cta p {
    max-width: 520px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.8;
}

.btn-light {
    background: var(--white);
    color: var(--text);
}

.btn-light:hover {
    background: var(--cream);
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    background: #eee5d9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.contact-info h2 {
    margin-bottom: 22px;
    font-family: var(--serif);
    font-size: clamp(44px, 5vw, 65px);
    line-height: 1;
}

.contact-info > p {
    max-width: 450px;
    margin-bottom: 40px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(39, 33, 27, 0.2);
    color: var(--accent);
    font-family: var(--serif);
    font-size: 13px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item small {
    color: var(--text-light);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.contact-item span,
.contact-item a {
    font-size: 13px;
    font-weight: 600;
}

.contact-card {
    min-height: 460px;

    display: flex;
    flex-direction: column;

    background: var(--bg);
    color: var(--white);

    box-shadow: 0 25px 70px rgba(39, 33, 27, 0.15);
}

.contact-card-top {
    display: flex;
    justify-content: space-between;

    padding: 25px 30px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.45);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.contact-card-main {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 50px;
}

.mini-label {
    margin-bottom: 18px;
    color: var(--accent-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.contact-card h3 {
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1;
}

.contact-card p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.whatsapp-button {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 18px;

    border: 1px solid rgba(255, 255, 255, 0.2);

    font-size: 12px;
    font-weight: 700;

    transition:
        background var(--transition),
        color var(--transition);
}

.whatsapp-button:hover {
    background: var(--white);
    color: var(--bg);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 70px 0 25px;
    background: #100d0a;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand p {
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;

    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.footer-links h4 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.footer-links a {
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.3);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 900;

    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #25D366;
    color: white;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);

    font-size: 23px;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.2, .8, .2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 900px) {

    .section {
        padding: 85px 0;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-button {
        display: none;
    }

    .intro-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-image {
        max-width: 650px;
    }

    .image-frame {
        height: 500px;
    }

    .about-grid {
        gap: 70px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px 220px;
    }

    .gallery-large {
        grid-row: auto;
        grid-column: 1 / 3;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / 3;
    }
}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 680px) {

    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .section {
        padding: 75px 0;
    }


    /* HEADER */

    .header {
        padding: 18px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;

        width: min(80%, 320px);
        height: 100vh;

        padding: 100px 35px 40px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;

        background: var(--bg);

        transform: translateX(100%);

        transition: transform var(--transition);

        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.25);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-family: var(--serif);
        font-size: 25px;
    }

    .menu-toggle {
        position: relative;
        z-index: 1100;

        display: block;
    }


    /* HERO */

    .hero {
        min-height: 720px;
        background-position: 62% center;
    }

    .hero-content {
        padding-top: 90px;
    }

    .hero h1 {
        font-size: clamp(53px, 16vw, 78px);
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 250px;
    }

    .hero-scroll {
        display: none;
    }


    /* INTRO */

    .intro-grid {
        gap: 25px;
    }

    .intro-text {
        padding-top: 0;
    }


    /* HEADINGS */

    .section-heading {
        display: block;
        margin-bottom: 40px;
    }

    .section-heading > p {
        margin-top: 20px;
    }


    /* MENU */

    .menu-card {
        grid-template-columns: 35px 1fr;
        gap: 12px;
        min-height: auto;
        padding: 28px 22px;
    }

    .menu-card strong {
        grid-column: 2;
        margin-top: 8px;
    }


    /* ABOUT */

    .about-grid {
        gap: 45px;
    }

    .image-frame {
        height: 420px;
    }

    .experience-badge {
        right: 12px;
        bottom: 20px;

        width: 105px;
        height: 105px;
    }

    .about-signature {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }


    /* GALLERY */

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 180px;
        gap: 8px;
    }


    /* CTA */

    .cta {
        padding: 90px 0;
    }


    /* CONTACT */

    .contact-grid {
        gap: 45px;
    }

    .contact-card {
        min-height: 400px;
    }

    .contact-card-main {
        padding: 35px 25px;
    }

    .contact-card h3 {
        font-size: 38px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .whatsapp-float {
        right: 17px;
        bottom: 17px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}