/* ============================================================
   Juillet Pilates — Site Stylesheet
   Palette: bordo (maroon), krem (cream), pudra pembe (blush)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root{
  --maroon: #6d2430;
  --maroon-dark: #4a1720;
  --maroon-soft: #8a3a44;
  --cream: #f8efe2;
  --cream-soft: #fbf6ec;
  --cream-deep: #efe2cd;
  --blush: #e9c7c0;
  --blush-light: #f4e3de;
  --ink: #362321;
  --ink-soft: #6b5854;
  --line: rgba(109,36,48,0.16);
  --shadow: 0 20px 45px rgba(74,23,32,0.10);
  --radius: 18px;
  --radius-sm: 10px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

h1, h2, h3, h4{
  font-family: 'Playfair Display', serif;
  color: var(--maroon-dark);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
}

h1{ font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
h2{ font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3{ font-size: 1.3rem; }

p{ margin: 0 0 1em; color: var(--ink-soft); }

a{ color: inherit; text-decoration: none; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: 'Jost', sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--maroon);
  font-weight: 500;
  margin-bottom: .9em;
}
.eyebrow::before, .eyebrow::after{
  content: "";
  width: 26px;
  height: 1px;
  background: var(--maroon-soft);
  opacity: .55;
}

.container{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section{
  padding: 88px 0;
}
.section--tight{ padding: 60px 0; }
.section--cream-soft{ background: var(--cream-soft); }
.section--deep{ background: var(--cream-deep); }
.section--maroon{ background: var(--maroon); color: var(--cream-soft); }
.section--maroon h2, .section--maroon h3{ color: var(--cream-soft); }
.section--maroon p{ color: rgba(248,239,226,0.82); }

.center{ text-align: center; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-size: .92rem;
  letter-spacing: .04em;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.btn--primary{
  background: var(--maroon);
  color: var(--cream-soft);
}
.btn--primary:hover{ background: var(--maroon-dark); transform: translateY(-2px); }
.btn--outline{
  background: transparent;
  border-color: var(--maroon);
  color: var(--maroon);
}
.btn--outline:hover{ background: var(--maroon); color: var(--cream-soft); }
.btn--light{
  background: var(--cream-soft);
  color: var(--maroon-dark);
}
.btn--light:hover{ background: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,239,226,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  color: var(--maroon-dark);
}
.brand img{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.brand-text{ display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong{ font-size: 1.15rem; letter-spacing: .03em; }
.brand-text span{
  font-family: 'Jost', sans-serif;
  font-size: .62rem;
  letter-spacing: .3em;
  color: var(--maroon-soft);
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a{
  font-size: .92rem;
  letter-spacing: .02em;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--maroon);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after{ transform: scaleX(1); }
.nav-links a.active{ color: var(--maroon-dark); font-weight: 500; }

.nav-cta{ display: flex; align-items: center; gap: 18px; }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span{
  width: 24px; height: 2px; background: var(--maroon-dark);
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(74,23,32,.55) 0%, rgba(74,23,32,.62) 55%, rgba(74,23,32,.78) 100%);
}
.hero-content{
  position: relative;
  z-index: 2;
  color: var(--cream-soft);
  max-width: 680px;
  padding-top: 90px;
  padding-bottom: 90px;
}
.hero .eyebrow{ color: var(--blush); }
.hero .eyebrow::before, .hero .eyebrow::after{ background: var(--blush); }
.hero h1{ color: #fff; }
.hero p{ color: rgba(248,239,226,0.88); font-size: 1.08rem; max-width: 520px; }
.hero-actions{ display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* soft wave transition out of the hero, instead of a hard straight edge */
.wave-divider{ position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; }
.wave-divider svg{ width: 100%; height: auto; display: block; }

.page-hero{
  position: relative;
  padding: 150px 0 70px;
  color: var(--cream-soft);
  text-align: center;
  overflow: hidden;
}
.page-hero .hero-bg::after{ background: linear-gradient(180deg, rgba(74,23,32,.72), rgba(74,23,32,.72)); }
.page-hero .container{ position: relative; z-index: 2; }
.page-hero h1{ color: #fff; }
.page-hero p{ color: rgba(248,239,226,.85); max-width: 560px; margin: 0 auto; }

/* ---------- Cards / grids ---------- */
.grid{ display: grid; gap: 28px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

.card{
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
}

.icon-badge{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blush-light);
  color: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.feature-row{
  display: flex;
  align-items: center;
  gap: 60px;
}
.feature-row.reverse{ flex-direction: row-reverse; }
.feature-row .col{ flex: 1; }
.feature-row img{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tag-row{ display: flex; flex-wrap: wrap; gap: 12px; }
.tag{
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .82rem;
  color: var(--maroon-dark);
  background: var(--cream-soft);
}

/* ---------- Pricing ---------- */
.price-card{
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
}
.price-card h3{ margin-bottom: 4px; }
.price-card .kind{
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--maroon-soft);
  margin-bottom: 18px;
  display: block;
}
.price-list{ list-style: none; margin: 0; padding: 0; }
.price-list li{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px dashed var(--line);
}
.price-list li:first-child{ border-top: none; }
.price-list .amount{
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--maroon-dark);
}
.price-note{
  font-size: .82rem;
  color: var(--ink-soft);
  margin-top: 18px;
}

/* ---------- Gallery ---------- */
.gallery{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery img{
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform .4s ease;
}
.gallery a{ overflow: hidden; border-radius: var(--radius-sm); display:block; }
.gallery a:hover img{ transform: scale(1.06); }
.gallery .tall{ grid-row: span 2; }
.gallery .wide{ grid-column: span 2; }

/* ---------- FAQ / rules ---------- */
.faq-item{
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.faq-item h3{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.faq-item .num{
  font-family: 'Playfair Display', serif;
  color: var(--blush);
  -webkit-text-stroke: 1px var(--maroon);
  font-size: 1.1rem;
}

/* ---------- Contact ---------- */
.info-list{ list-style: none; margin: 0; padding: 0; }
.info-list li{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.info-list li:first-child{ border-top: none; }
.info-list .icon{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blush-light);
  color: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-list strong{ display: block; color: var(--maroon-dark); margin-bottom: 2px; }

.map-frame{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.map-frame iframe{ width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--maroon-dark);
  color: rgba(248,239,226,0.82);
  padding: 64px 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(248,239,226,0.14);
}
.footer-grid h4{ color: var(--blush); font-size: .95rem; margin-bottom: 18px; letter-spacing: .03em; }
.footer-brand{ display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img{ width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.footer-brand strong{ font-family: 'Playfair Display', serif; color: #fff; font-size: 1.15rem; }
.footer-links{ list-style: none; margin: 0; padding: 0; }
.footer-links li{ margin-bottom: 10px; }
.footer-links a:hover{ color: #fff; }
.footer-bottom{
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 10px;
}
.social-row{ display: flex; gap: 12px; }
.social-row a{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(248,239,226,0.3);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover{ background: var(--blush); color: var(--maroon-dark); border-color: var(--blush); }

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference){
  .hero-content > *, .page-hero .container > *{
    animation: heroRise .8s cubic-bezier(.2,.7,.3,1) both;
  }
  .hero-content > *:nth-child(1), .page-hero .container > *:nth-child(1){ animation-delay: .05s; }
  .hero-content > *:nth-child(2), .page-hero .container > *:nth-child(2){ animation-delay: .18s; }
  .hero-content > *:nth-child(3), .page-hero .container > *:nth-child(3){ animation-delay: .32s; }
  .hero-content > *:nth-child(4){ animation-delay: .46s; }

  @keyframes heroRise{
    from{ opacity: 0; transform: translateY(22px); }
    to{ opacity: 1; transform: translateY(0); }
  }

  .will-reveal{
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
    transition-delay: var(--reveal-delay, 0s);
  }
  .will-reveal.revealed{
    opacity: 1;
    transform: translateY(0);
  }
}

.icon-badge{ transition: transform .35s ease, background .35s ease; }
.card:hover .icon-badge{ transform: scale(1.1) rotate(-6deg); background: var(--blush); }

.price-card, .card{ transition: transform .35s ease, box-shadow .35s ease; }
.price-card:hover, .grid .card:hover{ transform: translateY(-6px); box-shadow: 0 26px 55px rgba(74,23,32,0.14); }

/* ---------- Reviews / Testimonials ---------- */
.rating-badge{
  display: inline-flex; align-items: center; gap: 10px;
  margin: 6px auto 0;
  font-size: .92rem;
  color: var(--maroon-dark);
}
.stars{ color: #d99a2b; letter-spacing: 2px; font-size: 1rem; }
.review-card{ display: flex; flex-direction: column; gap: 14px; }
.review-card .stars{ margin-bottom: -4px; }
.review-card p{ margin: 0; color: var(--maroon-dark); flex-grow: 1; }
.review-card .reviewer{ display: flex; align-items: center; justify-content: space-between; font-size: .85rem; }
.review-card .reviewer strong{ color: var(--maroon); }
.review-card .reviewer span{ color: var(--ink-soft); }

/* ---------- Lightbox ---------- */
.lightbox-overlay{
  position: fixed; inset: 0;
  background: rgba(54,35,33,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease;
  z-index: 999;
  padding: 40px;
}
.lightbox-overlay.active{ opacity: 1; visibility: visible; }
.lightbox-overlay img{
  max-width: 90vw; max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close{
  position: absolute; top: 26px; right: 34px;
  color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1;
}

/* ---------- Utilities ---------- */
.mt-0{ margin-top: 0; }
.muted{ color: var(--ink-soft); }
.divider{ height: 1px; background: var(--line); border: none; margin: 40px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .feature-row{ flex-direction: column; gap: 30px; }
  .feature-row.reverse{ flex-direction: column; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .gallery .wide{ grid-column: span 2; }
}

@media (max-width: 760px){
  .nav-links, .nav-cta .btn{ display: none; }
  .nav-toggle{ display: flex; }
  .nav-links.open{
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream-soft);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .grid-3, .grid-2{ grid-template-columns: 1fr; }
  .section{ padding: 60px 0; }
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }

  /* Hero: less towering, tighter type on small phones */
  .hero{ min-height: auto; }
  .hero-content{ padding-top: 56px; padding-bottom: 56px; }
  .hero h1{ font-size: 2rem; }
  .hero p{ font-size: 1rem; }
  .hero-actions{ gap: 12px; }
  .hero-actions .btn{ padding: 13px 26px; font-size: .85rem; width: 100%; }
  .page-hero{ padding: 120px 0 50px; }
  .page-hero h1{ font-size: 2rem; }
}
