/* ============================================================
   Master Traiteur — Luxury catering theme
   Palette: charcoal #1a1714 · gold #c6a15b · ivory #f7f2ea
   Fonts: Cormorant Garamond (display) · Jost (body)
   ============================================================ */

:root {
    --ink: #1a1714;
    --ink-soft: #2b2622;
    --gold: #c6a15b;
    --gold-dark: #a9853f;
    --ivory: #f7f2ea;
    --cream: #efe7da;
    --muted: #8b8178;
    --white: #ffffff;
    --line: rgba(26, 23, 20, .12);
    --shadow: 0 18px 50px rgba(26, 23, 20, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Jost', sans-serif;
    color: var(--ink);
    background: var(--ivory);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

h1, h2, h3, h4, .navbar-brand .brand-mark {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: .3px;
    line-height: 1.15;
}

a { text-decoration: none; transition: color .25s ease; }
img { max-width: 100%; }

.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

/* ---------- Eyebrows & headings ---------- */
.section-eyebrow {
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 500;
    margin-bottom: .8rem;
}
.text-light-eyebrow { color: var(--gold); }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--ink); margin-bottom: 1rem; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto; }
.section-head { margin-bottom: 56px; }
.section-head.text-center .section-sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .82rem;
    border-radius: 0;
    padding: .85rem 2rem;
    transition: all .3s ease;
}
.btn-gold {
    background: var(--gold);
    color: var(--ink);
    border: 1px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--ivory); border: 1px solid var(--ink); }
.btn-dark:hover { background: var(--ink-soft); color: var(--gold); transform: translateY(-2px); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-lg { padding: 1rem 2.4rem; }

/* ---------- Topbar ---------- */
.topbar {
    background: var(--ink);
    color: rgba(255,255,255,.7);
    font-size: .82rem;
    padding: .55rem 0;
    letter-spacing: .04em;
}
.topbar a { color: rgba(255,255,255,.7); }
.topbar a:hover { color: var(--gold); }
.topbar i { color: var(--gold); margin-right: .35rem; }
.topbar-sep { margin: 0 1rem; opacity: .35; }

/* ---------- Navbar ---------- */
.site-nav {
    background: rgba(247, 242, 234, .98);
    padding: 1.1rem 0;
    transition: all .35s ease;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1030;
}
.site-nav.scrolled {
    background: rgba(26, 23, 20, .97);
    padding: .65rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    border-bottom-color: transparent;
}
.navbar-brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark { font-size: 1.65rem; color: var(--ink); transition: color .3s ease; }
.brand-sub { font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-dark); margin-top: 4px; }
.site-nav.scrolled .brand-mark { color: var(--ivory); }
.site-nav.scrolled .brand-sub { color: var(--gold); }

.site-nav .nav-link {
    color: var(--ink);
    font-size: .85rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0 .9rem;
    position: relative;
}
.site-nav .nav-link::after {
    content: ''; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
    background: var(--gold); transition: width .3s ease;
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { width: 100%; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--gold-dark); }
.site-nav.scrolled .nav-link { color: rgba(255,255,255,.85); }
.site-nav.scrolled .nav-link:hover, .site-nav.scrolled .nav-link.active { color: var(--gold); }

/* hamburger */
.navbar-toggler { border: 0; padding: .4rem; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: all .3s ease; }
.site-nav.scrolled .toggler-bar { background: var(--ivory); }

/* ---------- Hero ---------- */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}
.hero-inner { max-width: 760px; }
.hero-eyebrow {
    display: inline-block; color: var(--gold);
    letter-spacing: .3em; text-transform: uppercase; font-size: .85rem; margin-bottom: 1.2rem;
}
.hero-title { font-size: clamp(2.6rem, 6.5vw, 5rem); color: #fff; margin-bottom: 1.4rem; }
.hero-lead { font-size: 1.12rem; color: rgba(255,255,255,.85); max-width: 580px; margin-bottom: 2.2rem; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.8); font-size: 1.5rem; animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    padding: 150px 0 90px;
    background-size: cover; background-position: center;
    color: #fff; text-align: center;
}
.page-hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; margin-bottom: .6rem; }
.breadcrumb-line { color: rgba(255,255,255,.75); font-size: .9rem; letter-spacing: .05em; }
.breadcrumb-line a { color: var(--gold); }
.breadcrumb-line span { margin: 0 .5rem; opacity: .6; }

/* ---------- Intro ---------- */
.intro-text { color: var(--muted); margin-bottom: 1.2rem; }
.intro-list { list-style: none; padding: 0; margin: 1.4rem 0; }
.intro-list li { margin-bottom: .7rem; color: var(--ink-soft); }
.intro-list i { color: var(--gold-dark); margin-right: .6rem; }
.intro-img-wrap { position: relative; }
.intro-img-wrap img { width: 100%; height: 540px; object-fit: cover; }
.intro-badge {
    position: absolute; bottom: -22px; right: -10px;
    background: var(--gold); color: var(--ink);
    padding: 1.2rem 1.6rem; text-align: center; box-shadow: var(--shadow);
}
.intro-badge-num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; line-height: 1; }
.intro-badge-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; }

/* ---------- Services ---------- */
.services-section { background: var(--white); }
.service-card {
    background: var(--ivory);
    height: 100%;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card-img {
    height: 200px; background-size: cover; background-position: center;
    position: relative;
}
.service-icon {
    position: absolute; bottom: -26px; left: 24px;
    width: 56px; height: 56px; background: var(--gold); color: var(--ink);
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.service-card-body { padding: 42px 24px 28px; }
.service-card-title { font-size: 1.45rem; margin-bottom: .6rem; }
.service-card-text { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.service-link { color: var(--gold-dark); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 500; }
.service-link i { transition: transform .25s ease; }
.service-link:hover i { transform: translateX(5px); }

/* ---------- Stats ---------- */
.stats-section { background: var(--ink); color: var(--ivory); }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; color: var(--gold); display: block; }
.stat-label { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: rgba(255,255,255,.7); }

/* ---------- Gallery ---------- */
.gallery-section { background: var(--cream); }
.gallery-item { display: block; position: relative; overflow: hidden; }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0; background: rgba(26,23,20,.55);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; opacity: 0; transition: opacity .35s ease; gap: .5rem;
}
.gallery-overlay i { font-size: 1.8rem; color: var(--gold); }
.gallery-overlay em { font-style: normal; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; background: rgba(20,17,14,.94);
    display: none; align-items: center; justify-content: center; flex-direction: column;
    z-index: 2000; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90%; max-height: 80vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox-caption { color: var(--gold); margin-top: 1rem; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.lightbox-close { position: absolute; top: 24px; right: 34px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover { color: var(--gold); }

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--white); }
.testimonial-card {
    background: var(--ivory); border: 1px solid var(--line);
    padding: 38px 30px; height: 100%; margin: 0;
}
.testimonial-stars { color: var(--gold); margin-bottom: 1rem; font-size: .9rem; }
.testimonial-card blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-style: italic; color: var(--ink-soft); margin-bottom: 1.4rem; }
.testimonial-card figcaption strong { display: block; color: var(--ink); }
.testimonial-card figcaption span { font-size: .82rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Values ---------- */
.values-section { background: var(--cream); }
.value-card { background: var(--white); padding: 38px 26px; text-align: center; height: 100%; border: 1px solid var(--line); transition: transform .3s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.value-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Offers (services page) ---------- */
.offer-row { margin-bottom: 80px; }
.offer-row:last-child { margin-bottom: 0; }
.offer-img { height: 420px; background-size: cover; background-position: center; box-shadow: var(--shadow); }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: var(--ink);
    color: var(--ivory);
    padding: 90px 0;
    background-image: linear-gradient(rgba(26,23,20,.85), rgba(26,23,20,.85)), url('../images/gallery-2.png');
    background-size: cover; background-position: center;
    text-align: center;
}
.cta-title { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .6rem; }
.cta-sub { color: rgba(255,255,255,.8); margin-bottom: 1.8rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-card { background: var(--white); padding: 44px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-label { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 500; }
.form-control, .form-select { border-radius: 0; border: 1px solid var(--line); padding: .7rem .9rem; background: var(--ivory); }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .15rem rgba(198,161,91,.2); background: #fff; }
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.contact-info { background: var(--ink); color: var(--ivory); padding: 40px; margin-bottom: 1.5rem; }
.contact-info h3 { color: #fff; margin-bottom: 1.4rem; }
.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li { display: flex; gap: 1rem; margin-bottom: 1.4rem; font-size: .92rem; color: rgba(255,255,255,.78); }
.contact-info-list a { color: rgba(255,255,255,.78); }
.contact-info-list a:hover { color: var(--gold); }
.contact-info-list strong { color: #fff; }
.ci-icon { width: 42px; height: 42px; flex: 0 0 42px; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.contact-map iframe { display: block; filter: grayscale(.3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 80px 0 0; }
.footer-brand { color: #fff; font-size: 1.8rem; margin-bottom: 1rem; }
.footer-text { font-size: .92rem; }
.footer-title { color: #fff; font-size: 1.2rem; margin-bottom: 1.2rem; }
.footer-list, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .6rem; }
.footer-list a { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-list a:hover { color: var(--gold); padding-left: 5px; transition: all .25s ease; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .92rem; }
.footer-contact i { color: var(--gold); }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: var(--gold); }
.footer-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding: 24px 0; text-align: center; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed; bottom: 26px; right: 26px; z-index: 1500;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: #fff; font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 26px rgba(37,211,102,.5);
    transition: transform .3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }
.whatsapp-pulse {
    position: absolute; inset: 0; border-radius: 50%;
    background: #25d366; z-index: -1; animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
    0% { transform: scale(1); opacity: .7; }
    70% { transform: scale(1.8); opacity: 0; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- Scroll animations ---------- */
[data-animate] { opacity: 0; transition: opacity .8s ease, transform .8s ease; will-change: opacity, transform; }
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate].in-view { opacity: 1; transform: translate(0, 0); }

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--ink); margin-top: 1rem; padding: 1.2rem 1.4rem;
    }
    .site-nav .nav-link { color: rgba(255,255,255,.85); margin: .4rem 0; }
    .site-nav .nav-link::after { display: none; }
    .navbar-nav .btn-gold { margin-top: .8rem; display: inline-block; }
    .intro-img-wrap img { height: 380px; }
    .intro-badge { right: 10px; }
    .hero { min-height: 80vh; text-align: center; }
    .hero-actions { justify-content: center; }
    .contact-card { padding: 28px; }
}
