@import url("/assets/fonts.css");

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: var(--text);
  line-height: 1.55;
  background:
    radial-gradient(900px 500px at 8% -10%, #f4dfcf 0%, transparent 55%),
    radial-gradient(1000px 520px at 100% 0%, #efe7db 0%, transparent 48%),
    linear-gradient(180deg, var(--bg-main), var(--bg-soft));
}

.container {
  width: min(1040px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(255, 250, 245, 0.88);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
}

.brand-note {
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.page {
  padding: 0 0 2.4rem;
}

.intro {
  background: linear-gradient(170deg, #fff 0%, #fff7f2 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  margin-top: 0.95rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.intro-cover {
  aspect-ratio: 2 / 1;
  min-height: 280px;
  display: grid;
  align-content: end;
  padding: clamp(1.1rem, 2.8vw, 1.8rem);
  border-color: rgba(137, 108, 90, 0.36);
  background-color: #594a40;
}

/* Gradient overlay – darkens left side for text, opens right for the image subject */
.intro-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right,
    rgba(20, 15, 10, 0.72) 0%,
    rgba(20, 15, 10, 0.45) 32%,
    rgba(20, 15, 10, 0.10) 52%,
    transparent 65%);
}

/* Background image lives here so it can be flipped independently of text */
.intro-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--intro-cover-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right var(--intro-cover-y, 50%);
}

.intro-cover h1 {
  color: #fff7f1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.44);
}

.intro-cover .lead {
  color: #f1dfd2;
  max-width: 62ch;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.intro-cover .eyebrow {
  color: #fff7ef;
  background: rgba(31, 24, 20, 0.48);
  border: 1px solid rgba(255, 244, 236, 0.35);
  backdrop-filter: blur(2px);
}

.intro-cover .btn-main {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.intro-cover .btn-alt {
  color: #fff7f1;
  border-color: rgba(255, 243, 234, 0.72);
  background: rgba(32, 24, 20, 0.3);
}

.intro-cover .btn-alt:hover {
  background: rgba(32, 24, 20, 0.42);
}

.intro-cover-personal {
  --intro-cover-image: url("/assets/hero/styling11_page_hero_image_cropped.webp");
  --intro-cover-y: 50%;
}

.intro-cover-wardrobe {
  --intro-cover-image: url("/assets/hero/wardrobe_revision_hero_image_cropped.webp");
  --intro-cover-y: 50%;
}

.intro-cover-event {
  --intro-cover-image: url("/assets/hero/event_styling_hero_image_cropped.webp");
  --intro-cover-y: 50%;
}

.intro-cover-tailor {
  --intro-cover-image: url("/assets/hero/tailoring_adjustments_hero_image_cropped.webp");
  --intro-cover-y: 50%;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ok);
  font-weight: 800;
  background: #e5f0e9;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

h1 {
  margin: 0.9rem 0 0.75rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.14;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 68ch;
}

.cta-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.68rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-main {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(183, 95, 58, 0.32);
}

.btn-alt {
  background: transparent;
  border-color: #c9b3a5;
  color: var(--text);
}

.layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.05rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card h2 {
  margin: 0 0 0.6rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
}

.card h3 {
  margin: 1.2rem 0 0.45rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card ul,
.card ol {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.card li {
  margin-bottom: 0.42rem;
}

.service-nav {
  display: grid;
  gap: 0.5rem;
}

.service-nav a {
  text-decoration: none;
  color: var(--text);
  border: 1px solid #d9c7ba;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font-weight: 700;
  background: #fff;
}

.service-nav a.active {
  border-color: var(--accent);
  background: #f8ece5;
  color: #8f482a;
}

.side-panel {
  display: flex;
  flex-direction: column;
}

.contact-box {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact-box h3 {
  margin: 0 0 0.55rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.23rem;
}

.contact-box ul {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.contact-box li {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #6d3723;
}

.contact-label {
  color: var(--text);
  font-weight: 800;
}

.contact-link {
  display: inline;
  color: #6d3723;
  text-decoration: none;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
  text-decoration-color: rgba(183, 95, 58, 0.45);
  transition: color 220ms ease, text-decoration-color 220ms ease;
}

.contact-link:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.contact-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.contact-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.contact-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 0.9rem;
  font-size: 0.88rem;
}

.contact-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 8px 22px rgba(27, 41, 61, 0.22);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.social-wa {
  background: #25D366;
  border-color: #1cae53;
  box-shadow: 0 8px 22px rgba(28, 174, 83, 0.28);
}

.social-fb {
  background: #1877F2;
  border-color: #0f5fd5;
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.3);
}

.social-link:hover {
  transform: translateY(-2px);
  filter: brightness(0.96);
}

.social-wa:hover {
  box-shadow: 0 10px 24px rgba(28, 174, 83, 0.36);
}

.social-fb:hover {
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.38);
}

.social-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.social-wa-btn {
  width: auto;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.social-wa-btn svg {
  flex-shrink: 0;
}


@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-note {
    display: none;
  }

  .cta-row .btn,
  .contact-actions .btn {
    width: 100%;
    text-align: center;
  }

  .page {
    padding-top: 4vw;
  }

  .intro {
    margin-top: 0;
  }

  .intro-cover {
    /* let height grow with content so text isn't clipped */
    aspect-ratio: auto;
    padding-top: max(28%, 2.5rem);
  }

  .intro-cover::after {
    background-position: right center;
  }

  /* swap to mobile-cropped images */
  .intro-cover-personal  { --intro-cover-image: url("/assets/hero/mobile-version-hero-box/styling11_page_hero_image_cropped_mobile.webp"); }
  .intro-cover-wardrobe  { --intro-cover-image: url("/assets/hero/mobile-version-hero-box/wardrobe_revision_hero_image_cropped-mobile.webp"); }
  .intro-cover-event     { --intro-cover-image: url("/assets/hero/mobile-version-hero-box/event_styling_page_hero_image-cropped-mobile.webp"); }
  .intro-cover-tailor    { --intro-cover-image: url("/assets/hero/mobile-version-hero-box/tailoring_adjustments_hero_image_cropped-mobile.webp"); }

  /* keep text in gradient zone so it doesn't overlap the woman on the right */
  .intro-cover > h1,
  .intro-cover > .lead,
  .intro-cover > .cta-row {
    max-width: 62%;
  }
}
