/* Styles used only by index2.html. Loaded after styles.css, which supplies
   the colors, fonts, header, buttons and footer. */

/* ---- Hero ---- */
.hero2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  max-width: 76rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 5vw, 4rem) 4rem;
}
.hero2 img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.hero2 .eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
}
.hero2 h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  overflow-wrap: break-word;
}
.hero2 p { color: var(--muted); font-size: 1.1rem; max-width: 34rem; }

/* ---- Text blocks ---- */
.prose { max-width: 42rem; margin: 0 auto; }
.prose p { margin: 0 0 1rem; }
.prose.centered { text-align: center; }

.pull {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  text-align: center;
  color: var(--accent);
  margin: 2.5rem auto 0;
  max-width: 34rem;
}

/* A lighter panel to separate sections */
.panel {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 30px rgba(120, 40, 70, 0.06);
  max-width: 72rem;
  margin: 0 auto;
}

/* ---- Photo beside text ---- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  max-width: 64rem;
  margin: 0 auto;
}
.split img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.split h2 { text-align: left; }
.split p { margin: 0 0 1rem; }

/* ---- Lists shown as soft "tags" ---- */
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 50rem;
  margin: 0 auto 2rem;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(199, 36, 111, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

/* ---- Three-up service cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}
.card {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 30px rgba(120, 40, 70, 0.06);
  padding: 2rem 1.75rem;
}
.card h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}
.card .lead { text-align: center; color: var(--muted); margin: 0 0 1.25rem; }
.card ul { margin: 0 0 1.25rem; padding-left: 1.2rem; }
.card li { margin-bottom: 0.25rem; }
.card li::marker { color: var(--accent); }
.card p:last-child { margin-bottom: 0; }

/* ---- Service areas ---- */
.areas {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  line-height: 2;
}
.areas span { white-space: nowrap; }
.areas span:not(:last-child)::after { content: " · "; color: var(--accent); }

/* ---- Visit ---- */
.visit2 { text-align: center; max-width: 40rem; margin: 0 auto; }
.visit2 address {
  font-style: normal;
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}
.closing {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--accent);
  margin-top: 2.5rem;
}

@media (max-width: 760px) {
  .hero2, .split { grid-template-columns: 1fr; }
  .hero2 > div { text-align: center; }
  .hero2 p { margin-inline: auto; }
  .split h2 { text-align: center; }
  .split > div { text-align: center; }
  nav { justify-content: center; }
}

/* Tighter line spacing for headings that wrap onto two lines */
section h2 { line-height: 1.2; }

/* ---- "Back to top" button, bottom right ---- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: calc(clamp(1rem, 3vw, 2rem) + env(safe-area-inset-bottom, 0px));
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(120, 40, 70, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); }
.to-top .arrow { font-size: 1rem; line-height: 1; }

/* On phones, just show the arrow */
@media (max-width: 760px) {
  .to-top { padding: 0; width: 3rem; height: 3rem; justify-content: center; }
  .to-top .label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  }
}

/* ---- Phone number ---- */
.hero2 .call-line { margin-top: 1rem; font-size: 1rem; }
.hero2 .call-line a,
footer a { color: var(--accent); text-decoration: none; font-weight: 400; }
.visit2 .phone { margin: 0 0 0.75rem; }
.visit2 .phone a {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--accent);
  text-decoration: none;
}
.hero2 .call-line a:hover,
.visit2 .phone a:hover,
footer a:hover { text-decoration: underline; }

/* ---- Photo on the right (accessories section) ---- */
.split.photo-right { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.split .intro { text-align: left; margin-left: 0; margin-right: 0; }
.split .tags { justify-content: flex-start; margin-left: 0; }

@media (max-width: 760px) {
  .split.photo-right { grid-template-columns: 1fr; }
  .split .intro { text-align: center; }
  .split .tags { justify-content: center; margin-right: 0; }
}

/* ---- "We offer" list in the hero ---- */
.hero2 .offer-label {
  margin: 1.25rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
}
.hero2 .tags { justify-content: flex-start; margin: 0 0 1.25rem; gap: 0.5rem; }
.hero2 .tags li { font-size: 0.9rem; padding: 0.35rem 0.95rem; }
.hero2 .tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--accent);
  margin: 0 0 1.5rem;
}

@media (max-width: 760px) {
  .hero2 .tags { justify-content: center; }
}

/* Photos that keep their own shape instead of being trimmed to 2:3 */
.split img.natural { aspect-ratio: auto; }

/* Wide photo placed within a section's text (Dresses for Every Style) */
.inline-photo {
  width: 100%;
  max-width: 50rem;
  height: auto;
  margin: 0 auto 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
