/* Reference-driven layout refinements for Anuradha's Beauty Parlour */

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.3vw, 36px);
  margin: 0 auto;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream-100);
}

.desktop-nav a { position: relative; padding: 8px 0; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.desktop-nav a:hover,
.desktop-nav a.is-active { color: var(--gold-400); }
.desktop-nav a:hover::after,
.desktop-nav a.is-active::after { transform: scaleX(1); }

.hero {
  border-bottom: 3px solid var(--gold-500);
  border-radius: 0;
  background:
    radial-gradient(circle at 78% 33%, rgba(228, 197, 74, .15), transparent 35%),
    linear-gradient(105deg, #440411 0%, #590916 53%, #30020a 100%);
}

.hero-grid {
  display: block;
  min-height: 620px;
  padding: 74px 0 48px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding: 0;
}

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.7rem);
  letter-spacing: -.025em;
  color: var(--gold-400);
}

.hero-subtitle {
  margin: 4px 0 0;
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(1.65rem, 3.25vw, 2.8rem);
  font-weight: 400;
  line-height: 1.14;
  color: var(--cream-50);
}

.hero-script {
  margin: 0;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2.15rem, 4.4vw, 3.7rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.05;
  color: var(--gold-400);
}

.hero-script span {
  display: inline-block;
  margin-left: .12em;
  font-family: "Playfair Display", "Georgia", serif;
  font-size: .6em;
  font-style: normal;
  font-weight: 400;
  transform: translateY(-.32em);
}

.hero-divider { width: 270px; height: 19px; margin: 14px 0 20px; }

.hero-tags {
  gap: 8px 17px;
  margin-bottom: 26px;
  font-size: 1.18rem;
}
.hero-tags li { gap: 9px; }
.hero-tags li::before,
.hero-tags li:first-child::before { content: "\2726"; }

.hero-cta { flex-direction: column; align-items: flex-start; gap: 13px; }
.hero-cta .btn { min-width: 300px; }

.hero-art {
  position: absolute;
  right: max(-44px, -3vw);
  bottom: -8px;
  z-index: 2;
  width: min(60vw, 780px);
  max-height: none;
  margin: 0;
  overflow: visible;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.booking {
  padding: 54px 0;
  color: var(--cream-50);
  background:
    linear-gradient(90deg, rgba(48, 2, 10, .72), rgba(100, 11, 34, .92)),
    linear-gradient(180deg, #4b0513 0%, #680b22 100%);
  border-bottom: 1px solid rgba(232, 197, 74, .32);
}

.booking-panel {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, 1fr);
  align-items: center;
  gap: 34px;
}

.booking-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-400);
}

.booking-copy h2 {
  margin: 0 0 10px;
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: var(--gold-400);
}

.booking-copy p {
  max-width: 420px;
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.6;
  color: rgba(253, 246, 236, .82);
}

.booking-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  border: 1px solid rgba(232, 197, 74, .48);
  background: rgba(36, 0, 9, .28);
}

.booking-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  font-family: "Playfair Display", "Georgia", serif;
  font-size: .96rem;
  font-weight: 700;
  color: var(--cream-50);
}

.booking-form input,
.booking-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(232, 197, 74, .42);
  border-radius: 0;
  color: var(--cream-50);
  background: rgba(255, 255, 255, .06);
  font: 600 1rem "Cormorant Garamond", "Georgia", serif;
}

.booking-form input::placeholder { color: rgba(253, 246, 236, .58); }
.booking-form input:focus,
.booking-form select:focus {
  outline: 2px solid rgba(232, 197, 74, .44);
  outline-offset: 2px;
}

.booking-form select option {
  color: var(--maroon-900);
  background: var(--cream-50);
}

.booking-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.booking-form .btn {
  width: 100%;
  border-radius: 0;
}

.services {
  overflow: hidden;
  padding: 70px 0 78px;
  background:
    radial-gradient(circle at 0 100%, rgba(212, 175, 55, .08), transparent 24%),
    radial-gradient(circle at 100% 0, rgba(212, 175, 55, .08), transparent 24%),
    linear-gradient(180deg, #640b22 0%, #43030f 100%);
}

.section-title { margin-bottom: 46px; }
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 28px;
}

.service-card { position: relative; gap: 11px; padding: 0 16px; }
.service-card:not(:nth-child(3n + 1))::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 8px;
  left: -14px;
  border-left: 1px solid rgba(232, 197, 74, .32);
}

.service-icon {
  width: 132px;
  height: 132px;
  background: rgba(31, 0, 8, .15);
}
.service-icon img { width: 68px; height: 68px; }
.service-card h3 { margin-top: 4px; }
.service-card p { font-size: 1.08rem; }

.gallery {
  padding: 70px 0 78px;
  background:
    radial-gradient(circle at 0 100%, rgba(212, 175, 55, .08), transparent 24%),
    radial-gradient(circle at 100% 0, rgba(212, 175, 55, .08), transparent 24%),
    linear-gradient(180deg, #43030f 0%, #640b22 100%);
  border-top: 1px solid rgba(232, 197, 74, .24);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(232, 197, 74, .38);
  background: rgba(36, 0, 9, .28);
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}

.gallery-item:hover img { transform: scale(1.06); filter: brightness(1.02); }
.gallery-item:focus-visible { outline: 2px solid rgba(232, 197, 74, .6); outline-offset: 3px; }

.about {
  padding: 72px 0 44px;
  background-color: var(--cream-50);
  background-image: url("assets/bg-pattern.svg");
  background-size: 250px auto;
}
.about-grid { gap: 48px; }
.about-copy p { font-size: 1.16rem; }
.about-image {
  border: 1px solid rgba(184, 144, 42, .4);
  box-shadow: 0 14px 30px rgba(69, 9, 21, .22);
}

.trust,
.thanks {
  background-color: var(--cream-50);
  background-image: url("assets/bg-pattern.svg");
  background-size: 250px auto;
}
.trust { padding: 20px 0 46px; }
.thanks { padding: 8px 0 48px; }

@media (min-width: 1024px) {
  .hero-cta { flex-direction: row; }
  .hero-cta .btn { min-width: 0; }
}

@media (max-width: 880px) {
  .desktop-nav { display: none; }

  .hero {
    border-radius: 0;
    background:
      radial-gradient(ellipse at 78% 34%, rgba(232, 197, 74, .14), transparent 34%),
      linear-gradient(105deg, #470411 0%, #5d0918 65%, #31020a 100%);
  }
  .hero::before,
  .hero::after {
    display: none;
  }
  .hero-grid {
    z-index: 1;
    min-height: clamp(400px, 84vw, 520px);
    height: auto;
    padding: 20px 0 0;
  }
  .hero-copy {
    width: 64%;
    max-width: 440px;
    height: auto;
    text-align: left;
  }
  .hero-copy::before,
  .hero-copy::after { content: none; }
  .hero-intro { width: auto; }
  .hero-title { font-size: clamp(1.55rem, 7.3vw, 3rem); line-height: 1.04; }
  .hero-subtitle { margin-top: 3px; font-size: clamp(1rem, 5.2vw, 1.9rem); line-height: 1.1; }
  .hero-script { font-size: clamp(1.45rem, 7vw, 2.65rem); line-height: 1; }
  .hero-divider { width: min(100%, 210px); height: 14px; margin: 10px 0 14px; }
  .hero-tags {
    gap: 5px 10px;
    margin-bottom: 14px;
    font-size: clamp(.66rem, 2.7vw, .98rem);
    line-height: 1.25;
  }
  .hero-tags li { gap: 5px; }
  .hero-cta {
    display: grid;
    width: 100%;
    max-width: 205px;
    gap: 9px;
  }
  .hero-cta .btn {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
    font-size: clamp(.68rem, 2.8vw, .95rem);
    white-space: nowrap;
  }
  .hero-cta .btn svg { width: 15px; height: 15px; }
  .hero-art {
    top: auto;
    right: -16vw;
    bottom: 0;
    width: auto;
    height: 100%;
    max-width: none;
    max-height: none;
    opacity: .98;
  }
  .hero-art::before,
  .hero-art::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: 2;
    pointer-events: none;
  }
  .hero-art::before {
    background: linear-gradient(90deg, rgba(93, 9, 24, .94) 0%, rgba(93, 9, 24, .42) 18%, transparent 38%);
  }
  .hero-art::after { display: none; }
  .hero-art img {
    position: relative;
    z-index: 1;
    width: auto;
    height: 100%;
    transform: scale(1.08);
    transform-origin: right top;
  }

  .booking { padding: 34px 0; }
  .booking-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .booking-copy { text-align: center; }
  .booking-copy p { max-width: none; font-size: .95rem; }
  .booking-form { padding: 18px; gap: 13px; }
  .booking-form input,
  .booking-form select { min-height: 44px; font-size: .95rem; }
  .booking-fields { gap: 10px; }

  .services { padding: 48px 0 52px; }
  .section-title { margin-bottom: 28px; gap: 8px; font-size: clamp(1.35rem, 6vw, 2.1rem); }
  .section-title::before,
  .section-title::after { width: 30px; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 8px; }
  .service-card { gap: 6px; padding: 0 5px; }
  .service-card:not(:nth-child(3n + 1))::before { top: 6px; bottom: 5px; left: -4px; }
  .service-icon { width: clamp(60px, 15.5vw, 112px); height: clamp(60px, 15.5vw, 112px); }
  .service-icon img { width: 54%; height: 54%; }
  .service-card h3 { margin: 0; font-size: clamp(.73rem, 3.2vw, 1.15rem); line-height: 1.16; }
  .service-card p { max-width: 150px; font-size: clamp(.65rem, 2.75vw, .97rem); line-height: 1.28; }

  .gallery { padding: 48px 0 52px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  .about { padding: 46px 0 28px; }
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 14px;
  }
  .about-title { margin-bottom: 5px; font-size: clamp(1.12rem, 4.75vw, 1.9rem); }
  .about-flourish { width: min(100%, 130px); height: 12px; margin: 0 0 11px; }
  .about-copy p { margin-bottom: 10px; font-size: clamp(.68rem, 2.8vw, .98rem); line-height: 1.46; }
  .about-image {
    align-self: stretch;
    min-height: 100%;
    margin: 0;
    border-radius: 8px;
    aspect-ratio: auto;
  }
  .about-image img { height: 100%; object-position: 59% center; }

  .trust { padding: 14px 0 30px; }
  .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .trust-item {
    min-width: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 7px;
    padding: 5px 8px;
    text-align: center;
    border-top: 0;
    border-left: 1px solid rgba(116, 16, 40, .18);
  }
  .trust-item:first-child { padding-top: 5px; border-left: 0; }
  .trust-icon { width: clamp(34px, 9vw, 54px); height: clamp(34px, 9vw, 54px); }
  .trust-text { font-size: clamp(.66rem, 2.75vw, .95rem); line-height: 1.28; }

  .thanks { padding: 4px 0 30px; }
  .thanks-text { gap: 9px; font-size: clamp(1.05rem, 5vw, 1.5rem); }
  .thanks-text::before,
  .thanks-text::after { width: 28px; }
}

@media (max-width: 380px) {
  .hero-grid { min-height: 372px; }
  .hero-copy { width: 66%; }
  .hero-art img { transform: scale(1.1); transform-origin: right top; }
  .hero-art { right: -22vw; }
  .hero-cta { max-width: 190px; }
  .hero-cta .btn { min-height: 39px; padding: 0 7px; }
  .booking-fields { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (min-width: 601px) and (max-width: 880px) {
  .hero-copy { width: 53%; }
  .hero-cta { max-width: 250px; }
  .hero-art { right: -6vw; }
}
