/* ==============================
   PilateStory - Main Styles
============================== */

:root{
  --bg: #FAF8F5;
  --text: #333333;
  --muted: #6b6b6b;

  --accent: #C5A47E;
  --accent-hover: #b08d66;

  --white: #ffffff;
  --border: rgba(197,164,126,0.35);

  --header-height: 80px;

  --font: "Optima","Helvetica Neue","Arsenal","Segoe UI","Candara",sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; text-decoration:none; }
.container{ max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Typography */
h1,h2,h3{
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
h2{
  font-size: 2.1rem;
  text-align:center;
}
p{ color: var(--muted); }

.centered-text{ text-align:center; }
.section{ padding: 70px 0; }

/* Buttons */
.btn{
  display:inline-block;
  padding: 12px 30px;
  border: 1px solid var(--accent);
  color: var(--text);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.25s ease;
}
.btn:hover{
  background: var(--accent);
  color: var(--white);
}
.btn-primary{
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover{ background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-secondary{
  background: transparent;
  color: var(--text);
}

.btn-link{
  background: transparent;
  border: 0;
  padding: 12px 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--accent);
}
.btn-link:hover{ color: var(--accent-hover); }

/* Header */
.site-header{
  position: fixed;
  top:0;
  width:100%;
  height: var(--header-height);
  display:flex;
  align-items:center;
  z-index: 1000;
  background: rgba(250,248,245,0.95);
  border-bottom: 1px solid var(--border);
}

.nav-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
}

.logo{
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text);
}

.nav-links{
  display:flex;
  gap: 28px;
  align-items:center;
}

.nav-links a{
  position: relative;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  padding: 6px 0;
  transition: 0.2s;
}
.nav-links a:hover{ color: var(--accent); }

.nav-links a.active::after,
.nav-links a[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-10px;
  height:2px;
  background: var(--accent);
}

/* Hamburger (mobile) */
.hamburger{
  display:none;
  cursor:pointer;
  flex-direction:column;
  gap: 5px;
  background: transparent;
  border: 0;
}
.hamburger span{
  width: 26px;
  height: 2px;
  background: var(--text);
  display:block;
}

/* Page spacing (because header is fixed) */
.page{
  min-height: 100vh;
  padding-top: var(--header-height);
}

/* ===== HERO ===== */
#hero{
  position: relative;
  background: url("../assets/hero.jpg") center/cover no-repeat;
  padding-top: var(--header-height);
  min-height: 72vh;
  display: flex;
  align-items: center;
}

/* overlay עדין */
#hero::before{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(250,248,245,0.28),
    rgba(250,248,245,0.14)
  );
  pointer-events: none;
}

/* “כרטיס” קריא לטקסט */
#hero .hero-content{
  position: relative;
  z-index: 2;
  text-align: center;

  max-width: 900px;
  margin: 0 auto;
  padding: 44px 34px;

  background: rgba(250,248,245,0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(197,164,126,0.38);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.10);
}

#hero .hero-title{ color: var(--text); }
#hero p{ color: rgba(51,51,51,0.78); }

.hero-title { text-transform: none !important; letter-spacing: normal; }
.hero-subtitle { margin-top: 10px; }
.hero-lead{ max-width: 60ch; margin: 12px auto 0; color: rgba(51,51,51,0.82); }
.hero-buttons { margin-top: 26px; }

@media (min-width: 920px){
  #hero .hero-title{ font-size: 3.1rem; }
}

@media (max-width: 768px){
  #hero{ min-height: 64vh; }
  #hero .hero-content{ margin: 0 16px; padding: 34px 18px; }
}

/* ==============================
   Journey cards
============================== */
.steps-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.step-item{
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.55);
}
.step-item h3{
  font-size: 1rem;
  margin-bottom: 6px;
}

/* ==============================
   PRICING
============================== */
.pricing-subtitle{
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-block{
  border-top: 1px solid rgba(0,0,0,0.06);
}
.pricing-block.highlight{
  border-top: 0;
  margin-top: 24px;
  margin-bottom: 18px;
  padding-top: 0;
}

.price-row{
  display:grid;
  grid-template-columns: 1fr 110px 230px;
  gap: 18px;
  align-items:center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.price-details .price-name{
  font-weight: 700;
  letter-spacing: 0.02em;
}
.price-details .price-meta{
  color: var(--muted);
  margin-top: 2px;
  font-size: 0.98rem;
}
.price-cost{
  text-align:center;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.price-cta{
  justify-self:end;
  text-align:center;
  min-width: 200px;
}

/* ==============================
   CONTACT
============================== */
.contact-form{
  max-width: 860px;
  margin: 26px auto 0;
}

.form-group{ margin-bottom: 16px; }
label{
  display:block;
  margin-bottom: 6px;
  color: rgba(51,51,51,0.9);
}
input, textarea{
  width:100%;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.9);
  font-family: var(--font);
  font-size: 1rem;
}
textarea{ resize: vertical; min-height: 160px; }

/* honeypot מוסתר לגמרי */
.hp{
  position:absolute !important;
  left:-10000px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.form-status{
  margin-top: 10px;
  min-height: 20px;
}

/* ==============================
   FOOTER
============================== */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 26px 0;
  text-align:center;
  color: #777;
}

.footer-link{
  display:inline-block;
  margin-top: 10px;
  color: var(--muted);
}
.footer-link:hover{ color: var(--accent); }

/* ==============================
   Booking page shared styles
============================== */
.booking-page .booking-section{ padding-top: 40px; }

.page-title{ margin-bottom: 28px; }
.page-title p{
  margin-top: 10px;
  font-size: 1.05rem;
}

.card{
  background: rgba(255,255,255,0.90);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.booking-card{
  padding: 28px 22px;
  max-width: 780px;
  margin: 0 auto;
}

.actions-row{
  margin-top: 22px;
  display:flex;
  justify-content:center;
  gap: 14px;
  flex-wrap:wrap;
}

.note{
  text-align:center;
  margin-top: 14px;
  font-size: 0.95rem;
  color: #777;
}

/* ==============================
   Privacy & Cookies page (if used)
============================== */
.policy-page{ padding: 40px 0 80px; }
.policy-container{ max-width: 1000px; }
.policy-top{ margin-bottom: 22px; }
.policy-back{ display: inline-block; margin-bottom: 10px; text-decoration: none; }
.policy-back:hover{ text-decoration: underline; }
.policy-title{ margin: 0; }
.policy-lead{ margin-top: 10px; max-width: 72ch; }

.policy-grid{ display: grid; grid-template-columns: 1fr; gap: 18px; }
.policy-card{
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 18px 18px;
}
.policy-card h2{ margin-top: 0; }
.policy-card h3{ margin-bottom: 8px; }
.policy-list{ margin: 10px 0 0 18px; }
.policy-list li{ margin: 8px 0; }

@media (min-width: 920px) {
  .policy-grid{ grid-template-columns: 1fr 1fr; }
  .policy-card--wide{ grid-column: 1 / -1; }
}

/* ==============================
   Cookie banner + modal
============================== */
.ps-cookie-banner[hidden], .ps-cookie-modal[hidden]{ display: none !important; }

.ps-cookie-banner{
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 9999;
}

.ps-cookie-banner__inner{
  max-width: 1040px;
  margin: 0 auto;
  background: #141414;
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 10px 34px rgba(0,0,0,0.28);
  display: block;
}

.ps-cookie-banner__text{
  font-size: 14px;
  line-height: 1.45;
  color: #fff !important;
  opacity: 0.98;
}

.ps-cookie-banner__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: flex-start;
}

.ps-cookie-banner__actions .btn{
  min-width: 120px;
}

@media (max-width: 520px){
  .ps-cookie-banner__actions .btn{ width: 100%; }
  .ps-cookie-banner__actions .btn-link{ width: 100%; }
}

.ps-cookie-modal{ position: fixed; inset: 0; z-index: 10000; }
.ps-cookie-modal__backdrop{ position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.ps-cookie-modal__panel{
  position: relative;
  max-width: 620px;
  margin: 12vh auto 0;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 44px rgba(0,0,0,0.28);
  max-height: 78vh;
  overflow: auto;
}
.ps-cookie-modal__x{
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.ps-cookie-modal__panel h4{
  margin: 14px 0 6px 0;
  text-align: left;
}
.ps-cookie-modal__panel ul{ margin: 8px 0 0 18px; }

/* ==============================
   Responsive
============================== */
@media (max-width: 900px){
  .steps-grid{ grid-template-columns: 1fr; }

  .price-row{
    grid-template-columns: 1fr;
    gap: 10px;
    text-align:left;
    padding: 16px 0;
  }
  .price-cost{ text-align:left; }
  .price-cta{ justify-self:start; min-width: auto; }
}

@media (max-width: 768px){
  .hamburger{ display:flex; }

  .nav-links{
    display:none;
    position:absolute;
    top: var(--header-height);
    left:0;
    width:100%;
    background: var(--bg);
    flex-direction:column;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active{ display:flex; }

  h2{ font-size: 1.7rem; }

  .booking-card{ padding: 22px 16px; }

  /* Global buttons for mobile */
  .btn{ width: 100%; text-align:center; }

  /* Pricing specific fixes */
  #pricing.section .container{
    padding-left: 16px;
    padding-right: 16px;
  }

  #pricing .pricing-block{
    border-top: 0;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    overflow: hidden;
    margin-top: 14px;
  }

  #pricing .pricing-block.highlight{
    margin-top: 18px;
  }

  #pricing .price-row{
    padding: 16px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  #pricing .price-cost{
    font-size: 1.05rem;
    font-weight: 700;
    padding-top: 2px;
  }

  /* Ensure CTAs look full width and aligned */
  #pricing .price-cta{
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  /* Keep spacing clean between blocks */
  #pricing .pricing-subtitle{
    margin-top: 26px;
  }
}

/* Tighten header layout on small screens */
@media (max-width: 768px) {
  :root { --header-height: 66px; }

  .nav-container{
    min-height: var(--header-height);
    display:flex;
    align-items:center;
    justify-content:space-between;
  }

  .logo{
    line-height: 1;
    padding: 12px 0;
  }

  .hamburger{ padding: 12px; }
}
