/* =========================================================================
   SMK / Sai Manikanta Caterers — Design System
   Palette drawn from the subject itself: turmeric, banana leaf, tamarind,
   temple gold — not a generic template palette.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Color */
    --ivory:        #FBF4E4;   /* base background — warm rice-paper */
    --ivory-deep:    #F3E9D4;
    --leaf:          #3F5B3C;  /* banana-leaf green — primary */
    --leaf-deep:     #2B4029;
    --leaf-light:    #7C9A6D;  /* fresh leaf accent */
    --maroon:        #6B1E23;  /* tamarind / kumkum — secondary */
    --maroon-deep:   #4E1519;
    --gold:          #C98A2C;  /* turmeric / temple gold — CTA accent */
    --gold-light:    #E4B563;
    --charcoal:      #2B211B;  /* text */
    --charcoal-soft: #5B4F42;
    --white:         #FFFDF8;

    /* Type */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --max-width: 1180px;
    --radius: 6px;
    --shadow-soft: 0 12px 32px -16px rgba(43,33,27,0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--ivory);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.5em;
    color: var(--maroon-deep);
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--charcoal-soft); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--leaf);
    margin-bottom: 10px;
}
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--leaf { background: var(--leaf); color: var(--ivory); }
.section--leaf h2, .section--leaf h3 { color: var(--white); }
.section--leaf p { color: #E4EBDF; }
.section--maroon { background: var(--maroon); color: var(--ivory); }
.section--maroon h2, .section--maroon h3 { color: var(--white); }
.section--maroon p { color: #E9CFCF; }
.center { text-align: center; }
.section-head { max-width: 640px; margin: 0 auto 48px; }
.section-head.left { margin: 0 0 40px; }

/* --- Signature leaf-edge divider: the recurring motif that ties every
   section to the banana-leaf-service tradition this brand is built on --- */
.leaf-divider {
    width: 100%;
    height: 34px;
    display: block;
    line-height: 0;
}
.leaf-divider--ivory-to-leaf { background: var(--ivory); }
.leaf-divider--leaf-to-ivory { background: var(--leaf); }
.leaf-divider svg { display: block; width: 100%; height: 34px; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--maroon-deep); }
.btn--gold:hover { background: var(--gold-light); box-shadow: var(--shadow-soft); }
.btn--outline { border-color: currentColor; background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,0.1); }
.btn--maroon { background: var(--maroon); color: var(--white); }
.btn--maroon:hover { background: var(--maroon-deep); }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }

/* --- Header / nav --- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251,244,228,0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(107,30,35,0.1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--maroon-deep); }
.brand .leafmark { width: 34px; height: 34px; flex-shrink: 0; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--leaf); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 600; font-size: 0.92rem; color: var(--charcoal); padding: 6px 0; position: relative; }
.nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
    background: var(--gold); transform: scaleX(0); transition: transform 0.2s ease; transform-origin: left;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--maroon); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { display: flex; flex-direction: column; font-size: 0.8rem; text-align: right; }
.header-phone a { font-weight: 700; color: var(--maroon); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--maroon-deep); cursor: pointer; }

@media (max-width: 880px) {
    .nav { position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: var(--ivory); flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px; transform: translateX(-100%); transition: transform 0.25s ease; overflow-y: auto; }
    .nav.open { transform: translateX(0); }
    .nav-toggle { display: block; }
    .header-phone { display: none; }
}

/* --- Hero slider --- */
.hero { position: relative; height: min(86vh, 680px); min-height: 420px; overflow: hidden; }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
    background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(43,33,27,0.15) 0%, rgba(43,33,27,0.65) 100%);
}
.hero-content {
    position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column;
    justify-content: flex-end; padding-bottom: 88px; color: var(--white);
}
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content h1 { color: var(--white); max-width: 720px; }
.hero-content p { color: #F1E9DA; font-size: 1.1rem; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.hero-dots { position: absolute; z-index: 3; bottom: 28px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--white); background: transparent; cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--gold); border-color: var(--gold); }

/* --- Promo banner --- */
.promo-strip { background: var(--maroon); color: var(--white); padding: 12px 0; }
.promo-strip .container { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; font-size: 0.92rem; }
.promo-strip strong { color: var(--gold-light); }

/* --- Cards --- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 2px 14px -6px rgba(43,33,27,0.14);
    border: 1px solid rgba(107,30,35,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px; }
.badge-signature {
    display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; background: var(--gold); color: var(--maroon-deep);
    padding: 3px 9px; border-radius: 3px; margin-bottom: 8px;
}

/* --- Feature list (leaf bullet) --- */
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.feature-list li::before {
    content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 12px;
    background: var(--leaf); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17 1.99.51 3.34-.32 3.55 2.32 8.1-1.87 8.1-8.68 0-1.53-.14-3.06-.28-4.3z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* --- About / split sections --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.stat-row { display: flex; gap: 36px; margin-top: 28px; flex-wrap: wrap; }
.stat-row .stat b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--maroon); }
.stat-row .stat span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--charcoal-soft); }

/* --- Testimonials --- */
.t-card { background: var(--ivory-deep); border-left: 3px solid var(--gold); padding: 26px 28px; border-radius: var(--radius); }
.t-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.t-card p { font-style: italic; color: var(--charcoal); }
.t-card footer { font-weight: 700; color: var(--maroon); font-size: 0.9rem; }
.t-card footer span { display: block; font-weight: 500; color: var(--charcoal-soft); font-size: 0.8rem; }

/* --- Gallery --- */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.gallery-filters button {
    font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; padding: 8px 16px;
    border-radius: 999px; border: 1.5px solid var(--leaf); background: transparent; color: var(--leaf); cursor: pointer;
}
.gallery-filters button.active { background: var(--leaf); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 1; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; background: rgba(43,33,27,0.92); z-index: 100; display: none; align-items: center; justify-content: center; padding: 32px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 4px; }
.lightbox-close { position: absolute; top: 24px; right: 32px; color: var(--white); font-size: 2rem; cursor: pointer; background: none; border: none; }

/* --- Forms --- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 600; font-size: 0.85rem; }
.form-field.full { grid-column: 1 / -1; }
input, select, textarea {
    font-family: var(--font-body); font-size: 0.95rem; padding: 12px 14px;
    border: 1.5px solid #DDD0B8; border-radius: var(--radius); background: var(--white); color: var(--charcoal);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form-note { font-size: 0.82rem; color: var(--charcoal-soft); margin-top: 10px; }
.alert-success { background: #E4EEDD; border: 1px solid var(--leaf-light); color: var(--leaf-deep); padding: 16px 20px; border-radius: var(--radius); margin-bottom: 24px; font-weight: 600; }

/* --- Packages --- */
.pkg-card { position: relative; }
.pkg-card.featured { border: 2px solid var(--gold); }
.pkg-ribbon { position: absolute; top: 14px; right: -8px; background: var(--maroon); color: var(--white); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 14px 5px 18px; border-radius: 3px 0 0 3px; }
.pkg-price { font-family: var(--font-display); font-size: 1.6rem; color: var(--maroon); margin: 6px 0 2px; }
.pkg-guests { font-size: 0.8rem; color: var(--charcoal-soft); margin-bottom: 14px; }

/* --- Footer --- */
.site-footer { background: var(--charcoal); color: #D9CFC0; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #D9CFC0; }
.site-footer a:hover { color: var(--gold-light); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: #A99C89; }

/* --- Floating WhatsApp CTA --- */
.wa-float {
    position: fixed; bottom: 22px; right: 22px; z-index: 60;
    width: 58px; height: 58px; border-radius: 50%; background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px -6px rgba(0,0,0,0.4);
}
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }

/* --- Page hero (interior pages) --- */
.page-hero {
    background: var(--leaf); color: var(--white); padding: 64px 0 40px; position: relative;
    background-size: cover; background-position: center;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(43,64,41,0.72); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.breadcrumb { font-size: 0.85rem; color: #DCE6D6; }
.breadcrumb a { text-decoration: underline; }

/* --- Utility --- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
