/* =========================================================
   HAVE A DONUT DAY — Stylesheet
   Mobile-first. Breakpoints: 640px | 900px | 1200px
   ========================================================= */

/* ----- CSS Custom Properties ----- */
:root {
  --pink:       #D4608A;
  --pink-dark:  #BA4F77;
  --honey:      #E09218;
  --cream:      #FFF8F2;
  --cream-alt:  #FFF0E8;
  --dark:       #2D1B0E;
  --mid:        #7A5C4A;
  --white:      #FFFFFF;
  --shadow:     0 4px 20px rgba(45, 27, 14, 0.10);
  --shadow-lg:  0 8px 40px rgba(45, 27, 14, 0.15);
  --radius:     16px;
  --radius-sm:  10px;
  --transition: 0.25s ease;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', sans-serif;
  --max-width:  1180px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }
blockquote { margin: 0; }

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

.section { padding: 64px 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title--center { text-align: center; }

.section-sub {
  font-size: 1.05rem;
  color: var(--mid);
  text-align: center;
  max-width: 580px;
  margin: 0 auto 40px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232, 25, 138, 0.3); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}
.btn--primary:hover { background: var(--pink-dark); border-color: var(--pink-dark); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.15); }

.btn--white {
  background: var(--white);
  color: var(--pink);
  border-color: var(--white);
}
.btn--white:hover { background: var(--cream); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(45, 27, 14, 0.10);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.navbar__logo { display: flex; align-items: center; }
.logo-svg--small { height: 36px; width: auto; }

.navbar__nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.navbar__link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  transition: color var(--transition);
  position: relative;
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width var(--transition);
}
.navbar__link:hover { color: var(--pink); }
.navbar__link:hover::after { width: 100%; }

/* When nav is transparent (over hero), links are white */
.navbar:not(.scrolled) .navbar__link { color: var(--white); }
.navbar:not(.scrolled) .navbar__link:hover { color: var(--honey); }

.navbar__cta {
  font-weight: 800;
  font-size: 0.9rem;
  padding: 9px 22px;
  background: var(--pink);
  color: var(--white);
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}
.navbar__cta:hover { background: var(--pink-dark); transform: translateY(-1px); }

/* Hamburger */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.navbar:not(.scrolled) .navbar__hamburger span { background: var(--white); }

/* Hamburger open state */
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav open */
.navbar__nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px 24px 28px;
  gap: 20px;
  box-shadow: 0 8px 24px rgba(45,27,14,0.12);
  align-items: flex-start;
}
.navbar__nav.open .navbar__link { color: var(--dark); font-size: 1.05rem; }
.navbar__nav.open .navbar__cta { align-self: flex-start; }

/* Desktop nav */
@media (min-width: 900px) {
  .navbar__nav { display: flex; }
  .navbar__hamburger { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  background-image: url('../images/photos/Display Case.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 700px;
}

.hero__icon svg {
  width: 110px;
  height: 110px;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.35));
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.5rem);
  color: var(--white);
  text-shadow: 0 3px 18px rgba(0,0,0,0.55);
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.01em;
}

.hero__slogan {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.93);
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
}

/* Scroll chevron */
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.7);
  animation: bounce 2s ease-in-out infinite;
}
.hero__scroll svg { width: 32px; height: 32px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--cream); }

.about__grid {
  display: grid;
  gap: 40px;
}

.about__text h2 { margin-bottom: 20px; }

.about__text p {
  font-size: 1.05rem;
  color: var(--mid);
  margin-bottom: 16px;
}
.about__text p:last-child { margin-bottom: 0; }
.about__text strong { color: var(--dark); }

.about__photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__photo {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  border: 4px solid var(--pink);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: center bottom;
  aspect-ratio: 4/3;
}

/* Highlights strip */
.highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--honey);
  transition: transform var(--transition), box-shadow var(--transition);
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.highlight-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.highlight-card__icon svg {
  width: 44px;
  height: 44px;
}

.highlight-card__label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  line-height: 1.3;
}

@media (min-width: 640px) {
  .highlights { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* =========================================================
   OFFICE CTA BANNER
   ========================================================= */
.office-cta {
  background: var(--pink);
  padding: 56px 20px;
}

.office-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.office-cta__heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}

.office-cta__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .office-cta__inner {
    flex-direction: row;
    text-align: left;
    gap: 48px;
    justify-content: space-between;
  }
  .office-cta__text { flex: 1; }
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { background: var(--cream-alt); }

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery__item:hover {
  box-shadow: 0 0 0 3px var(--pink), var(--shadow-lg);
  transform: scale(1.02);
}
.gallery__item:hover img { transform: scale(1.06); }

@media (min-width: 640px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  /* Make first item span 2 cols for visual interest */
  .gallery__item:first-child { grid-column: span 2; aspect-ratio: 2/1; }
}

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews { background: var(--cream); }

.reviews__header { text-align: center; margin-bottom: 40px; }

.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 2px solid var(--honey);
  border-radius: 50px;
  padding: 6px 18px;
  margin-top: 12px;
}
.reviews__stars { color: var(--honey); font-size: 1rem; letter-spacing: 1px; }
.reviews__rating { font-weight: 800; font-size: 1rem; color: var(--dark); }
.reviews__count { font-size: 0.88rem; color: var(--mid); }

/* Carousel */
.carousel {
  position: relative;
  padding: 0 52px;
}

.carousel__track-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Review Card */
.review-card {
  position: relative;
  min-width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 5px solid var(--honey);
}

.review-card__quote {
  position: absolute;
  top: 16px;
  left: 28px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--pink);
  opacity: 0.25;
  pointer-events: none;
  user-select: none;
}

.review-card__stars {
  color: var(--honey);
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-top: 16px;
}

.review-card__text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.75;
  font-style: italic;
  font-weight: 400;
}

.review-card__name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark);
  margin-top: 4px;
}

/* Carousel controls */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 2px solid var(--pink);
  color: var(--pink);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  z-index: 2;
}
.carousel__btn:hover { background: var(--pink); color: var(--white); }
.carousel__btn--prev { left: 4px; }
.carousel__btn--next { right: 4px; }

/* Carousel dots */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cream-alt);
  border: 2px solid var(--pink);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.carousel__dot.active {
  background: var(--pink);
  transform: scale(1.25);
}

/* =========================================================
   FIND US
   ========================================================= */
.find-us { background: var(--cream-alt); }

.find-us__grid {
  display: grid;
  gap: 40px;
}

/* Info blocks */
.find-us__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-block__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--honey);
}
.info-block__icon svg { width: 20px; height: 20px; stroke: var(--pink); }

.info-block__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid);
  margin-bottom: 4px;
}

.info-block__value {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.6;
}
.info-block__note { font-size: 0.88rem; color: var(--mid); }

.info-block__phone {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pink);
  transition: color var(--transition);
}
.info-block__phone:hover { color: var(--pink-dark); }

/* Hours */
.hours-table { margin: 4px 0 10px; }
.hours-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hours-day { font-weight: 700; color: var(--dark); }
.hours-time { font-weight: 700; color: var(--mid); }

.open-badge {
  display: inline-block;
  background: #22c55e;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 50px;
}

.find-us__directions { align-self: flex-start; margin-top: 8px; }

/* Map */
.find-us__map {
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
}
.find-us__map iframe { width: 100%; height: 100%; display: block; }

@media (min-width: 900px) {
  .find-us__grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .find-us__map { height: 420px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--dark);
  padding: 48px 0 32px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.logo-svg--footer { height: 38px; width: auto; }

.footer__details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__details p {
  font-size: 0.9rem;
  color: rgba(255,248,242,0.75);
}

.footer__link {
  color: var(--honey);
  font-weight: 700;
  transition: color var(--transition);
}
.footer__link:hover { color: var(--pink); }

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,248,242,0.4);
  margin-top: 8px;
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 1;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox__close:hover { background: rgba(255,255,255,0.3); }

.lightbox__img {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 60px rgba(0,0,0,0.6);
}

.lightbox__caption {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-top: 14px;
  font-weight: 700;
}

/* =========================================================
   FOCUS / ACCESSIBILITY
   ========================================================= */
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
