/* ===========================
   The Muffin Maid – Styles
   Pink + white, cute & clean
   =========================== */

:root {
  /* Palette */
  --color-bg: #fff9fb;          /* soft pinkish white */
  --color-bg-light: #ffffff;
  --color-bg-accent: #ffe6f2;   /* light pink section */
  --color-primary: #e36c9b;     /* main pink */
  --color-primary-dark: #c45683;
  --color-secondary: #f7b4c8;   /* soft accent pink */
  --color-text: #3b2330;        /* deep mauve/brown */
  --color-muted: #866577;

  /* Layout + effects */
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.05);
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;   /* prevent sideways scroll */
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}


body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;   /* prevent sideways scroll */
}



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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--color-text);
}

/* Layout helpers */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

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

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

.section__header {
  margin-bottom: 2.5rem;
  text-align: center;              /* center heading + subtext */
}

.section__header h2 {
  font-size: 2rem;
}

.section__header p {
  max-width: 560px;
  color: var(--color-muted);
  margin: 0.5rem auto 0;           /* center the paragraph block itself */
}


.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease,
    background 0.1s ease,
    color 0.1s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.btn--secondary {
  background: #ffffff;
  color: var(--color-primary);
  border: 1px solid rgba(227, 108, 155, 0.2);
}

.btn--secondary:hover {
  background: #fff4f8;
}

/* Focus states for accessibility */

.btn:focus-visible,
.nav__links a:focus-visible,
.faq__question:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Header & Nav */

.site-header {
  background: var(--color-bg-light);
  border-bottom: 1px solid rgba(227, 108, 155, 0.12);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}


.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  position: relative; /* for mobile dropdown */
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
  text-decoration: none;
}

.nav__logo-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
}


.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.nav__links a:hover {
  color: var(--color-primary);
}

.nav__cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff !important;
  box-shadow: var(--shadow-soft);
}

.nav__cta:hover {
  text-decoration: none;
  background: var(--color-primary-dark);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-primary-dark);
}

/* Hero */

.hero {
  background: radial-gradient(circle at top left, #ffeaf4 0, #fff9fb 45%, #ffffff 100%);
  padding: 4.5rem 0 4rem; /* more space under the header on desktop too */
}


.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero__text h1 {
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  margin-bottom: 1rem;
}

.hero__text p {
  max-width: 540px;
  color: var(--color-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.hero__badges {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;  /* a little space under the paragraph */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Inline, minimal style instead of chunky pills */
.hero__badges li {
  position: relative;
  padding: 0;
  margin: 0;
}

/* Add a soft separator dot between items */
.hero__badges li + li::before {
  content: "•";
  margin-right: 0.55rem;
  color: rgba(227, 108, 155, 0.6); /* soft pink dot */
}


.hero__image {
  display: flex;
  justify-content: center;
}

.hero__image-placeholder {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe0f0;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.hero__image-img {
  width: 100%;
  max-width: 360px;
  border-radius: 50%;
  background: #ffe0f0;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;          /* gives that white ring around the logo */
  object-fit: contain;
}


/* About */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: center;
}

.about__image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  box-shadow: var(--shadow-soft);
}

.about__image-img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe0f0;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}


.about__list {
  padding-left: 1.2rem;
  margin-top: 1rem;
}

/* Muffins */

.muffins {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.muffins__current {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(227, 108, 155, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.muffins__current--no-image .muffins__image-wrapper {
  display: none;
}

.muffins__image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff6fa;
}

.muffins__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.muffins__text h3 {
  margin-top: 0;
}

.muffins__note {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

.muffins__hall {
  align-self: stretch;
}

.muffins__hall-title {
  margin-top: 0;
}

.muffins__hall-intro {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.muffins__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.muffins__chip {
  background: #ffffff;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  border: 1px solid rgba(227, 108, 155, 0.2);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.03);
}

.muffin-hall__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.muffins__chip--spotlight {
  background: #ffe0f0;
  border-color: rgba(227, 108, 155, 0.6);
  font-weight: 600;
}

/* Little label above the muffin name */
.muffins__badge {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-dark);
  margin: 0 0 0.35rem;
}

/* Extra glow for the Muffin of the Moment card */
.muffins__current--spotlight {
  border-color: rgba(227, 108, 155, 0.4);
  box-shadow: 0 20px 40px rgba(227, 108, 155, 0.18);
}



.muffins__empty {
  font-size: 0.9rem;
  color: var(--color-muted);
}


/* Cards & subtle hover lift */

.services,
.gallery,
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.service-card,
.gallery__item,
.testimonial,
.step {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover,
.gallery__item:hover,
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.testimonial:hover {
  box-shadow: 0 9px 20px #e36c9b;
}


/* Services */

.service-card {
  background: #fff6fa;              /* light pink card */
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid #ffd3e8;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  margin-top: 0;
}

.service-card ul {
  padding-left: 1.1rem;
}

.service-card__note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Service Area */

.service-area {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.service-area__map-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: #ffe0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  box-shadow: var(--shadow-soft);
}

.service-area__map-wrapper {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(227, 108, 155, 0.35); /* soft pink border */
}

.service-area__map {
  width: 100%;
  height: 260px;
  border: 0;
}

.service-area__note {
  margin-top: 0.75rem;
  color: var(--color-muted);
}

/* Gallery */

.gallery__image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(227, 108, 155, 0.12);
}

/* Gallery */

.gallery__item {
  background: #fff6fa;              /* light pink card */
  border-radius: var(--radius-md);
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid #ffd3e8;
}

.gallery__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.gallery__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery__thumb {
  position: relative;
  display: inline-block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.15s ease;
}

.gallery__thumb:hover .gallery__image,
.gallery__thumb:focus-visible .gallery__image {
  transform: scale(1.03);
}

.gallery__tag {
  position: absolute;
  left: 0.6rem;
  top: 0.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.gallery__tag--before {
  background: rgba(59, 35, 48, 0.8);
}

.gallery__tag--after {
  background: rgba(227, 108, 155, 0.9);
}

.gallery__caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  display: none; /* JS toggles this */
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox--open {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.lightbox__dialog {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
}

.lightbox__image {
  max-width: 80vw;
  max-height: 70vh;
  display: block;
  border-radius: 12px;
}

.lightbox__close {
  position: absolute;
  top: 0.25rem;
  right: 0.5rem;
  border: none;
  background: none;
  font-size: 2rem;
  line-height: 1;
  color: #944165;
  cursor: pointer;
}


/* Testimonials */

/* Testimonials – horizontal carousel track */
.testimonials {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox: hide scrollbar */
}

/* Hide scrollbar in WebKit browsers */
.testimonials::-webkit-scrollbar {
  display: none;
}

/* Testimonial card inside the carousel */
.testimonial {
  background: #ffffff;              /* now white cards on pink section */
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid #ffd3e8;
  flex: 0 0 min(320px, 100%);
  scroll-snap-align: start;
}


.testimonial__author {
  margin-top: 0.75rem;
  font-weight: 600;
}

/* Steps */

.step {
  background: #fff6fa;              /* light pink card */
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid #ffd3e8;
}

.step__number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

/* FAQ */

.faq__item {
  border-radius: var(--radius-md);
  background: #ffffff;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(227, 108, 155, 0.12);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.faq__item:hover {
  background: #fff4fa;
  border-color: rgba(227, 108, 155, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
}

.faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text);
  position: relative;
}

/* cute + / − icon on the right */
.faq__question::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--color-primary);
  transition: transform 0.15s ease;
}

.faq__question[aria-expanded="true"]::after {
  content: "−";
  transform: translateY(-50%) rotate(0deg);
}

.faq__answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Hide answers when [hidden] attribute is present */
.faq__answer[hidden] {
  display: none;
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact__details p {
  margin: 0.25rem 0;
}

.contact__note {
  margin-top: 0.75rem;
  color: var(--color-text); /* high contrast on pink */
}

.contact__form {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(227, 108, 155, 0.12);
}

/* Higher contrast text in the Get a Quote section */
.section--accent,
.section--accent p,
.section--accent li {
  color: var(--color-text); /* dark mauve / almost black */
}

.section--accent strong {
  color: var(--color-text);
}

.section--accent a {
  color: var(--color-primary-dark);
}

/* Make sure notes + policy list aren't using the lighter muted color */
.contact__note,
.contact__policies li {
  color: var(--color-text);
}


.form__group {
  margin-bottom: 1rem;
}

.form__group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #f0c5d6;
  font: inherit;
  background: #fff;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: 2px solid rgba(227, 108, 155, 0.3);
  border-color: var(--color-primary);
}

.form__note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Footer */

.site-footer {
  background: #301824;
  color: #ffeef6;
  padding: 1.5rem 0;
}

.site-footer__content {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left text | icon | right text */
  align-items: center;
  font-size: 0.85rem;
  gap: 0.75rem;
}

.site-footer__copy {
  justify-self: start;
}

.site-footer__credit {
  justify-self: end;
  opacity: 0.85;
  text-align: right;
}

/* Social icon (footer + contact) */

.social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6); /* looks good on dark footer */
  text-decoration: none;
  background: transparent;
}

.social-link__icon {
  display: block;
  width: 14px;
  height: 14px;
}

/* Footer hover */
.site-footer .social-link:hover {
  background: #ffeef6;
}

/* Contact section social link – lighter border on light background */
.contact__details .social-link--light {
  border-color: rgba(48, 24, 36, 0.18);
}

.contact__details .social-link--light:hover {
  background: #ffeef6;
  border-color: rgba(48, 24, 36, 0.35);
}

/* Contact social layout */

.contact__social {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact__social-label {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Policies styling / higher contrast */

.contact__policies-title {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact__policies-list {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-text); /* stronger contrast on pink */
}

.contact__policies-list li + li {
  margin-top: 0.5rem;
}



/* Responsive tweaks */

@media (max-width: 800px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(227, 108, 155, 0.12);
  }

  .nav__links li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav__links a {
    display: inline-flex;
    justify-content: center;
    padding: 0.4rem 0.7rem;
  }

  /* Make the CTA stand out a bit and sit under the list */
  .nav__links li:last-child {
    margin-top: 0.35rem;
  }

  .nav__links a.nav__cta {
    padding-inline: 1.4rem;
  }

  /* Hide menu by default on mobile; JS adds .nav__links--open */
  .nav__links:not(.nav__links--open) {
    display: none;
  }

  .hero__content,
  .about,
  .service-area,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 5.5rem; /* extra space so header doesn't cover hero text */
  }

    .muffins {
    grid-template-columns: 1fr;
  }

  .muffins__current {
    grid-template-columns: 1fr;
  }

    .site-footer__content {
        grid-template-columns: 1fr;  /* stack copy, icon, credit */
        gap: 0.5rem;
        text-align: center;
    }


    .service-area__map {
    height: 220px;
  }
}


/* Optionally, a slightly stronger style on small screens */
@media (max-width: 600px) {
  .hero__badges {
    justify-content: flex-start;
    max-width: 26rem;
  }

  .site-footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__copy,
  .site-footer__credit {
    justify-self: center;
    text-align: center;
  }
}
