/*
  Prakash Wedding Invitations — Styles
  Only HTML/CSS. Responsive, elegant, and accessible.
*/

:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-ink: #1e1c19;
  --color-ink-muted: #6b6762;
  --color-accent: #1f1d1b; /* primary tone */
  --color-border: #eee9e3; /* subtle hairline */

  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 12px;

  --shadow-s: 0 1px 2px rgba(20, 16, 12, 0.05);
  --shadow-m: 0 6px 16px rgba(20, 16, 12, 0.08);

  --container: 1120px;
}

/* Global reset */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #1f1f1f;
}

p { margin: 0 0 12px; color: var(--color-ink-muted); }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.brand-mark { font-size: 18px; }
.brand-name { letter-spacing: 0.2px; font-family: "Great Vibes", "Playfair Display", Georgia, serif; font-size: 24px; font-weight: 500; }

.site-nav { display: flex; gap: 18px; }
.site-nav a {
  color: var(--color-ink);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  letter-spacing: 0.02em;
}
.site-nav a:hover { color: #1d1915; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: #ffffff; /* clean white like Shine hero */
}

.hero-inner {
  padding: 96px 0 64px;
  text-align: center;
  position: relative;
  z-index: 1; /* ensure content sits above hero overlay */
}

.hero-title {
  font-size: clamp(36px, 6vw, 54px);
  margin-bottom: 12px;
}

.hero-subtitle { font-size: clamp(16px, 2.4vw, 20px); }

.hero-title { letter-spacing: 0.4px; }
.hero-title .script { font-family: "Great Vibes", "Playfair Display", Georgia, serif; color: var(--color-accent); font-weight: 400; display: inline-block; transform: translateY(3px); }

.hero-ctas { margin-top: 22px; display: inline-flex; gap: 12px; flex-wrap: wrap; }

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(1000px 480px at 80% -20%, rgba(111, 90, 58, 0.05), rgba(255,255,255,0) 60%),
              linear-gradient(180deg, #ffffff 0%, #faf7f2 100%);
  pointer-events: none;
  z-index: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  background: var(--color-surface);
  box-shadow: var(--shadow-s);
  transition: box-shadow 140ms ease, transform 140ms ease, background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.btn:hover { box-shadow: var(--shadow-m); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}
.btn-primary:hover { background: #2a2826; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-ink);
}
.btn-ghost:hover { background: #f5f3f0; }

/* Features */
.features { padding: 48px 0 8px; background: #faf9f7; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.feature {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  text-align: left;
}
.feature h3 { margin: 8px 0 6px; font-size: 18px; letter-spacing: 0.2px; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3eee7;
  color: var(--color-accent);
  border: 1px solid var(--color-border);
  font-size: 20px;
  transition: transform 160ms ease;
}
.feature:hover .feature-icon { transform: translateY(-2px); }

/* Section headings */
.section-head { text-align: center; margin: 56px 0 24px; position: relative; }
.section-head h2 { font-size: clamp(28px, 5vw, 40px); }
.section-head p { max-width: 680px; margin: 0 auto; }

/* Decorative divider */
.section-head::after {
  content: "";
  display: block;
  width: 88px;
  height: 1px;
  margin: 12px auto 0;
  background: var(--color-border);
}

.kicker { text-transform: uppercase; letter-spacing: 0.16em; font-size: 11px; color: #7b746d; margin-bottom: 6px; }

/* Gallery */
.gallery { padding: 32px 0 32px; background: #ffffff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-s);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; transition: transform 260ms ease; }
.gallery-card:hover img { transform: scale(1.03); }
.gallery-card figcaption {
  position: absolute;
  top: 12px; left: 12px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  font-size: 11px;
  line-height: 1;
  border-radius: 999px;
  transition: opacity 200ms ease;
}
.gallery-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.gallery-card:hover figcaption { opacity: 0.96; }

/* Location */
.location { padding: 32px 0 32px; background: #ffffff; }
.map-wrap {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-s);
}
.map-wrap iframe { width: 100%; height: 420px; display: block; border: 0; }
.map-note { margin-top: 10px; text-align: center; }

/* Contact */
.contact { padding: 40px 0 64px; background: #faf9f7; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.contact-card, .contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);
  padding: 18px;
  box-shadow: var(--shadow-s);
}
.contact-card { display: grid; gap: 12px; }
.contact .section-head { grid-column: 1 / -1; }

.divider {
  height: 1px;
  background: var(--color-border);
  border: 0;
}

.contact-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-meta h4 { margin: 0 0 6px; font-size: 14px; color: #3a3734; }
.address { margin: 0 0 6px; }
.hours-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.contact-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.contact-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.contact-list .link { font-weight: 500; }

.contact-form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 14px; color: #3a3a3a; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  color: var(--color-ink);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #9a9a9a; }
.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(111, 90, 58, 0.12);
}

.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.form-note { font-size: 13px; color: #6a6a6a; }

/* Links */
.link { color: var(--color-ink); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--color-border); background: #ffffff; }
.footer-inner { padding: 18px 0; text-align: center; }
.tiny { font-size: 13px; color: #7a7a7a; }

/* Responsive */
@media (max-width: 980px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap iframe { height: 360px; }
}

@media (max-width: 680px) {
  .site-nav { display: none; }
  .hero-inner { padding: 64px 0 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* Categories (Boutique cards) */
.categories { padding: 24px 0 8px; background: #ffffff; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.category-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
}
.category-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 240ms ease;
}
.category-card:hover img { transform: scale(1.03); }
.category-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--color-ink);
}

@media (max-width: 980px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .category-grid { grid-template-columns: 1fr; }
}

/* Consultation Callout */
.consultation { padding: 28px 0 12px; background: #faf9f7; }
.consultation-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-s);
}
.consultation-copy h3 { margin: 6px 0 8px; }
.consultation-ctas { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 680px) {
  .consultation-inner { grid-template-columns: 1fr; }
  .consultation-ctas { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
}


