/* =========================================================
   MANALI CATERERS — Stylesheet
   Design system: warm pink palette with deep wine + muted gold
   accents. Signature element: scalloped "plate-rim" dividers
   between sections, echoing the catering/thali theme.
   ========================================================= */

:root {
  /* Brand palette */
  --primary-color: #FBE1E5;      /* light baby pink — section backgrounds */
  --secondary-color: #F6C6D0;    /* light pink — cards, accents, dividers */
  --accent-color: #8B1E3F;       /* deep wine — CTAs, headings, links */
  --accent-color-dark: #6E1732;  /* pressed/hover state for accent */
  --gold-color: #C99A3E;         /* muted gold — small decorative accents */

  /* Neutrals */
  --text-dark: #2E2024;          /* warm charcoal — body text (never pure black) */
  --text-muted: #6B5A5F;         /* secondary text */
  --text-on-accent: #FFFFFF;     /* text placed on the deep wine accent */
  --bg-white: #FFFFFF;
  --bg-cream: #FFF8F5;           /* warm off-white for alternating sections */

  /* Elevation & shape (Material Design inspired) */
  --shadow-sm: 0 2px 8px rgba(139, 30, 63, 0.08);
  --shadow-md: 0 6px 24px rgba(139, 30, 63, 0.12);
  --shadow-lg: 0 12px 40px rgba(139, 30, 63, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Layout */
  --max-width: 1180px;
  --section-padding: 88px;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.4rem; }

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 14px;
}

section { padding: var(--section-padding) 0; position: relative; }

.bg-pink { background: var(--primary-color); }
.bg-cream { background: var(--bg-cream); }
.bg-white { background: var(--bg-white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-call {
  background: var(--accent-color);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-md);
}
.btn-call:hover { background: var(--accent-color-dark); }

.btn-whatsapp {
  background: #FFFFFF;
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.btn-whatsapp:hover { background: var(--accent-color); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent-color);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--accent-color);
  transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--accent-color); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.9rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 26px; height: 2.5px;
  background: var(--accent-color);
  border-radius: 2px;
  transition: 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--primary-color) 0%, var(--bg-cream) 100%);
  padding: 72px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 60px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  color: var(--accent-color);
}
.hero p.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
}
.hero-stats div strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--accent-color);
}
.hero-stats div span {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.hero-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; height: 460px; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.95);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ---------- Scalloped plate-rim divider (signature element) ---------- */
.scallop {
  height: 26px;
  width: 100%;
  background-repeat: repeat-x;
  background-size: 28px 28px;
}
.scallop-down {
  background-image: radial-gradient(circle at 14px 0, transparent 14px, var(--_c) 14.5px);
  background-position: top;
}
.scallop-up {
  background-image: radial-gradient(circle at 14px 28px, transparent 14px, var(--_c) 13.5px);
  background-position: bottom;
}
/* color hooks — set --_c to the color of the section the scallop is "biting into" */
.scallop.to-cream   { --_c: var(--bg-cream); }
.scallop.to-white    { --_c: var(--bg-white); }
.scallop.to-pink     { --_c: var(--primary-color); }
.scallop.to-secondary{ --_c: var(--secondary-color); }

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.card-img { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.card-tag {
  align-self: flex-start;
  background: var(--primary-color);
  color: var(--accent-color);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.icon-circle {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-color);
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.feature-card { text-align: center; padding: 32px 22px; }

/* ---------- Testimonials ---------- */
.t-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}
.t-quote { color: var(--gold-color); font-size: 2rem; font-family: 'Cormorant Garamond', serif; line-height: 1; margin-bottom: 10px; }
.t-text { color: var(--text-dark); font-style: italic; margin-bottom: 20px; }
.t-person { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.t-name { font-weight: 600; font-size: 0.95rem; }
.t-role { font-size: 0.8rem; color: var(--text-muted); }
.t-stars { color: var(--gold-color); font-size: 0.9rem; margin-bottom: 8px; }

/* ---------- CTA band (mandatory, above footer, no forms) ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 34px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-call { background: #fff; color: var(--accent-color); }
.cta-band .btn-call:hover { background: var(--bg-cream); }
.cta-band .btn-whatsapp { background: transparent; border-color: #fff; color: #fff; }
.cta-band .btn-whatsapp:hover { background: #fff; color: var(--accent-color); }

/* ---------- Footer ---------- */
.site-footer { background: #2E1620; color: #F4E4E9; padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-grid p, .footer-grid a { color: #D9B8C3; font-size: 0.92rem; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--gold-color); }
.footer-contact li { margin-bottom: 12px; display: flex; gap: 10px; font-size: 0.9rem; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.social-row a:hover { background: var(--accent-color); }
.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.82rem;
  color: #B892A0;
}

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--primary-color);
  padding: 150px 0 70px;
  text-align: center;
}
.page-hero h1 { margin-bottom: 10px; }
.breadcrumb { color: var(--text-muted); font-size: 0.9rem; }
.breadcrumb a { color: var(--accent-color); font-weight: 600; }

/* ---------- Utility ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { height: 460px; object-fit: cover; }
.list-check { margin-top: 22px; }
.list-check li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.98rem; }
.list-check li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--accent-color);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* =========================================================
   RESPONSIVE — no orphaned grid items at any breakpoint
   ========================================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image img { height: 360px; }
  .two-col { grid-template-columns: 1fr; }
  .about-img img { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --section-padding: 60px; }
  .nav-links, .nav-cta .btn-whatsapp { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 24px;
    box-shadow: var(--shadow-md);
    gap: 18px;
  }
  .menu-toggle { display: flex; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .page-hero { padding: 130px 0 50px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
}
