/* ============================================================
   ALIF PILATES SOCIAL CLUB — style.css
   Extracted from index.html (head <style> blocks + body <style>
   blocks + all hardcoded inline style="" attributes)
   ============================================================ */


/* ── SAUDI FONT ── */
@font-face {
  font-family: 'SaudiWeb';
  src: url('fonts/SaudiWeb-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SaudiWeb';
  src: url('fonts/SaudiWeb-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── RESET & BASE ── */
:root {
  --large-text-size-value: 1.4;
}

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

body {
  font-family: 'SaudiWeb', 'Noto Sans', sans-serif;
  font-weight: 300;
  background-color: #fffaf4;
  color: #5C4F3D;
  -webkit-font-smoothing: antialiased;
}

p, li, span, a, label, input, textarea, select, div {
  font-size: 25px !important;
  font-weight: 300;
  line-height: 1 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'SaudiWeb', 'Spectral', serif;
}

h2 {
  font-size: clamp(38px, 4vw, 64px) !important;
}

/* ── HEADING COLOR (all sections except hero banner) ── */
.font-heading.text-navy {
  color: #919250 !important;
}

/* ── NAV LINKS ── */
.nav-link {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: #EED3D9;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── HERO GRADIENT ── */
.hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(43,43,43,0.72) 0%,
    rgba(43,43,43,0.35) 55%,
    rgba(43,43,43,0.08) 100%
  );
}

/* ── HERO VIDEO BACKGROUND ── */
#hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* All devices: video covers the full hero (zoom-to-fill) */
#hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;     /* 16:9 based on viewport width */
  min-height: 100%;    /* must at least fill the container height */
  min-width: 177.78%;  /* 16:9 based on container height — no extreme vh zoom */
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

/* Mobile only: 60svh banner height */
@media (max-width: 767px) {
  #hero {
    height: 60svh !important;
    min-height: 320px !important;
  }
  #hero-video-wrap iframe {
    height: 60svh;               /* fill the 60svh banner */
    width: calc(60svh * 16 / 9); /* true 16:9 based on banner height */
    min-height: unset;
    min-width: 100vw;            /* never narrower than screen */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Fallback image is always the base layer on ALL devices. */
#hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── CAROUSEL ── */
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.77,0,0.175,1); }
.carousel-slide  { min-width: 100%; }

/* ── SECTION DIVIDER ── */
.divider { width: 52px; height: 1px; background: #EED3D9; }

/* ── GALLERY HOVER ── */
.gal-item { overflow: hidden; }
.gal-item img { transition: transform 0.7s ease; }
.gal-item:hover img { transform: scale(1.06); }

/* ── INPUT FOCUS ── */
input:focus, textarea:focus, select:focus { outline: none; }

/* ── BUTTON ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: #EED3D9; color: #3A2E24;
  padding: 14px 36px;
  border-radius: 9999px;
  font-family: 'SaudiWeb', sans-serif;
  font-size: 25px !important; font-weight: 300 !important;
  letter-spacing: 0.05em; text-transform: uppercase;
  line-height: 1 !important;
  transition: background 0.3s, color 0.3s;
}
.btn-primary:hover { background: #fff; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.4); color: #fff;
  padding: 14px 36px;
  border-radius: 9999px;
  font-family: 'SaudiWeb', sans-serif;
  font-size: 25px !important; font-weight: 300 !important;
  letter-spacing: 0.05em; text-transform: uppercase;
  line-height: 1 !important;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-text {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'SaudiWeb', sans-serif;
  font-size: 25px !important; font-weight: 300 !important;
  letter-spacing: 0.05em; text-transform: uppercase;
  line-height: 1 !important;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.btn-text:hover { color: #EED3D9; border-color: #EED3D9; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #fffaf4; }
::-webkit-scrollbar-thumb { background: #EED3D9; }

/* ── GSAP SCROLL ELEMENTS — start invisible, GSAP reveals on scroll ── */
.gsap-hidden { opacity: 0; }

/* ── HERO CSS ANIMATIONS — run via CSS (no JS ticker needed) ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  #hero-eyebrow {
    animation: heroFadeUp 0.85s cubic-bezier(0.16,1,0.3,1) both;
    animation-delay: 0.35s;
  }
  #hero-h1 {
    animation: heroFadeUp 1.0s cubic-bezier(0.16,1,0.3,1) both;
    animation-delay: 0.6s;
  }
  #hero-lead {
    animation: heroFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both;
    animation-delay: 0.85s;
  }
  #hero-ctas {
    animation: heroFadeUp 0.85s cubic-bezier(0.16,1,0.3,1) both;
    animation-delay: 1.05s;
  }
  #hero .absolute.bottom-10 {
    animation: heroFadeIn 1.2s ease both;
    animation-delay: 1.3s;
  }
  .hero-overlay {
    animation: heroFadeIn 2s ease both;
    animation-delay: 0.1s;
  }
}


/* ============================================================
   CALENDAR SECTION (formerly inline <style> in body)
   ============================================================ */

.cal-card { position:relative; overflow:hidden; border-radius:16px; height:520px; cursor:pointer; }
.cal-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.cal-card:hover img { transform: scale(1.06); }

/* base overlay — subtle bottom gradient always visible */
.cal-card .base-overlay {
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(30,24,18,0.72) 0%, rgba(30,24,18,0.08) 55%, transparent 100%);
  transition: opacity 0.5s ease;
}
/* hover overlay — dark fill fades in */
.cal-card .hover-overlay {
  position:absolute; inset:0;
  background: rgba(30,24,18,0.68);
  opacity:0;
  transition: opacity 0.45s ease;
}
.cal-card:hover .hover-overlay { opacity:1; }

/* label at bottom — always visible */
.cal-card .card-label {
  position:absolute; bottom:32px; left:0; right:0;
  text-align:center;
  font-family:'SaudiWeb',sans-serif; font-size:18px; letter-spacing:0.22em;
  text-transform:uppercase; color:rgba(255,255,255,0.75);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cal-card:hover .card-label { opacity:0; transform:translateY(8px); }

/* detail text — hidden until hover */
.cal-card .card-detail {
  position:absolute; inset:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:40px 36px;
  opacity:0; transform:translateY(14px);
  transition: opacity 0.45s ease 0.05s, transform 0.45s ease 0.05s;
  text-align:center;
}
.cal-card:hover .card-detail { opacity:1; transform:translateY(0); }


/* ============================================================
   CONTACT SECTION (formerly inline <style> in body)
   ============================================================ */

/* Underline-only form inputs */
.contact-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #C8C0B6;
  padding: 10px 0 10px 0;
  font-family: 'SaudiWeb', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #5C4F3D;
  outline: none;
  transition: border-color 0.25s;
}
.contact-input::placeholder { color: #B8AFA6; }
.contact-input:focus { border-bottom-color: #919250; }
.contact-input option { background: #fffaf4; }

/* Contact info icon circle */
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid #C8C0B6;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #8C7B6A;
  transition: border-color 0.25s, color 0.25s;
}
.contact-block:hover .contact-icon { border-color: #919250; color: #919250; }
.contact-block:hover .contact-action { color: #919250; }
.contact-action { color: #919250; font-family:'SaudiWeb',sans-serif; font-size:14px; font-weight:500; text-decoration:none; transition:color 0.25s; }


/* ============================================================
   CONVERTED INLINE STYLES → SEMANTIC CSS CLASSES
   ============================================================ */

/* ── HEADER ── */
.header-bg {
  background: #ae6658;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ── LOGO ── */
.logo-alif-letter {
  font-family: 'SaudiWeb', serif;
  font-size: 38px;
  color: #EED3D9;
  font-weight: 300;
  line-height: 1;
  display: block;
}

.logo-text-wrap {
  line-height: 1.3;
}

.logo-name {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 18px;
  letter-spacing: 0.22em;
  color: #F5E8DD;
  font-weight: 500;
  text-transform: uppercase;
}

.logo-subtitle {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #EED3D9;
  font-weight: 300;
  text-transform: uppercase;
}

/* ── HEADER BOOK BUTTON ── */
.header-book-btn {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-family: 'SaudiWeb', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 9999px;
}

/* ── MOBILE MENU ── */
.mobile-menu-overlay {
  background: rgba(26,26,26,0.98);
  backdrop-filter: blur(8px);
}

/* ── HERO SECTION ── */
.hero-section {
  height: 100vh;
  min-height: 680px;
}

@media (max-width: 768px) {
  .hero-section {
    height: auto !important;
    min-height: 100svh;
  }
}

/* ── HERO EYEBROW ── */
.hero-eyebrow-text {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ── HERO HEADLINE ── */
.hero-h1 {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: .8 !important;
}

/* ── HERO LEAD TEXT ── */
.hero-lead-text {
  font-family: 'SaudiWeb', sans-serif;
  font-weight: 300;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ── HERO CTAs wrapper (hidden via JS — kept as-is but extracted) ── */
.hero-ctas-hidden {
  display: none !important;
}

/* ── HERO SCROLL INDICATOR ── */
.hero-scroll-line {
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
}

.hero-scroll-label {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* ── SECTION EYEBROW (shared pattern across sections) ── */
.section-eyebrow {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8C7B6A;
}

/* ── ABOUT SECTION ── */
.about-section {
  background: #FFFAF2;
}

.about-image-col {
  min-height: 60vw;
  max-height: 100vh;
}

.about-text-inner {
  max-width: 520px;
}

.about-heading {
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 300;
}

.about-body-text {
  font-weight: 300;
  font-weight: 300;
}

.about-alif-inline {
  font-size: 22px;
  font-weight: 400;
  margin: 0 3px;
}

.about-quote-text {
  font-size: 21px;
  font-weight: 300;
}

.about-quote-footer {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── BENEFITS SECTION ── */
.benefits-section {
  background: url('images/bg1.jpeg') center center / cover no-repeat;
  position: relative;
}

.benefits-overlay {
  background: #fdfdfd7d;
  pointer-events: none;
}

.benefits-content {
  position: relative;
  z-index: 1;
}

.benefits-heading {
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 300;
}

.benefits-body-text {
  font-weight: 300;
  font-weight: 300;
  max-width: 760px;
}

/* ── BENEFIT CARDS ── */
.benefit-card-wrap {
  border-radius: 20px;
  height: 420px;
}

.benefit-card-wrap-tall {
  border-radius: 20px;
  height: 420px;
}

@media (max-width: 768px) {
  .benefit-card-wrap,
  .benefit-card-wrap-tall {
    height: 300px;
  }
}

.benefit-card-gradient {
  background: linear-gradient(to top, rgba(18,14,10,0.78) 0%, rgba(18,14,10,0.18) 55%, rgba(18,14,10,0.0) 100%);
}

.benefit-card-title {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 300;
}

.benefit-card-caption {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8C7B6A;
}

/* ── CALENDAR SECTION ── */
.calendar-section {
  background: #ffffff;
}

.calendar-heading {
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 300;
}

.calendar-body-text {
  font-weight: 300;
  font-weight: 300;
  max-width: 420px;
}

/* ── CALENDAR CARD DETAIL ── */
.card-detail-eyebrow {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.card-detail-body {
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 300;
}

.card-detail-list {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 2;
  list-style: none;
  padding: 0;
}

.card-detail-link {
  margin-top: 28px;
  font-family: 'SaudiWeb', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 3px;
  text-decoration: none;
}

/* ── MAJLIS SECTION ── */
.majlis-layout {
  min-height: 85vh;
}

.majlis-text-inner {
  max-width: 680px;
}

.majlis-heading {
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 300;
}

.majlis-body-text {
  font-weight: 300;
  font-weight: 300;
}

.majlis-image-col {
  min-height: 55vw;
  max-height: 90vh;
}

/* ── MAJLIS PILLARS ── */
.pillar-icon-wrap {
  height: 64px;
}

.pillar-label {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8C7B6A;
  line-height: 1.6;
}

/* ── TESTIMONIALS SECTION ── */
.testimonials-section {
  background: url('images/bg2.jpeg') center center / cover no-repeat;
  position: relative;
}

.testimonials-overlay {
  background: #fdfdfd99;
  pointer-events: none;
}

.testimonials-content {
  position: relative;
  z-index: 1;
}

.testimonials-heading {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
}

/* ── TESTIMONIAL SLIDES ── */
.testimonial-rating-score {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8C7B6A;
  margin-right: 6px;
}

.testimonial-quote {
  font-size: clamp(19px, 2.4vw, 27px);
  font-weight: 300;
  max-width: 680px;
}

.testimonial-name {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.testimonial-meta {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ── CAROUSEL DOTS ── */
.carousel-dot-active {
  width: 28px;
  background: #EED3D9;
}

.carousel-dot-inactive {
  width: 28px;
  background: rgba(125,128,135,0.3);
}

/* ── GALLERY SECTION ── */
.gallery-heading {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
}

/* ── GALLERY INSTAGRAM LINK ── */
.gallery-instagram-link {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ── CONTACT SECTION ── */
.contact-section {
  background: #ffffff;
}

.contact-send-heading {
  font-size: clamp(36px, 4vw, 56px) !important;
  font-weight: 400;
}

.contact-send-body {
  font-weight: 300;
}

.contact-form-label {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-textarea-pad {
  padding-top: 10px;
}

.contact-submit-btn {
  background: #919250;
  color: #fff;
  border-color: #919250;
}

/* ── CONTACT INFO BLOCKS ── */
.contact-info-heading {
  font-weight: 400;
}

.contact-info-body {
  font-family: 'SaudiWeb', sans-serif;
  font-weight: 300;
}

/* ── MAP ── */
.map-wrap {
  height: 340px;
  overflow: hidden;
}

.map-iframe {
  border: 0;
  display: block;
  filter: grayscale(0.25) contrast(1.05);
}

/* ── FOOTER ── */
.site-footer {
  background: #495059;
}

.footer-cta-band {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-cta-eyebrow {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-cta-heading {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 300;
}

.footer-cta-btn {
  background: #EED3D9;
  color: #3A2E24;
}

/* ── FOOTER LOGO ── */
.footer-logo-letter {
  font-family: 'SaudiWeb', serif;
  font-size: 34px;
  color: #EED3D9;
  font-weight: 300;
  line-height: 1;
}

.footer-logo-wrap {
  line-height: 1.3;
}

.footer-logo-name {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 18px;
  letter-spacing: 0.22em;
  color: #F5E8DD;
  font-weight: 500;
  text-transform: uppercase;
}

.footer-logo-subtitle {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #EED3D9;
  font-weight: 300;
  text-transform: uppercase;
}

.footer-tagline {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 17px;
  font-weight: 300;
  max-width: 320px;
}

.footer-copyright {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 17px;
}

/* ── FOOTER NAV ── */
.footer-nav-heading {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-nav-link {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 17px;
  font-weight: 300;
}

/* ── FOOTER CONNECT ── */
.footer-connect-heading {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-social-label {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 17px;
  font-weight: 300;
}

/* ── FOOTER BOTTOM BAR ── */
.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-text {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 17px;
  letter-spacing: 0.06em;
}

.footer-bottom-link {
  font-family: 'SaudiWeb', sans-serif;
  font-size: 17px;
}

/* ── ABOUT SECTION layout row ── */
.about-layout-row {
  min-height: 88vh;
}

/* ── UTILITY: text-decoration none (used on contact/footer links) ── */
.no-underline {
  text-decoration: none;
}

/* ── em italic — redundant with browser default but kept explicit ── */
.italic-em {
  font-style: italic;
}
