/* ====================================================
   Heavenly Donuts – Pikeville, KY  |  Flat HTML Site
   Brand Colors:
     Purple:  #7a288c
     Gold:    #fdd35a
     Dark:    #333333
     White:   #ffffff
   Fonts: Poppins (headings), Muli (body)
   ==================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Muli', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

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

a { color: #7a288c; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #fdd35a; }

address { font-style: normal; }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #333;
}

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

.section { padding: 80px 0; }
.section-alt { background: #f9f4ff; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: #7a288c;
  color: #fff;
  border-color: #7a288c;
}
.btn-primary:hover { background: #5e1f6e; border-color: #5e1f6e; color: #fff; }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover { background: #fff; color: #7a288c; }

.btn-gold {
  background: #fdd35a;
  color: #333;
  border-color: #fdd35a;
}
.btn-gold:hover { background: #f7c320; border-color: #f7c320; color: #333; }

.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.center-btn { text-align: center; margin-top: 40px; }

/* ── Header ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e8e0f0;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

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

.logo-link { flex-shrink: 0; }
.logo { height: 55px; width: auto; }

/* Nav */
.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  border-radius: 4px;
  transition: color .2s, background .2s;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
  color: #7a288c;
  background: #f9f4ff;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 40px;
  height: 40px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 30, 0.72);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 700px;
  padding: 80px 24px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-content .accent { color: #fdd35a; }

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}

.hero-content .cta-buttons,
.hero-content > a {
  margin-right: 12px;
}

.hero .btn + .btn { margin-left: 12px; }

/* ── Hours Banner ─────────────────────────────────── */
.hours-banner {
  background: #7a288c;
  color: #fff;
  padding: 14px 0;
  font-size: 0.95rem;
}
.hours-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.hours-icon { font-size: 1.2rem; margin-right: 6px; }
.hours-banner a { color: #fdd35a; font-weight: 600; }
.hours-banner a:hover { color: #fff; }

/* ── Features ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}

.feature-card {
  background: #fff;
  border: 1px solid #e8e0f0;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(122,40,140,0.12);
  transform: translateY(-4px);
}

.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }

.feature-card h3 {
  font-size: 1.1rem;
  color: #7a288c;
  margin-bottom: 10px;
}

/* ── Gallery Teaser ───────────────────────────────── */
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-align: center;
  color: #7a288c;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  transition: transform .25s, box-shadow .25s;
}
.gallery-grid img:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
}

/* ── Review ───────────────────────────────────────── */
.review-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(122,40,140,0.1);
  border-top: 5px solid #fdd35a;
}

.stars { color: #fdd35a; font-size: 1.8rem; margin-bottom: 16px; }

blockquote {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 16px;
}

cite { color: #7a288c; font-weight: 600; font-style: normal; }

/* ── Fundraising CTA ──────────────────────────────── */
.section-purple { background: #7a288c; }

.fundraising-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.fundraising-text { color: #fff; }
.fundraising-text h2 { color: #fdd35a; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.fundraising-text p { color: rgba(255,255,255,0.9); margin-bottom: 20px; font-size: 1.05rem; }

.fundraising-img img {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  background: #1e1227;
  color: rgba(255,255,255,0.7);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fdd35a;
  margin-bottom: 16px;
}

.footer-col p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 8px; }

.footer-col ul li + li { margin-top: 6px; }
.footer-col ul a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color .2s;
}
.footer-col ul a:hover { color: #fdd35a; }

.footer-logo { height: 50px; width: auto; margin-bottom: 16px; }

.hours-table { font-size: 0.88rem; border-collapse: collapse; width: 100%; }
.hours-table td { padding: 3px 8px 3px 0; color: rgba(255,255,255,0.7); }
.hours-table td:last-child { text-align: right; padding-right: 0; }

.hours-table-light td { color: #333; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.social-link.facebook {
  background: #1877f2;
  color: #fff;
}
.social-link.facebook:hover { background: #0e5fd4; color: #fff; }

.footer-bottom {
  background: #333;
  padding: 16px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ── Page Hero (inner pages) ──────────────────────── */
.page-hero {
  background: #7a288c;
  padding: 60px 0 50px;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }

.page-hero-purple { background: #5e1f6e; }

/* ── Menu Page ────────────────────────────────────── */
.menu-section {
  border-bottom: 1px solid #e8e0f0;
  padding: 40px 0;
}
.menu-section:last-child { border-bottom: none; }

.menu-section-title {
  font-size: 1.6rem;
  color: #7a288c;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.price-tag {
  display: inline-block;
  background: #fdd35a;
  color: #333;
  font-size: 1rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}

.menu-section-note {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-style: italic;
}

/* Daily cake donut grid */
.menu-daily-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.day-card {
  background: #f9f4ff;
  border: 2px solid #e0cfe8;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.day-card:hover { border-color: #7a288c; transform: translateY(-2px); }

.day-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.85rem; color: #7a288c; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.day-flavor { font-size: 1rem; font-weight: 600; color: #333; }

/* Menu items list */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #f9f4ff;
  border-radius: 8px;
  border-left: 4px solid #e0cfe8;
  transition: border-color .2s;
}
.menu-item:hover { border-left-color: #7a288c; }
.menu-item.highlight { border-left-color: #fdd35a; background: #fffbee; }

.item-name { font-weight: 600; font-size: 0.95rem; color: #333; }
.item-name em { font-weight: 400; font-size: 0.85rem; color: #666; }
.item-price { font-family: 'Poppins', sans-serif; font-weight: 700; color: #7a288c; font-size: 1rem; white-space: nowrap; margin-left: 12px; }

/* Flavor tags */
.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.flavor-tags span {
  background: #f9f4ff;
  border: 1px solid #d4b8e0;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.88rem;
  color: #555;
  transition: background .2s, color .2s;
}
.flavor-tags span:hover { background: #7a288c; color: #fff; border-color: #7a288c; }

/* Box pricing */
.box-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.box-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: 12px;
  background: #f9f4ff;
  border: 2px solid #e0cfe8;
  transition: transform .2s, border-color .2s;
}
.box-card:hover { transform: translateY(-3px); border-color: #7a288c; }
.box-card.featured-box { background: #f0e5ff; border-color: #7a288c; }
.box-card.special-box { background: #7a288c; border-color: #7a288c; }
.box-card.special-box .box-name { color: rgba(255,255,255,0.85); }
.box-card.special-box .box-price { color: #fdd35a; }

.box-name { font-weight: 600; font-size: 0.95rem; color: #555; line-height: 1.4; margin-bottom: 10px; }
.box-price { font-family: 'Poppins', sans-serif; font-size: 1.7rem; font-weight: 800; color: #7a288c; }

/* Menu CTA note */
.menu-cta-note {
  text-align: center;
  background: #f9f4ff;
  border-radius: 12px;
  padding: 32px;
  margin-top: 40px;
}
.menu-cta-note p { font-size: 1.05rem; margin-bottom: 20px; }

/* ── Donuts Page ──────────────────────────────────── */
.intro-text {
  font-size: 1.05rem;
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
  color: #444;
}

.donut-category { margin-bottom: 60px; }
.donut-category > p { margin-top: 20px; color: #555; font-size: 0.97rem; max-width: 800px; }

.category-title {
  font-size: 1.7rem;
  color: #7a288c;
  margin-bottom: 20px;
}

.donut-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.donut-fig { margin: 0; }

.donut-fig img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .25s, box-shadow .25s;
}
.donut-fig:hover img {
  transform: scale(1.04);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.donut-fig figcaption {
  text-align: center;
  font-size: 0.88rem;
  color: #666;
  margin-top: 8px;
  font-weight: 600;
}

.donut-custom-cta {
  background: #7a288c;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  margin-top: 60px;
}
.custom-cta-inner h2 { color: #fdd35a; margin-bottom: 12px; font-size: 2rem; }
.custom-cta-inner p { color: rgba(255,255,255,0.9); margin-bottom: 10px; font-size: 1.05rem; }
.donut-custom-cta .cta-buttons { justify-content: center; }

/* ── Fundraising Page ─────────────────────────────── */
.fundraising-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.fundraising-main-text h2 {
  color: #7a288c;
  font-size: 2rem;
  margin-bottom: 16px;
}
.fundraising-main-text h3 {
  color: #7a288c;
  font-size: 1.3rem;
  margin: 28px 0 16px;
}
.fundraising-main-text .lead {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 16px;
}

.how-it-works {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.how-it-works li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f9f4ff;
  border-radius: 10px;
  padding: 16px 20px;
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #7a288c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.fundraising-side-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.org-card {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 12px;
  border: 2px solid #e8e0f0;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.org-card:hover {
  border-color: #7a288c;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(122,40,140,0.12);
}
.org-icon { font-size: 2.5rem; margin-bottom: 14px; }
.org-card h3 { color: #7a288c; margin-bottom: 8px; }

.contact-cta-box {
  text-align: center;
  background: #f9f4ff;
  border-radius: 16px;
  padding: 48px 32px;
  border: 2px solid #d4b8e0;
}
.contact-cta-box h2 { color: #7a288c; font-size: 2rem; margin-bottom: 12px; }
.contact-cta-box p { color: #555; margin-bottom: 8px; font-size: 1.05rem; }
.contact-cta-box .cta-buttons { justify-content: center; }
.contact-cta-box .btn-outline { color: #7a288c; border-color: #7a288c; }
.contact-cta-box .btn-outline:hover { background: #7a288c; color: #fff; }

/* ── Contact Page ─────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-panel h2,
.contact-map-panel h2 {
  color: #7a288c;
  font-size: 1.8rem;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  color: #7a288c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7a288c;
  margin-bottom: 4px;
}

.contact-item address,
.contact-item a { font-size: 1rem; color: #333; }
.contact-item a { color: #7a288c; font-weight: 600; }
.contact-item a:hover { color: #fdd35a; }

.map-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: #7a288c;
  font-weight: 600;
}

.closed-row td { color: #aaa !important; }

.small-note { font-size: 0.85rem; color: #666; margin-top: 4px; }

.map-embed {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  margin-bottom: 20px;
}
.map-embed iframe { display: block; }

.directions-cta { margin-bottom: 28px; }

.location-note {
  background: #f9f4ff;
  border-radius: 10px;
  padding: 24px;
}
.location-note h3 { color: #7a288c; margin-bottom: 10px; font-size: 1.1rem; }
.location-note p { font-size: 0.95rem; color: #555; margin-bottom: 8px; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fundraising-inner { grid-template-columns: 1fr; }
  .fundraising-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 2px solid #e8e0f0;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 16px 0;
    z-index: 999;
  }

  .main-nav.is-open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav a { padding: 12px 24px; border-radius: 0; border-bottom: 1px solid #f0e8f8; }

  .site-header { position: relative; }
  .header-inner { position: relative; }

  .hero { min-height: 460px; }
  .hero-content h1 { font-size: 2rem; }

  .hours-inner { text-align: center; justify-content: center; }

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

  .section { padding: 52px 0; }

  .fundraising-inner { gap: 32px; }
  .fundraising-img { order: -1; }

  .menu-daily-grid { grid-template-columns: 1fr 1fr; }

  .box-pricing-grid { grid-template-columns: 1fr 1fr; }

  .donut-custom-cta { padding: 32px 20px; }

  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 1.75rem; }
  .menu-daily-grid { grid-template-columns: 1fr 1fr; }
  .donut-gallery-grid { grid-template-columns: 1fr 1fr; }
}
