/* Safe Haven Pilates styles */
:root {
  --bg: #faf7f3;
  --panel: #fffdfb;
  --beige: #efe1d3;
  --soft-blush: #f8dde7;
  --accent: #e11f7d;
  --accent-dark: #bd1868;
  --charcoal: #161314;
  --text: #201d1c;
  --muted: #7c7777;
  --border: #e6d6cc;
  --shadow: 0 24px 50px rgba(26, 20, 18, 0.12);
}
.accent {
  color: var(--accent);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.top-bar {
  width: 100%;
  background: rgba(225, 31, 125, 0.12);
  color: var(--accent-dark);
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--panel);
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 12px 32px rgba(30, 20, 16, 0.08);
}

.logo {
  display: inline-grid;
  gap: 0.25rem;
}

.logo .brand {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.45rem;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  text-transform: uppercase;
}

.logo .tagline {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.primary-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-self: center;
}

.primary-nav li {
  font-size: 0.95rem;
}

.primary-nav a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.primary-nav a:hover {
  color: var(--accent);
}

.header-action {
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  padding: 0.95rem 1.7rem;
}

.btn-primary {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 16px 34px rgba(225, 31, 125, 0.18);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline {
  border: 1px solid rgba(225, 31, 125, 0.32);
  color: var(--accent-dark);
  background: rgba(255, 31, 125, 0.96);
}

.btn-outline:hover {
  background: rgba(225, 31, 125, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: calc(100vh - 6rem);
  gap: 2rem;
  padding: 0rem 0rem 2rem 2rem;
  position: relative;
}

.hero-copy {
  align-self: center;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.hero-copy h1 {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(3.2rem, 4.5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0 0 1.2rem;
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-copy p {
  max-width: 36rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.6rem;
  background: rgba(225, 31, 125, 0.12);
  margin-right: 0.75rem;
}

.hero-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)), url("assets/images/hero.jpg") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(29, 21, 18, 0.14));
}

.hero-quote {
  position: absolute;
  top: 2rem;
  right: 2rem;
  max-width: 260px;
  color: #fff;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
  text-shadow: 0 18px 40px rgba(16, 12, 11, 0.28);
}

.section {
  padding: 5rem 2rem;
}

.section.dark-bg {
  background: var(--beige);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(2.25rem, 3vw, 3.6rem);
  margin: 0;
  color: var(--charcoal);
}

.section-title p {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: var(--muted);
}

.studio-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.intro-media {
  position: relative;
  min-height: 420px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--panel);
}

.studio-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card {
  position: absolute;
  inset: auto 2rem 2rem;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  color: var(--accent-dark);
  box-shadow: 0 18px 34px rgba(26, 20, 18, 0.12);
}

.intro-copy {
  display: grid;
  gap: 1.5rem;
}

.intro-copy .eyebrow {
  margin-bottom: 0;
}

.intro-copy h3 {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  margin: 0;
  line-height: 1.05;
}

.intro-copy h3 span {
  color: var(--accent);
}

.intro-copy p {
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(225, 31, 125, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--accent);
}

.feature-text h4,
.feature-text p {
  margin: 0;
}

.feature-text h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.feature-text p {
  color: var(--muted);
  font-size: 0.95rem;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-self: stretch;
}

.classes-booking-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.booking-panel {
  display: flex;
  align-items: stretch;
  min-height: 0;
}

.booking-card {
  height: 100%;
}

.class-card {
  background: var(--panel);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(26, 20, 18, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 58px rgba(81, 49, 42, 0.14);
}

.class-card .card-image {
  min-height: 230px;
  background-size: cover;
  background-position: center;
}

.class-card .card-body {
  padding: 1.5rem;
}

.class-card h4 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.class-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.class-card a {
  color: var(--accent);
  font-weight: 600;
}

.booking {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.booking-card {
  background: var(--panel);
  border-radius: 1.5rem;
  padding: 0;
  box-shadow: var(--shadow);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#simplybook-widget {
  flex: 1;
  min-height: 720px;
  width: 100%;
}

.booking-card label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.booking-card select,
.booking-card input {
  width: 100%;
  border: 1px solid #e6d6ce;
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  background: #fff;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.date-pill,
.time-pill {
  padding: 0.95rem 1rem;
  border-radius: 0.65rem;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.date-pill:hover,
.time-pill:hover {
  transform: translateY(-1px);
}

.date-pill.active,
.time-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.time-pill {
  margin-bottom: 0.8rem;
}

.booking-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid #f0e2dc;
  color: var(--muted);
  font-size: 0.95rem;
}

.video-banner {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 18, 16, 0.42), rgba(16, 11, 9, 0.16)), url("assets/images/webdesign-template.png") center/cover no-repeat;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
}

.video-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 16, 0.32);
}

.video-banner .banner-content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.video-banner h3 {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  margin: 0 0 1.5rem;
}

.video-banner .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.testimonials {
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--panel);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(26, 20, 18, 0.08);
  display: grid;
  gap: 1.2rem;
}

.testimonial-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(225, 31, 125, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--accent);
}

.stars {
  color: var(--accent);
  font-size: 0.95rem;
}

.testimonial-card p {
  margin: 0;
  color: var(--muted);
}

.testimonial-card h5 {
  margin: 0;
  font-size: 1rem;
  color: var(--charcoal);
}

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--panel);
  border-radius: 1.4rem;
  padding: 1.5rem;
  box-shadow: 0 14px 34px rgba(26, 20, 18, 0.08);
  display: grid;
  gap: 1rem;
  text-align: center;
}

.product-card .product-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1rem;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: rgba(225, 31, 125, 0.12);
  color: var(--accent);
  font-size: 1.6rem;
}

.product-card h4 {
  margin: 0;
}

.site-footer {
  padding: 4rem 2rem 2rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-brand h3 {
  margin: 0 0 1rem;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
}

.footer-brand p {
  margin: 0 1rem 1.5rem 0;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.85rem;
}

.footer-links a,
.footer-contact a {
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(226, 190, 175, 0.8);
}

.footer-book {
  display: inline-flex;
  margin-top: 1rem;
}

@media (max-width: 1080px) {
  .hero,
  .studio-intro,
  .booking,
  .class-grid,
  .testimonial-grid,
  .products,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: unset;
  }

  .primary-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 1rem 1rem;
    grid-template-columns: 1fr;
  }

  .header-action {
    justify-self: stretch;
  }

  .hero {
    padding: 3rem 1rem 2rem;
  }

  .hero-media {
    min-height: 420px;
  }

  .section,
  .site-footer,
  .social-gallery {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .class-grid,
  .testimonial-grid,
  .products,
  .social-gallery .grid {
    grid-template-columns: 1fr;
  }

  .booking-left,
  .booking-card,
  .hero-copy,
  .intro-copy {
    width: 100%;
  }
}
