/* ========================================
   HONEYDUKE CONFECTIONS — Elmira, NY
   Warm bakery theme: chocolate base, cream, gold
   Playfair Display + DM Sans
   ======================================== */

*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #1a150f;
  --bg-alt:    #231c14;
  --bg-warm:   #2a2117;
  --cream:     #FDF6EC;
  --cream-dim: #c9b99a;
  --gold:      #C9A34D;
  --gold-dark: #a07e2e;
  --text:      #FDF6EC;
  --text-dim:  #b8a98f;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--cream);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cream); }

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(26, 21, 15, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}

.nav--scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -.01em;
}
.nav__brand:hover { color: var(--gold); }

.nav__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: .95rem;
}
.nav__phone svg { flex-shrink: 0; }
.nav__phone:hover { color: var(--cream); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(7rem, 14vh, 10rem) 24px clamp(5rem, 10vh, 8rem);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 163, 77, .12) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(160, 126, 46, .08) 0%, transparent 50%),
    linear-gradient(175deg, #2a2117 0%, #1a150f 40%, #0f0c08 100%);
  overflow: hidden;
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: .035;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 700px;
}

.hero__tag {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, #e6c86e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--cream-dim);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: all .25s;
  cursor: pointer;
  border: none;
  min-height: 48px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(201, 163, 77, .25);
}
.btn--primary:hover {
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201, 163, 77, .35);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(253, 246, 236, .25);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 44px;
  font-size: 1.15rem;
}

/* ---- SECTIONS ---- */
.section {
  padding: clamp(4.5rem, 8vh, 7rem) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: .75rem;
  font-weight: 600;
}

.section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--cream);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.section__title em {
  font-style: italic;
  color: var(--gold);
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: rgba(253, 246, 236, .04);
  border: 1px solid rgba(253, 246, 236, .08);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all .3s;
  opacity: 0;
  transform: translateY(24px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease;
}

.service-card:hover {
  border-color: rgba(201, 163, 77, .3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  background: rgba(253, 246, 236, .06);
}

.service-card__icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--cream);
}

.service-card p {
  font-size: .95rem;
  color: var(--cream-dim);
  line-height: 1.65;
}

/* ---- PROOF STRIP ---- */
.proof-strip {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201, 163, 77, .06) 0%, transparent 50%),
    var(--bg-warm);
}

.proof-strip__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  opacity: 0;
  transform: translateY(20px);
}

.proof-strip__inner.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease;
}

.proof-strip__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.proof-strip__number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #e6c86e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proof-strip__label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--cream-dim);
  margin-top: 4px;
}

.proof-strip__divider {
  width: 1px;
  height: 60px;
  background: rgba(253, 246, 236, .12);
  flex-shrink: 0;
}

.proof-strip__quote {
  flex: 1;
}

.proof-strip__quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--cream-dim);
  line-height: 1.7;
}

/* ---- REVIEWS ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: rgba(253, 246, 236, .04);
  border: 1px solid rgba(253, 246, 236, .08);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  opacity: 0;
  transform: translateY(24px);
  transition: all .3s;
}

.review-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease;
}

.review-card:nth-child(2).visible { transition-delay: .1s; }
.review-card:nth-child(3).visible { transition-delay: .2s; }

.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--gold);
}

.review-card__stars svg {
  width: 16px;
  height: 16px;
}

.review-card__text {
  font-size: .95rem;
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.review-card__author {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  font-weight: 600;
}

/* ---- ABOUT ---- */
.about {
  background:
    radial-gradient(ellipse at 20% 60%, rgba(201, 163, 77, .05) 0%, transparent 45%),
    var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__text {
  opacity: 0;
  transform: translateX(-24px);
}
.about__text.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity .6s ease, transform .6s ease;
}

.about__text p {
  color: var(--cream-dim);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
}

.about__text .section__title {
  max-width: 480px;
}

.about__accent {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(24px);
}
.about__accent.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity .6s ease .15s, transform .6s ease .15s;
}

.about__badge {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(201, 163, 77, .3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(201, 163, 77, .06);
}

.about__badge-big {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #e6c86e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.about__badge-small {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--cream-dim);
  margin-top: 6px;
}

/* ---- LOCATION ---- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.location__info {
  opacity: 0;
  transform: translateY(24px);
}
.location__info.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease;
}

.location__block {
  margin-bottom: 2rem;
}

.location__block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: .75rem;
}

.location__block p {
  color: var(--cream-dim);
  line-height: 1.7;
}

.location__block p a {
  color: var(--gold);
  font-weight: 600;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid rgba(253, 246, 236, .06);
}

.hours-table td {
  padding: 10px 0;
  color: var(--cream-dim);
  font-size: .95rem;
}

.hours-table td:first-child {
  color: var(--cream);
  font-weight: 500;
  width: 45%;
}

.location__map {
  opacity: 0;
  transform: translateY(24px);
}
.location__map.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease .1s, transform .5s ease .1s;
}

.location__map iframe {
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

/* ---- CTA ---- */
.cta {
  text-align: center;
  padding: clamp(5rem, 10vh, 8rem) 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(201, 163, 77, .1) 0%, transparent 55%),
    var(--bg);
}

.cta__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--cream);
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta__title em {
  font-style: italic;
  color: var(--gold);
}

.cta__sub {
  color: var(--cream-dim);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.cta__address {
  margin-top: 1.5rem;
  font-size: .9rem;
  color: var(--text-dim);
}

/* ---- FOOTER ---- */
.footer {
  background: #0f0c08;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(253, 246, 236, .06);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.footer__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}

.footer__addr,
.footer__phone {
  font-size: .9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer__phone a { color: var(--gold); }

.footer__right {
  display: flex;
  gap: 24px;
}

.footer__right a {
  font-size: .9rem;
  color: var(--cream-dim);
  font-weight: 500;
}
.footer__right a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(253, 246, 236, .06);
  padding-top: 1.5rem;
  text-align: center;
}

.footer__bottom p {
  font-size: .8rem;
  color: var(--text-dim);
}

.footer__bottom a {
  color: var(--gold);
  font-weight: 500;
}

/* ===============================
   RESPONSIVE — MOBILE
   =============================== */

@media (max-width: 767px) {
  body { font-size: 16px; }

  .nav__inner { height: 56px; padding: 0 16px; }
  .nav__brand { font-size: 1.1rem; }
  .nav__phone { font-size: .85rem; }

  .hero {
    min-height: 90vh;
    padding: 6rem 20px 4rem;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn { width: 100%; max-width: 280px; }

  .section { padding: clamp(3rem, 6vh, 4.5rem) 0; }
  .container { padding: 0 20px; }

  .section__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card { padding: 24px 20px; }

  /* Proof strip stacks vertically */
  .proof-strip__inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .proof-strip__divider {
    width: 60px;
    height: 1px;
  }

  /* Reviews single column */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review-card { padding: 24px 20px; }

  /* About stacks */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__accent { order: -1; }

  .about__badge {
    width: 140px;
    height: 140px;
  }

  .about__badge-big { font-size: 2.8rem; }

  /* Location stacks */
  .location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .location__map iframe {
    height: 280px;
  }

  /* CTA */
  .cta { padding: clamp(3.5rem, 8vh, 5rem) 0; }

  .cta__title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem;
  }

  /* Footer stacks */
  .footer__inner {
    flex-direction: column;
    gap: 24px;
  }
}

/* Tablet tweaks */
@media (min-width: 768px) and (max-width: 1023px) {
  .about__grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }

  .location-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}
