/*
 * Vika Therapy — main stylesheet
 * Depends on: Bootstrap 5, FontAwesome 6
 */

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --font-body:    "Open Sans", system-ui, -apple-system, sans-serif;
  --font-heading: "Montserrat", sans-serif;
  --font-nav:     "Poppins", sans-serif;

  --color-bg:       #ffffff;
  --color-text:     #212529;
  --color-heading:  #32353a;
  --color-accent:   #25d366;   /* WhatsApp / brand green */
  --color-surface:  #ffffff;
  --color-contrast: #ffffff;

  --nav-color:          #3a3939;
  --nav-hover:          #e84545;
  --nav-mobile-bg:      #ffffff;

  scroll-behavior: smooth;
}

.light-background { --color-bg: #f9f9f9; --color-surface: #ffffff; }
.dark-background  { --color-bg: #060606; --color-text: #ffffff; --color-heading: #ffffff; --color-surface: #252525; }

/* ── Reset / base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
}

a { color: var(--color-accent); text-decoration: none; transition: color .25s; }
a:hover { color: color-mix(in srgb, var(--color-accent), transparent 25%); }

img { max-width: 100%; }

/* ── Header ─────────────────────────────────────────────────────────────── */
#header {
  z-index: 997;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 14px 0;
  transition: background .3s, box-shadow .3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 16px;
}

.header-left .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-left .logo img { height: 45px; width: auto; }

.header-left .sitename {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0;
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language switcher */
.language-switcher {
  display: flex;
  gap: 6px;
}

.language-switcher a {
  font-family: var(--font-nav);
  font-size: .75rem;
  font-weight: 600;
  color: var(--nav-color);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all .2s;
  letter-spacing: .05em;
}

.language-switcher a:hover,
.language-switcher a.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* WhatsApp CTA button */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-nav);
  font-size: .82rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .25s, transform .15s;
}

.btn-wa:hover {
  background: #1ebe5a;
  color: #fff;
  transform: translateY(-1px);
}

/* ── Navigation (hidden on mobile — link list shown in offcanvas) ─────── */
.navmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
}

.navmenu ul li a {
  font-family: var(--font-nav);
  font-size: .9rem;
  font-weight: 500;
  color: var(--nav-color);
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: color .2s, background .2s;
}

.navmenu ul li a:hover,
.navmenu ul li a.active {
  color: var(--nav-hover);
  background: rgba(232,69,69,.07);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero .container { position: relative; z-index: 2; width: 100%; }

/* Desktop: bottom-left */
.hero-overlay {
  position: absolute;
  bottom: 56px;
  left: 60px;
  z-index: 3;
}

/* Glass text box */
.hero-text-box {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px 32px;
  max-width: 460px;
}

.hero-text-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  margin: 0 0 6px;
  white-space: nowrap;
}

.hero-text-box p {
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,.9);
  margin: 0;
  white-space: nowrap;
}

/* Sub-desktop: centred */
@media (max-width: 991px) {
  .hero-overlay {
    position: static;
    display: flex;
    justify-content: center;
    padding: 0 16px 56px;
  }
  .hero-text-box h2,
  .hero-text-box p { white-space: normal; text-align: center; }
  .hero { align-items: flex-end; }
}

/* ── Section titles ─────────────────────────────────────────────────────── */
.section {
  padding: 80px 0;
  background-color: var(--color-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* ── About section ──────────────────────────────────────────────────────── */
.about .content h2 { font-size: 1.75rem; margin-bottom: 16px; }
.about .content p  { line-height: 1.8; }

/* ── Stats / dark banner ────────────────────────────────────────────────── */
.stats {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.stats > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.5);
}

.stats .container { position: relative; z-index: 2; }

.stats h2 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
}

.stats p {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
}

/* ── Offer cards ────────────────────────────────────────────────────────── */
.offer-card {
  background: var(--color-surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}

.offer-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.offer-card-body { padding: 24px; }

.offer-card-body .bigtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 6px;
}

.offer-card-body .sessions {
  font-size: .85rem;
  color: #6c757d;
  margin-bottom: 16px;
}

.offer-card-body .section-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-accent);
  margin: 14px 0 4px;
}

.offer-card-body p { font-size: .92rem; color: #495057; margin: 0 0 4px; }

.offer-card-body .price {
  display: inline-block;
  margin-top: 16px;
  background: var(--color-accent);
  color: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
}

/* ── Work areas (offer text) ────────────────────────────────────────────── */
.work-areas .card {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}

.work-areas .card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(37,211,102,.15);
}

.work-areas .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* ── CTA section ────────────────────────────────────────────────────────── */
.call-to-action {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 0;
}

.call-to-action > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.4);
}

.call-to-action .container { position: relative; z-index: 2; }

.call-to-action h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.call-to-action p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 28px; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .25s, transform .15s;
}

.cta-btn:hover { background: #1ebe5a; color: #fff; transform: translateY(-2px); }

/* ── Blog cards ─────────────────────────────────────────────────────────── */
.blog-card {
  background: var(--color-surface);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,.12); }

.blog-card-img { overflow: hidden; height: 200px; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-date { font-size: .78rem; color: #adb5bd; margin-bottom: 8px; display: block; }

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-summary { font-size: .9rem; color: #6c757d; flex: 1; line-height: 1.6; margin-bottom: 16px; }

.blog-card-link {
  color: var(--color-accent);
  font-weight: 600;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card-link:hover { gap: 8px; }

.blog-preview-viewall {
  text-align: center;
  margin-top: 40px;
}

.blog-preview-viewall a {
  display: inline-block;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding: 11px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: all .25s;
}

.blog-preview-viewall a:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ── Blog article ───────────────────────────────────────────────────────── */
.blog-article-hero {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 40px;
}

.blog-article-body { font-size: 1.05rem; line-height: 1.85; color: #343a40; }
.blog-article-body h2 { font-size: 1.5rem; margin: 40px 0 14px; color: var(--color-heading); }
.blog-article-body h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.blog-article-body p { margin: 0 0 1.2em; }
.blog-article-body img { border-radius: 12px; margin: 24px 0; max-width: 100%; }

.article-tip {
  background: linear-gradient(135deg, #f0fdf4, #e8f5e9);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 28px 0;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: #f8f9fa;
  padding: 60px 0 30px;
  border-top: 1px solid #e9ecef;
}

.footer .sitename {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-heading);
  font-size: 1.2rem;
}

.footer h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { color: #6c757d; font-size: .9rem; transition: color .2s; }
.footer ul li a:hover { color: var(--color-accent); }

.footer p { font-size: .9rem; color: #6c757d; }

.social-links { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 1rem;
  transition: all .2s;
}
.social-links a:hover { border-color: var(--color-accent); color: var(--color-accent); }

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #e9ecef;
  font-size: .85rem;
  color: #adb5bd;
}

/* ── Scroll-top button ──────────────────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 996;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
  transition: background .2s, transform .15s;
}

#scroll-top.active { display: flex; }
#scroll-top:hover  { background: #1ebe5a; transform: translateY(-2px); }

/* ── Preloader ──────────────────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s;
}

#preloader.done { opacity: 0; pointer-events: none; }

#preloader::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid #e9ecef;
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Utilities ──────────────────────────────────────────────────────────── */
.text-accent { color: var(--color-accent) !important; }
.bg-accent   { background: var(--color-accent) !important; }

.rounded-xl  { border-radius: 1rem !important; }
.rounded-2xl { border-radius: 1.5rem !important; }

/* ── Blog listing page ──────────────────────────────────────────────────── */
.blog-page-header {
  background: linear-gradient(135deg, #f0fdf4, #e8f5e9);
  padding: 80px 0 60px;
  text-align: center;
}

.blog-page-header h1 { font-size: 2.5rem; font-weight: 800; }
.blog-page-header p  { font-size: 1.1rem; color: #6c757d; }

/* ── Header scrolled state ──────────────────────────────────────────────── */
#header.scrolled {
  box-shadow: 0 2px 32px rgba(0,0,0,.13);
}

/* ── Mobile nav drawer ──────────────────────────────────────────────────── */
#mobile-navmenu a {
  font-family: var(--font-nav);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-heading);
  padding: 12px 0;
  display: block;
  border-bottom: 1px solid #f1f3f5;
  text-decoration: none;
  transition: color .2s;
}

#mobile-navmenu a:hover { color: var(--color-accent); }

/* ── Responsive helpers ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .btn-wa span { display: none; }
  .btn-wa { padding: 9px 14px; }
  .hero-text-box { max-width: 100%; }
}

@media (max-width: 575px) {
  .section { padding: 56px 0; }
  .stats h2 { font-size: 2.6rem; }
}

/* ── Yoga page ──────────────────────────────────────────────────────────── */
.yoga-page-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.yoga-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f3e5f5 0%, #ede7f6 40%, #e8f5e9 100%);
  z-index: 0;
}

.yoga-hero-bg::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156,39,176,.10) 0%, transparent 70%);
  top: -200px; right: -150px;
}

.yoga-hero-bg::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,211,102,.10) 0%, transparent 70%);
  bottom: -100px; left: -80px;
}

.yoga-hero-icon {
  width: 90px; height: 90px;
  margin: 0 auto 24px;
}

.yoga-hero-icon svg { width: 100%; height: 100%; }

.yoga-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #4a1480;
  margin-bottom: 12px;
}

.yoga-hero-sub {
  font-size: 1.1rem;
  color: #5d4e7a;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.yoga-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff0000;
  color: #fff;
  border-radius: 50px;
  padding: 11px 24px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(255,0,0,.3);
}

.yoga-yt-btn:hover {
  background: #cc0000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,0,0,.35);
}

/* ── Video cards ───────────────────────────────────────────── */
.video-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  text-decoration: none;
  color: inherit;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(74,20,128,.14);
  color: inherit;
}

.video-thumb-wrap {
  position: relative;
  overflow: hidden;
  background: #1a1a2e;
  aspect-ratio: 4/3;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s, opacity .25s;
}

.video-card:hover .video-thumb {
  transform: scale(1.04);
  opacity: .85;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}

.video-play-btn svg {
  width: 64px; height: 64px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}

.video-card:hover .video-play-btn { opacity: 1; }

.video-type-badge {
  position: absolute;
  top: 10px; left: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
}

.badge-short {
  background: rgba(156,39,176,.85);
  color: #fff;
  backdrop-filter: blur(4px);
}

.badge-video {
  background: rgba(44,94,63,.82);
  color: #fff;
  backdrop-filter: blur(4px);
}

.video-card-body {
  padding: 14px 16px 16px;
}

.video-title {
  font-size: .95rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  color: #777;
}

.video-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.video-date { margin-left: auto; }

/* ── Yoga live CTA ─────────────────────────────────────────── */
.yoga-live-cta {
  background: linear-gradient(135deg, #4a1480, #7b1fa2, #2c5e3f);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.yoga-live-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.yoga-live-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.yoga-live-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.yoga-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #833ab4;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

.yoga-live-btn:hover {
  background: #f8e8ff;
  color: #6a0dad;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}

@media (max-width: 575px) {
  .yoga-page-hero { padding: 100px 0 60px; }
  .yoga-hero-icon { width: 70px; height: 70px; }
}
