/* ============================================================
   Personal Trainer Dubai — Main Stylesheet
   Font: Inter (Google Fonts) — consistent across all browsers
   ============================================================ */

/* ── ROOT VARIABLES ── */
:root {
  --green: #2ecc40;
  --green-dark: #25a832;
  --green-wa: #25d366;
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --gray: #888888;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-w: 1280px;
  --radius: 8px;
  --transition: 0.25s ease;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }

ul { list-style: none; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 60px);
}

/* ── TYPOGRAPHY SCALE ── */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
  white-space: normal;
  word-break: break-word;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); opacity: 1; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green-wa);
  color: var(--white);
  font-family: var(--font);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-1px); opacity: 1; }

.btn-whatsapp-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green-wa);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.btn-whatsapp-lg:hover { background: #1ebe5a; opacity: 1; }

.btn-block { width: 100%; }

/* ── SITE HEADER (logo only, no nav) ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 64px;
  display: flex;
  align-items: center;
}
.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 60px);
  display: flex;
  align-items: center;
}
.nav-logo { display: flex; align-items: center; }
.logo-img { height: 36px; width: auto; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px clamp(16px, 5vw, 80px) 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
}
.hero-h1 {
  font-size: clamp(1.6rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  white-space: normal;
  word-break: break-word;
}
.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

/* ── BEFORE/AFTER CAROUSEL ── */
.ba-section {
  background: var(--dark);
  padding: 60px 0;
  overflow: hidden;
}
.ba-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 0 clamp(16px, 4vw, 60px);
}
.ba-title {
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
}
.ba-carousel-wrap {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.ba-carousel-wrap:active { cursor: grabbing; }
.ba-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: baScroll 120s linear infinite;
  will-change: transform;
}
.ba-track:hover { animation-play-state: paused; }
.ba-track img {
  height: clamp(200px, 30vw, 320px);
  width: auto;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  pointer-events: none;
  -webkit-user-drag: none;
}
@keyframes baScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--white);
}
.about-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.about-h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 20px;
  color: var(--dark);
}
.about-text-col p {
  margin-bottom: 16px;
  color: #333;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}
.about-text-col .cta-block {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.about-photo {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

/* ── SECTION INTROS ── */
.section-intro {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-h2-large {
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-h2-center {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-sub {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: var(--gray);
}

/* ── TESTIMONIAL SECTIONS ── */
.testi-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--white);
}
.testi-section.bg-light { background: var(--light-gray); }

.testi-row-new {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  margin-bottom: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid #e8e8e8;
}
.testi-row-new:last-child { border-bottom: none; margin-bottom: 0; }

.testi-col-video { width: 100%; }
.testi-col-text { padding: 0 8px; }
.testi-col-ba { width: 100%; }

.client-name {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}
.testi-col-text p {
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
  color: #444;
  margin-bottom: 12px;
  line-height: 1.7;
}
.client-quote {
  font-style: italic;
  color: var(--dark);
  font-weight: 500;
  border-left: 3px solid var(--green);
  padding-left: 12px;
  margin: 16px 0;
}

/* ── VIMEO VERTICAL WRAPPER ── */
.vimeo-vertical-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.vimeo-vertical-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}
.vimeo-vertical-wrapper.active iframe {
  pointer-events: auto;
}
/* Poster thumbnail — shown before video loads */
.vimeo-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  transition: opacity 0.3s ease;
}
.vimeo-vertical-wrapper.active .vimeo-poster {
  opacity: 0;
  pointer-events: none;
}
/* Dark overlay — hidden once active */
.vimeo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
  transition: opacity 0.35s ease;
  border-radius: var(--radius);
}
.vimeo-vertical-wrapper.active .vimeo-overlay {
  opacity: 0;
  pointer-events: none;
}
/* Premium light-green play button */
.vimeo-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(134, 239, 172, 0.82);
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.35s ease;
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.vimeo-play-btn svg {
  width: 22px;
  height: 22px;
  fill: rgba(134, 239, 172, 0.88);
  margin-left: 3px;
}
.vimeo-vertical-wrapper:hover .vimeo-play-btn,
.vimeo-vertical-wrapper:active .vimeo-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(0, 0, 0, 0.5);
}
.vimeo-vertical-wrapper.active .vimeo-play-btn {
  opacity: 0;
  pointer-events: none;
}

/* ── TRAINING PHOTO GRIDS ── */
.training-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}
.training-grid-2col img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* ── KRISTINA TWO GYM PHOTOS ── */
.kristina-two-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}
.kristina-two-photos img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

/* ── BA MAIN IMAGE ── */
.ba-main-img {
  width: 100%;
  height: auto;
  min-height: 300px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: top;
  margin-bottom: 8px;
}

/* ── CTA BLOCK (inline) ── */
.cta-block {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ── CTA BLOCK CENTER (between sections) ── */
.cta-block-center {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 60px);
  background: var(--light-gray);
  margin: 0;
}

/* ── CTA BANNER FULL (before booking form) ── */
.cta-banner-full {
  background: var(--dark);
  padding: clamp(48px, 7vw, 80px) clamp(16px, 4vw, 60px);
}
.cta-banner-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.cta-banner-text {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
}
.cta-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ── TEAM SECTION ── */
.team-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--dark);
}
.team-section .section-h2-center { color: var(--white); }

.trainer-row-new {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trainer-row-new:last-child { border-bottom: none; margin-bottom: 0; }

.trainer-col-info { text-align: center; }
.trainer-profile-sq {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  margin: 0 auto 16px;
  aspect-ratio: 1/1;
}
.trainer-name {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.trainer-title {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.trainer-bio {
  font-size: clamp(0.8rem, 1.4vw, 0.9rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  text-align: left;
}

.trainer-col-clients {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.trainer-col-clients img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* ── SOCIAL PROOF SECTION ── */
.social-proof-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--light-gray);
}

.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
}

/* ── CONTACT / BOOKING FORM ── */
.contact-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contact-h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
}
.contact-left p {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: #444;
  margin-bottom: 12px;
}
.contact-left a { color: var(--green); }

.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-row input,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--green);
}
.form-note {
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
  margin-top: 12px;
}

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: 40px;
}
.footer-logo { height: 110px; width: auto; margin-bottom: 16px; }
.footer p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 8px; }
.footer h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer ul li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.footer a:hover { color: var(--green); opacity: 1; }
.social-row { display: flex; gap: 14px; margin-top: 16px; align-items: center; }
.social-row a { color: rgba(255,255,255,0.6); transition: opacity 0.2s; }
.social-row a.social-instagram { color: #E1306C !important; }
.social-row a.social-whatsapp { color: #25D366 !important; }
.social-row a:hover { opacity: 0.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ── LARGE DESKTOP (1440px+) ── */
@media (min-width: 1440px) {
  .hero-h1 { font-size: 3.4rem; }
  .section-h2-large { font-size: 2.8rem; }
}

/* ── LAPTOP (max 1280px) ── */
@media (max-width: 1280px) {
  .testi-row-new { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .trainer-row-new { grid-template-columns: 240px 1fr; }
}

/* ── TABLET LANDSCAPE (max 1024px) ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-col { order: -1; max-width: 560px; margin: 0 auto; }
  .about-photo { max-height: 400px; object-fit: cover; }

  .testi-row-new {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .testi-col-video { grid-column: 1; grid-row: 1; }
  .testi-col-text  { grid-column: 2; grid-row: 1; }
  .testi-col-ba    { grid-column: 1 / -1; grid-row: 2; }

  .trainer-row-new { grid-template-columns: 200px 1fr; gap: 32px; }
  .social-proof-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── TABLET PORTRAIT (max 900px) ── */
@media (max-width: 900px) {
  .testi-row-new {
    grid-template-columns: 1fr;
  }
  .testi-col-video { grid-column: 1; grid-row: 1; }
  .testi-col-text  { grid-column: 1; grid-row: 2; }
  .testi-col-ba    { grid-column: 1; grid-row: 3; }

  .vimeo-vertical-wrapper { max-width: 400px; }

  .trainer-row-new { grid-template-columns: 1fr; }
  .trainer-profile-sq { max-width: 160px; }
  .trainer-bio { text-align: center; }

  .social-proof-grid { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── MOBILE (max 768px) ── */
@media (max-width: 768px) {
  .hero { padding-top: 80px; padding-bottom: 48px; }
  .hero-h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-whatsapp { width: 100%; justify-content: center; }

  .ba-track img { height: 200px; }

  .about-grid { gap: 28px; }

  .testi-row-new { gap: 20px; margin-bottom: 48px; }
  .vimeo-vertical-wrapper { max-width: 100%; }

  .social-proof-grid { grid-template-columns: 1fr; gap: 24px; }
  .social-proof-grid .vimeo-vertical-wrapper { max-width: 360px; margin: 0 auto; }

  .cta-block-center { flex-direction: column; align-items: stretch; }
  .cta-block-center .btn-primary,
  .cta-block-center .btn-whatsapp { width: 100%; justify-content: center; }

  .cta-banner-btns { flex-direction: column; align-items: stretch; }
  .cta-banner-btns .btn-primary,
  .cta-banner-btns .btn-whatsapp { width: 100%; justify-content: center; }

   .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo { height: 48px; }
  .trainer-col-clients { grid-template-columns: 1fr 1fr; }
}
/* ── SMALL MOBILE (max 480px) ── */
@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(1.2rem, 7vw, 1.6rem); }
  .section-h2-large { font-size: clamp(1.2rem, 6vw, 1.6rem); }

  .ba-track img { height: 160px; }

  .training-grid-2col { grid-template-columns: 1fr 1fr; gap: 6px; }
  .kristina-two-photos { grid-template-columns: 1fr; }

  .trainer-col-clients { grid-template-columns: 1fr 1fr; }

  .btn-primary, .btn-whatsapp {
    font-size: 0.8rem;
    padding: 13px 20px;
  }
}

/* ── VERY SMALL (max 360px) ── */
@media (max-width: 360px) {
  .hero-h1 { font-size: 1.15rem; }
  .btn-primary { font-size: 0.75rem; padding: 12px 16px; }
}
