/* ==========================================================================
   Utsav Crafts — styles.css
   Hand-maintainable. No build step. Palette + type recovered from the
   original capture (warm festive: cream / deep-rose / gold, Playfair + DM Sans).
   ========================================================================== */

/* --- self-hosted fonts (latin subset, variable woff2) ----------------- */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("assets/fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* palette */
  --bg:            #faf6f0;   /* page background (warm cream) */
  --bg-alt:        #f4ebe0;   /* alternating section band */
  --surface:       #ffffff;   /* cards */
  --card:          #f6efe4;   /* soft cream panels */
  --text:          #2a1f1c;   /* body text */
  --text-soft:     #6f675c;   /* muted text */
  --primary:       #7b1c2e;   /* deep rose / maroon */
  --primary-dark:  #5e1422;
  --accent:        #c8961f;   /* gold */
  --accent-soft:   #f2d488;
  --whatsapp:      #25d366;
  --whatsapp-dark: #1da851;
  --border:        #e8ddcd;
  --footer-bg:     #6d1626;   /* maroon footer */

  /* shape + depth */
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 6px 22px rgba(123, 28, 46, .07);
  --shadow-lg: 0 20px 50px rgba(123, 28, 46, .15);

  /* layout + type */
  --container: 1180px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.18; color: var(--primary); }
p { margin: 0; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* --- helpers ----------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.center { text-align: center; margin-top: 2.5rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 .5rem;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 100;
  background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 8px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* --- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary  { background: var(--primary); color: #fff; }
.btn--primary:hover  { background: var(--primary-dark); box-shadow: var(--shadow); }
.btn--outline  { background: var(--surface); border-color: var(--primary); color: var(--primary); }
.btn--outline:hover  { background: var(--primary); color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--whatsapp-dark); box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }

/* --- header / nav ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-logo { height: 80px; width: auto; display: block; }
.site-footer .brand-logo { height: 78px; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.primary-nav ul { display: flex; gap: 1.6rem; }
.primary-nav ul a { font-weight: 500; color: var(--text); padding: .25rem 0; }
.primary-nav ul a:hover { color: var(--primary); }
.nav-cta { padding: .6rem 1.5rem; color: #fff; }

.nav-toggle { display: none; margin-left: auto; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; height: 2px; width: 24px; margin: 0 auto;
  background: var(--primary); transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span     { opacity: 0; }
.nav-toggle[aria-expanded="true"]::after  { transform: translateY(-7px) rotate(-45deg); }

/* --- hero -------------------------------------------------------------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-title { font-size: clamp(2.4rem, 5.5vw, 4.1rem); margin: .4rem 0 1.1rem; }
.hero-title .accent { color: var(--accent); }
.hero-lead { font-size: 1.18rem; color: var(--text-soft); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.9rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-tag {
  position: absolute; left: -.6rem; bottom: 1.4rem;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .7rem 1.1rem; font-size: .85rem; color: var(--text-soft);
}
.hero-tag strong { display: block; color: var(--primary); font-family: var(--font-head); font-size: 1rem; }

/* trust strip */
.trust-strip { background: var(--card); border-block: 1px solid var(--border); }
.trust-strip ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 600; color: var(--text-soft);
}
.trust-strip li { position: relative; }
.trust-strip li + li::before { content: "✦"; position: absolute; left: -1.4rem; color: var(--accent); letter-spacing: 0; }

/* --- generic section --------------------------------------------------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--about { background: var(--card); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto clamp(2rem, 4vw, 3.2rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 3px; margin: .8rem auto 0;
  background: var(--accent); border-radius: 3px;
}
.section-intro { color: var(--text-soft); margin-top: .85rem; font-size: 1.06rem; }
.section-intro a { color: var(--primary); font-weight: 600; }

/* --- collections (cards) ---------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.75rem; }
.card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 1.4rem 1.4rem; }
.card-body h3 { font-size: 1.3rem; }
.card-body p { color: var(--text-soft); }
.card-cta { margin-top: .4rem; color: var(--primary); font-weight: 600; font-size: .92rem; }
.card:hover .card-cta span { margin-left: .25rem; }

/* --- occasions (overlay tiles) ---------------------------------------- */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(123, 28, 46, .8) 0%, rgba(123, 28, 46, .22) 55%, transparent 100%);
}
.tile-label {
  position: absolute; left: 0; bottom: 0; z-index: 1; padding: 1.1rem 1.25rem;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
}

/* --- about ------------------------------------------------------------- */
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.about-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-copy h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .3rem 0 1rem; }
.about-copy p { color: var(--text-soft); font-size: 1.07rem; }
.feature-chips { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: 1.75rem; }
.feature-chips li {
  display: flex; align-items: center; gap: .65rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: .8rem 1rem; font-weight: 600; font-size: .95rem;
}
.chip-icon { font-size: 1.15rem; }

/* --- how it works (numbered) ------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; text-align: center; }
.step { display: flex; flex-direction: column; align-items: center; padding: 0 .5rem; }
.step-num {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1.1rem;
  border-radius: 50%; background: var(--primary); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(123, 28, 46, .25);
}
.step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.step p { color: var(--text-soft); max-width: 30ch; }

/* --- testimonials ------------------------------------------------------ */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.75rem; }
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.9rem; box-shadow: var(--shadow); }
.stars { color: var(--accent); letter-spacing: .12em; font-size: 1rem; }
.testimonial blockquote { margin: .85rem 0 1.5rem; font-size: 1.05rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.testimonial-author strong { display: block; color: var(--primary); }
.testimonial-city { color: var(--text-soft); font-size: .9rem; }

/* --- instagram --------------------------------------------------------- */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.insta-grid a { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.insta-grid a:hover img { transform: scale(1.08); }

/* --- contact ----------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.enquiry { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.enquiry h3 { font-size: 1.5rem; margin-bottom: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.enquiry label { display: block; margin-bottom: 1rem; font-weight: 600; font-size: .92rem; }
.req { color: var(--primary); }
.enquiry input, .enquiry textarea {
  display: block; width: 100%; margin-top: .4rem; padding: .75rem .9rem;
  font: inherit; font-weight: 400; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
}
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200, 150, 31, .18); }
.enquiry textarea { resize: vertical; }
.enquiry .btn { width: 100%; margin-top: .4rem; }

.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); transition: transform .15s; }
.contact-card:hover { transform: translateY(-2px); }
.contact-card-icon { font-size: 1.6rem; line-height: 1; }
.contact-card strong { display: block; }
.contact-card > span > span { color: var(--text-soft); font-size: .92rem; }
.contact-card--whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.contact-card--whatsapp strong, .contact-card--whatsapp > span > span { color: #fff; }
.contact-note { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; }
.contact-note h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.contact-note p { color: var(--text-soft); font-size: .95rem; }
.form-note { padding: .8rem 1rem; border-radius: var(--radius); margin-bottom: 1.1rem; font-size: .95rem; }
.form-note--ok { background: #e8f6ec; color: #1c7d3f; border: 1px solid #bfe6cb; }
.form-note--err { background: #fcebec; color: #b3261e; border: 1px solid #f3c5c8; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-hint { margin-top: .65rem; font-size: .82rem; color: var(--text-soft); text-align: center; }

/* --- brand statement band --- */
.statement { background: var(--primary); text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.statement p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.3; color: #faf6f0; }
.statement p span { color: var(--accent-soft); }
.statement-flourish { display: block; margin: 1rem auto 0; color: var(--accent-soft); }

/* --- footer ------------------------------------------------------------ */
.site-footer { background: var(--footer-bg); color: #ecd9c9; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 2.5rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: #d8c2b1; max-width: 36ch; margin-bottom: 1.25rem; font-size: .95rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #ecd9c9; font-size: .78rem; font-weight: 700; transition: background .15s, color .15s; }
.footer-social a:hover { background: var(--accent); color: var(--footer-bg); }
.footer-heading { font-size: 1rem; color: var(--accent-soft); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-body); font-weight: 700; }
.footer-col li { margin-bottom: .6rem; color: #d8c2b1; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col .btn { margin-top: .6rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.4rem; padding-bottom: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; color: #c9ad9c; }
.footer-bottom p { margin: 0; }

/* --- responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .hero-media, .about-media { order: -1; max-width: 460px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { gap: 2rem; }
}
@media (max-width: 760px) {
  /* center the logo on mobile; float the hamburger to the right edge */
  .header-inner { position: relative; justify-content: center; }
  .nav-toggle { display: flex; position: absolute; right: clamp(1rem, 4vw, 2rem); top: 50%; transform: translateY(-50%); }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 1rem clamp(1rem, 4vw, 2rem) 1.5rem; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .25s ease; pointer-events: none;
  }
  .primary-nav.is-open { transform: translateY(0); pointer-events: auto; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav li { border-bottom: 1px solid var(--border); }
  .primary-nav ul a { display: block; padding: .9rem 0; }
  .nav-cta { margin-top: 1rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-chips { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* --- error page (404.html) -------------------------------------------- */
.error-page { padding: clamp(4rem, 12vw, 8rem) 0; text-align: center; }
.error-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: .4rem 0 1rem; }
.error-page .hero-lead { margin-inline: auto; }
.error-page .center { margin-top: 1.75rem; }
