/* ============================================================
   Henna By Maryam — site styles
   Brand colors pulled from the waiver app:
   maroon #6b2737 · gold #b07d2b · light gold #e7c79b
   cream #f4efe9 · panel #faf6f0 · ink #3a2a2e
   ============================================================ */

:root {
  --maroon: #6b2737;
  --maroon-dark: #561e2c;
  --gold: #b07d2b;
  --gold-light: #e7c79b;
  --cream: #f4efe9;
  --panel: #faf6f0;
  --white: #ffffff;
  --ink: #3a2a2e;
  --muted: #6f5f5f;
  --label: #9a7b55;
  --border: #ece3d8;
  --maxw: 1080px;
  --shadow: 0 6px 24px rgba(107, 39, 55, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.4em;
}

a { color: var(--maroon); }

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

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

.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 233, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  color: var(--maroon);
  text-decoration: none;
  font-weight: 600;
}
.nav-brand img { width: 38px; height: 38px; border-radius: 9px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--ink);
}
.nav-links a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--maroon); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.6px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(176,125,43,0.18), transparent 60%),
    linear-gradient(160deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 88px 24px 96px;
}
.hero img.hero-logo {
  width: 130px; height: 130px;
  margin: 0 auto 22px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.hero h1 {
  font-size: clamp(40px, 7vw, 68px);
  color: #fff;
  margin-bottom: 10px;
}
.hero .eyebrow { color: var(--gold-light); }
.hero p.tagline {
  max-width: 580px;
  margin: 0 auto 30px;
  font-size: 18px;
  color: rgba(255,255,255,0.9);
}
.hero .hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.hero .btn-outline:hover { background: #fff; color: var(--maroon); border-color: #fff; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 44px); color: var(--maroon); }
.section-head p { color: var(--muted); font-size: 17px; }
.alt { background: var(--panel); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.about-card .crescent {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(160deg, var(--maroon), var(--maroon-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 30px; margin-bottom: 14px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service .ico { font-size: 30px; }
.service h3 { color: var(--maroon); font-size: 24px; margin-top: 10px; }
.service p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(176,125,43,0.10) 0 12px, rgba(176,125,43,0.04) 12px 24px),
    linear-gradient(160deg, #efe4d6, #e7d6c2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--label);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .ph {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  padding: 0 14px;
  letter-spacing: 1px;
}
.gallery-item .ph span { display: block; font-size: 30px; margin-bottom: 6px; }
.gallery-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 22px;
  font-style: italic;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .ico { font-size: 30px; }
.contact-card .label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--label); margin: 12px 0 4px;
}
.contact-card .value { font-size: 17px; color: var(--maroon); font-weight: 600; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--maroon-dark);
  color: rgba(255,255,255,0.82);
  padding: 48px 24px 36px;
  text-align: center;
}
.site-footer img { width: 54px; height: 54px; border-radius: 12px; margin: 0 auto 14px; }
.site-footer .footer-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px; color: #fff; margin-bottom: 8px;
}
.footer-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 18px 0; }
.footer-links a { color: var(--gold-light); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.site-footer .fine { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; }
.gold-bar { height: 4px; background: var(--gold); }

/* ---------- Legal pages ---------- */
.legal {
  background: #fff;
  max-width: 820px;
  margin: 48px auto;
  padding: 48px 56px;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.legal h1 { color: var(--maroon); font-size: clamp(32px, 5vw, 46px); }
.legal h2 { color: var(--maroon); font-size: 26px; margin-top: 34px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.legal p, .legal li { color: var(--ink); font-size: 16px; }
.legal a { color: var(--gold); }
.legal .back { display: inline-block; margin-top: 36px; font-size: 14px; }
.callout {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .services-grid, .gallery-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; width: 100%; }
  .nav-toggle { display: block; }
  .legal { padding: 32px 22px; margin: 24px 16px; }
}
@media (max-width: 540px) {
  .services-grid, .gallery-grid, .contact-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
