/* ===========================================================================
   Milan's Sweet Addictions — shared stylesheet
   Palette: blush pink + raspberry + gold (lines) + a hint of turquoise
   =========================================================================== */

:root {
  --pink:        #F4A9C0;  /* brand pink (primary)        */
  --pink-soft:   #FBDCE6;  /* light pink for fills        */
  --raspberry:   #D6457E;  /* deep pink — CTAs, accents   */
  --gold:        #C9A24B;  /* gold lines & accents        */
  --gold-soft:   #E7D3A1;  /* light gold border           */
  --turquoise:   #3FC3C0;  /* hint / pop only             */
  --cream:       #FFF8F3;  /* page background             */
  --cocoa:       #3A2C2A;  /* body text                   */
  --cocoa-soft:  #6E5C58;  /* muted text                  */
  --white:       #FFFFFF;

  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(58, 44, 42, 0.10);
  --shadow-sm: 0 4px 14px rgba(58, 44, 42, 0.08);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Great Vibes", "Playfair Display", cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 111%; } /* scales all rem text ~11% */

body {
  margin: 0;
  font-family: var(--font-script);
  font-size: 1.25rem;      /* script runs small — bump for readability */
  color: var(--cocoa);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cocoa);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

a { color: var(--raspberry); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.text-center { text-align: center; }

/* ---- Gold "line" accent under section headings ------------------------- */
.section-title {
  text-align: center;
  margin-bottom: 8px;
}
.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 3px;
}
.section-subtitle {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--cocoa-soft);
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-script);
  font-size: 1.25rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary {
  background: var(--raspberry);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(214, 69, 126, 0.35);
}
.btn--primary:hover { background: #c23a6f; }
.btn--ghost {
  background: transparent;
  color: var(--raspberry);
  border-color: var(--gold);
}
.btn--ghost:hover { background: var(--pink-soft); }

/* ---- Header / nav ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  color: var(--cocoa);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-script);
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 400;
}
.brand .brand-accent { color: var(--raspberry); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--cocoa);
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--raspberry); text-decoration: none; border-bottom-color: var(--gold); }
.nav-links a.active { color: var(--raspberry); border-bottom-color: var(--raspberry); }
.nav-links .btn { color: var(--white); }
.nav-links .btn:hover { color: var(--white); border-bottom-color: transparent; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cocoa);
  margin: 5px 0;
  transition: .25s;
}

/* ---- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 80px 20px;
  background: var(--cocoa);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(58, 44, 42, 0.45), rgba(214, 69, 126, 0.35));
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero h1 {
  color: var(--white);
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero p {
  font-size: 1.2rem;
  margin: 0 auto 28px;
  max-width: 560px;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.hero .btn + .btn { margin-left: 12px; }
.eyebrow {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold-soft);
  margin-bottom: 10px;
}

/* ---- Card grid --------------------------------------------------------- */
.grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  background: var(--pink-soft);
}
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 6px; }
.card-desc { color: var(--cocoa-soft); font-size: .95rem; margin: 0 0 16px; flex: 1; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gold-soft);
  padding-top: 14px;
}
.price-tag {
  font-weight: 600;
  color: var(--turquoise);
  font-size: .95rem;
}
.card-foot a { font-weight: 600; font-size: .9rem; }

/* ---- Menu category section -------------------------------------------- */
.menu-category { margin-bottom: 56px; }
.menu-category-head { margin-bottom: 22px; }
.menu-category-head h2 {
  display: inline-block;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 6px;
}
.menu-category-head p { color: var(--cocoa-soft); margin: 8px 0 0; }

/* ---- Featured / intro split ------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---- Forms ------------------------------------------------------------- */
.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
label .req { color: var(--raspberry); }
input, select, textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
  font-family: var(--font-script);
  font-size: 1.15rem;
  color: var(--cocoa);
  background: var(--cream);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(63, 195, 192, 0.18);
}
textarea { resize: vertical; min-height: 110px; }
/* Date field: WebKit renders it narrower than text inputs — normalize so it fills
   its column and lines up with the other fields. */
input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
}
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; }
.field-error { color: var(--raspberry); font-size: .85rem; margin-top: 5px; display: none; }
.form-row.invalid .field-error { display: block; }
.form-row.invalid input,
.form-row.invalid select,
.form-row.invalid textarea { border-color: var(--raspberry); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .9rem; color: var(--cocoa-soft); }

/* ---- Policy page ------------------------------------------------------- */
.policy-head { text-align: center; }
.policy-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 18px;
}
.policy-list { max-width: 760px; margin: 0 auto; }
.policy-list li { margin-bottom: 14px; }
.policy-list li::marker { color: var(--gold); }
.policy-list strong { color: var(--raspberry); }
.policy-thanks {
  text-align: center;
  margin-top: 30px;
  font-size: 1.5rem;
  color: var(--raspberry);
}

/* ---- Agreement checkbox row ------------------------------------------- */
.form-check { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.form-check input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
  flex: none;
}
.form-check label { font-weight: 500; margin: 0; }
.form-check .field-error { flex-basis: 100%; }

/* ---- Contact / about list --------------------------------------------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { margin-bottom: 12px; }
.info-list strong { color: var(--raspberry); }

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  background: var(--cocoa);
  color: #f3e8e4;
  padding: 44px 0 28px;
  margin-top: 40px;
}
.site-footer a { color: var(--pink); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}
.footer-logo {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  display: block;
  margin-bottom: 14px;
}
.site-footer h4 { font-family: var(--font-head); margin: 0 0 12px; color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 30px;
  padding-top: 18px;
  text-align: center;
  font-size: .85rem;
  color: #c9b8b3;
}

/* ---- Utility ----------------------------------------------------------- */
.lead { font-size: 1.1rem; color: var(--cocoa-soft); }
.banner {
  background: var(--pink-soft);
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
  text-align: center;
  padding: 14px;
  font-weight: 500;
}

/* ---- Thanks page ------------------------------------------------------- */
.thanks {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.thanks .emoji { font-size: 3rem; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .brand-logo { height: 38px; width: 38px; }
  .brand-name { font-size: 1.6rem; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--gold-soft);
    padding: 8px 20px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 6px 0; }
  .nav-links .btn { text-align: center; margin-top: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .btn + .btn { margin-left: 0; margin-top: 12px; }
}
