/* =============================================
   BY HANNAH BEAUTY — Landing Page Styles
   Aesthetic: Coquette · Pastel · Feminine
   ============================================= */

:root {
  --blue: #8B9FDE;        /* brand background only: white text on it fails contrast */
  --blue-deep: #5567B8;   /* buttons, links, prices: 5.2:1 with white */
  --blue-light: #b8c5f0;
  --blue-pale: #eef1fc;
  --pink: #F7D6D6;
  --pink-dark: #e8b4b4;
  --white: #ffffff;
  --navy: #1C1C3A;
  --navy-soft: #3a3a5c;
  --gold: #C9A84C;
  --text: #2d2d4e;
  --text-light: #6b6b8a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

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

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  background-color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 24px 100px;
}

/* Polka dot overlay */
.polka-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.25) 2px, transparent 2px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.bow {
  font-size: 48px;
  margin-bottom: 4px;
  animation: gentle-float 3s ease-in-out infinite;
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.brand-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.brand-by {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-beauty {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--pink);
  font-weight: 600;
  line-height: 1;
}

.tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--navy);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.location {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 400;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 12px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  min-height: 52px;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.93;
}

.btn-primary {
  background-color: var(--blue-deep);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  font-weight: 600;
}

.btn-secondary {
  background-color: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.top-rated {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 8px;
  border-radius: 50px;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  text-align: left;
  box-shadow: 0 4px 16px rgba(28, 28, 58, 0.18);
  margin-top: 6px;
}

.top-rated-star {
  flex: none;
}

.top-rated-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  font-size: 0.88rem;
}

.top-rated-text strong {
  font-size: 1rem;
  font-weight: 600;
}

.top-rated:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Wave divider */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* =============================================
   ABOUT
   ============================================= */

.about {
  background: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--pink-dark);
  margin: 10px auto 0;
  border-radius: 2px;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
}

/* =============================================
   PACKAGES
   ============================================= */

.packages {
  background: var(--white);
  padding: 70px 0 60px;
  text-align: center;
}

.packages-intro {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: -8px auto 0;
  font-weight: 400;
}

.packages-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 600;
  margin: 40px 0 20px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
}

.packages-grid--prom {
  grid-template-columns: repeat(2, 1fr);
  max-width: 600px;
  margin: 0 auto;
}

.package-card {
  position: relative;
  background: var(--blue-pale);
  border-radius: 20px;
  padding: 32px 20px 28px;
  border: 1.5px solid var(--blue-light);
  box-shadow: 0 2px 16px rgba(139, 159, 222, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

.package-card .btn {
  width: 100%;
  margin-top: auto;
}

.package-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(139, 159, 222, 0.22);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.package-badge--prom {
  background: var(--pink-dark);
  color: var(--navy);
}

.package-icon {
  font-size: 1.7rem;
  margin: 6px 0 8px;
}

.package-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.package-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 14px;
  line-height: 1.5;
}

.package-meta {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 18px;
}

.package-meta strong {
  color: var(--blue-deep);
  font-weight: 600;
}

.btn-small {
  padding: 13px 20px;
  font-size: 0.92rem;
  min-height: auto;
}

.btn-fill-blue {
  background-color: var(--blue-deep);
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(139, 159, 222, 0.4);
}

.btn-fill-blue:hover {
  background-color: #4656a3;
  opacity: 1;
}

.btn-fill-navy {
  background-color: var(--navy);
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(28, 28, 58, 0.3);
}

.btn-fill-navy:hover {
  background-color: var(--navy-soft);
  opacity: 1;
}

/* =============================================
   SERVICES
   ============================================= */

.services {
  background: var(--blue-pale);
  padding: 70px 0;
  text-align: center;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--blue), var(--pink));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 36px 0 28px;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 20px;
  border: 1.5px solid var(--blue-light);
  box-shadow: 0 2px 16px rgba(139, 159, 222, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(139, 159, 222, 0.22);
}

.service-card--wide {
  grid-column: 1 / -1;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.service-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 8px;
}

.service-price {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 400;
}

.service-price strong {
  color: var(--blue-deep);
  font-weight: 600;
  font-size: 1rem;
}

.services-note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 8px;
}

.services-note a {
  color: var(--blue-deep);
  text-decoration: underline;
  font-weight: 500;
}

/* =============================================
   FIND US
   ============================================= */

.find-us {
  background: var(--white);
  padding: 70px 0;
  text-align: center;
}

.address-block {
  font-style: normal;
  font-size: 1rem;
  line-height: 2;
  color: var(--text);
  margin: 0 auto 16px;
}

.address-block strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
}

.find-us-note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
  font-weight: 400;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 40px 24px;
  text-align: center;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--blue-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-credit {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

.footer-credit a {
  color: var(--blue-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: var(--white);
}

/* =============================================
   SERVICE PAGES
   ============================================= */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-hero {
  background-color: var(--blue);
  background-image: radial-gradient(circle, rgba(255,255,255,0.25) 2px, transparent 2px);
  background-size: 28px 28px;
  padding: clamp(40px, 8vw, 72px) 0;
  color: var(--navy);
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 18ch;
  margin-bottom: 18px;
}

.page-intro {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 58ch;
  margin-bottom: 14px;
}

.page-rating {
  font-weight: 600;
  margin-bottom: 24px;
}

.work,
.prices,
.reviews,
.faqs {
  padding: clamp(36px, 6vw, 56px) 0 0;
}

.faqs {
  padding-bottom: clamp(48px, 8vw, 80px);
}

.prices h2,
.reviews h2,
.faqs h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.work-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  background: var(--blue-pale);
}

@media (min-width: 700px) {
  .work-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.price-heading:not(:first-child) {
  margin-top: 36px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
}

.price-table th,
.price-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--blue-light);
  text-align: left;
  vertical-align: baseline;
}

.price-table th {
  font-weight: 500;
  color: var(--navy);
  padding-right: 12px;
}

.price-time {
  color: var(--text-light);
  font-size: 0.9rem;
  white-space: nowrap;
  padding-right: 16px !important;
  text-align: right !important;
}

.price-amount {
  color: var(--blue-deep);
  font-weight: 600;
  white-space: nowrap;
  text-align: right !important;
  width: 4.5em;
}

.prices-note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 16px 0 20px;
}

.prices-note a,
.about-text a {
  color: var(--blue-deep);
  font-weight: 500;
}

.review-list {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .review-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review {
  background: var(--blue-pale);
  border-radius: 16px;
  padding: 22px;
}

.review blockquote {
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 12px;
}

.review figcaption {
  font-size: 0.85rem;
  color: var(--text-light);
}

.faqs details {
  border-bottom: 1px solid var(--blue-light);
}

.faqs summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 500;
  color: var(--navy);
}

.faqs details p {
  padding: 0 0 18px;
  line-height: 1.7;
  max-width: 62ch;
}

/* =============================================
   HOME, PACKAGES, GALLERY, ABOUT
   ============================================= */

.home-intro,
.home-services,
.home-packages,
.home-find {
  padding: clamp(40px, 7vw, 72px) 0 0;
}

.home-find {
  padding-bottom: clamp(48px, 8vw, 80px);
}

.home-intro h2,
.home-services h2,
.home-packages h2,
.home-find h2,
.package-detail h2,
.about-grid h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}

.home-intro .container {
  display: grid;
  gap: 28px;
  align-items: center;
}

.home-intro-text p,
.home-find p,
.home-lead,
.package-detail p,
.package-detail-text {
  line-height: 1.7;
  max-width: 58ch;
  margin-bottom: 12px;
}

.home-intro-text a,
.home-find a,
.package-detail-text a {
  color: var(--blue-deep);
  font-weight: 500;
}

.home-intro-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.home-intro-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

@media (min-width: 760px) {
  .home-intro .container,
  .home-find-grid,
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.service-list {
  list-style: none;
  border-top: 1px solid var(--blue-light);
}

.service-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--blue-light);
  text-decoration: none;
  color: var(--text);
}

.service-list-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}

.service-list-blurb {
  grid-column: 1;
  color: var(--text-light);
  font-size: 0.95rem;
}

.service-list-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--blue-deep);
  font-weight: 600;
  white-space: nowrap;
}

.service-list a:hover .service-list-name {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.home-reviews h2 {
  font-size: clamp(1.5rem, 4vw, 1.9rem);
}

@media (min-width: 900px) {
  .review-list--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.package-rows {
  list-style: none;
  border-top: 1px solid var(--blue-light);
  margin: 18px 0 24px;
}

.package-rows li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--blue-light);
  align-items: baseline;
}

.package-rows-name {
  font-weight: 500;
  color: var(--navy);
}

.package-rows-time {
  color: var(--text-light);
  font-size: 0.9rem;
  white-space: nowrap;
}

.package-rows-price,
.package-detail-meta strong {
  color: var(--blue-deep);
  font-weight: 600;
  white-space: nowrap;
}

.package-rows-price s,
.package-detail-meta s {
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.9em;
}

@media (max-width: 520px) {
  .package-rows li {
    grid-template-columns: 1fr auto;
  }

  .package-rows-time {
    grid-column: 1;
    grid-row: 2;
  }

  .package-rows-price {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

.home-find-grid,
.about-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.home-find-grid img,
.about-photos img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.find-address {
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--navy);
  font-weight: 500;
}

.package-detail-list {
  display: grid;
  gap: 20px;
}

.package-detail {
  background: var(--blue-pale);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 32px);
}

.package-detail h2 {
  margin-bottom: 6px;
}

.package-detail-meta {
  font-size: 1.05rem;
}

.package-detail .btn {
  margin-top: 8px;
}

.work--gallery {
  padding-bottom: clamp(48px, 8vw, 80px);
}

.about-photos {
  display: grid;
  gap: 14px;
}

@media (min-width: 700px) {
  .about-photos {
    grid-template-columns: 1fr 1fr;
  }
}

.plain-list {
  list-style: none;
  line-height: 1.9;
}

.hours-cell {
  width: auto;
  font-weight: 500;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

/* =============================================
   SITE HEADER, SKIP LINK, FOCUS, BOOK BAR
   ============================================= */

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 20;
}

.skip-link:focus {
  left: 8px;
}

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  padding: 10px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--blue-pale);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--blue-deep);
}

.site-nav {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 0;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.btn-book {
  background-color: var(--blue-deep);
  color: var(--white);
  font-weight: 600;
  padding: 12px 22px;
  min-height: auto;
  font-size: 0.92rem;
}

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.footer-hours {
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.book-bar {
  display: none;
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 16px 0;
  }

  .site-header .btn-book {
    display: none;
  }

  .site-nav {
    width: 100%;
    margin: 0 -16px;
    padding: 0 16px;
    width: calc(100% + 32px);
  }

  .book-bar {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 10;
    padding: 16px;
    border-radius: 50px;
    text-align: center;
    background: var(--blue-deep);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(28, 28, 58, 0.3);
  }

  body {
    padding-bottom: 84px;
  }

  .footer {
    margin-bottom: -84px;
    padding-bottom: 124px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 600px) {
  .hero {
    padding: 40px 20px 80px;
  }

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

  .service-card--wide {
    grid-column: 1;
    max-width: 100%;
  }

  .packages-grid,
  .packages-grid--prom {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
