/*
Theme Name: ACTIV
Theme URI: https://activ.live
Author: ACTIV
Description: Custom WordPress theme for ACTIV — India's Sports & Wellbeing Platform. Converted from the ACTIV static HTML site.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: activ
*/

/* ============================================================
   ACTIV — Shared Design System
   ============================================================ */

/* ── Outfit — self-hosted ── */
@font-face { font-family: 'Outfit'; src: url('assets/fonts/Outfit-Thin.ttf') format('truetype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('assets/fonts/Outfit-ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('assets/fonts/Outfit-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('assets/fonts/Outfit-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('assets/fonts/Outfit-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('assets/fonts/Outfit-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('assets/fonts/Outfit-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('assets/fonts/Outfit-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('assets/fonts/Outfit-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }

/* ── Urbanist — self-hosted ── */
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-Thin.ttf') format('truetype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-ThinItalic.ttf') format('truetype'); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-ExtraLightItalic.ttf') format('truetype'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-LightItalic.ttf') format('truetype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-MediumItalic.ttf') format('truetype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-SemiBoldItalic.ttf') format('truetype'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-BoldItalic.ttf') format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-ExtraBoldItalic.ttf') format('truetype'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('assets/fonts/Urbanist-BlackItalic.ttf') format('truetype'); font-weight: 900; font-style: italic; font-display: swap; }

/* ---- Root Variables ---- */
:root {
  --bg:          #0b0e0b;
  --bg-alt:      #0e120e;
  --bg-card:     #141914;
  --bg-card2:    #1b201b;
  --accent:      #c5f135;
  --accent-dim:  rgba(197, 241, 53, 0.12);
  --accent-bdr:  rgba(197, 241, 53, 0.22);
  --white:       #ffffff;
  --gray:        #9ba49b;
  --muted:       #535c53;
  --border:      #1f241f;
  --border2:     #282e28;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-pill: 100px;
  --font:   'Inter', system-ui, -apple-system, sans-serif;
  --max-w:  1120px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; }
button { font-family: var(--font); cursor: pointer; }

/* ============================================================
   NAVBAR (shared across every page — header.php)
   ============================================================ */
.site-nav-wrap { padding: 20px 86px 0; position: relative; z-index: 200; }
.site-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 28px;
  background: linear-gradient(90deg, rgba(14,16,6,0.85) 0%, rgba(28,34,14,0.95) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  border: 1px solid rgba(50,60,22,0.5);
}
.site-nav-logo { display: flex; align-items: baseline; gap: 2px; text-decoration: none; }
.site-nav-links { display: flex; gap: 32px; list-style: none; }
.site-nav-links a {
  font-family: 'Urbanist', sans-serif;
  font-size: 15px;
  color: #9a9f8e;
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav-links a:hover { color: #e6ecd7; }
.site-nav-links li.current-menu-item > a { color: #bbd864; font-weight: 600; }
.site-nav-cta {
  background: #bbd864;
  color: #080c08;
  padding: 9px 20px;
  border-radius: 8px;
  font-family: 'Urbanist', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  transition: opacity 0.2s;
  text-decoration: none;
}
.site-nav-cta:hover { opacity: 0.88; }
.site-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.site-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e6ecd7;
  border-radius: 2px;
  transition: all 0.25s;
}
.site-mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(14,16,6,0.97);
  border: 1px solid rgba(50,60,22,0.5);
  border-radius: 16px;
  margin-top: 8px;
  padding: 16px 20px;
  gap: 4px;
}
.site-mobile-menu a {
  font-family: 'Urbanist', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #9a9f8e;
  text-decoration: none;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(50,60,22,0.3);
  transition: color 0.2s;
  display: block;
}
.site-mobile-menu li:last-child a { border-bottom: none; }
.site-mobile-menu a:hover { color: #e6ecd7; }
.site-mobile-menu li.current-menu-item > a { color: #bbd864; font-weight: 600; }
.site-mobile-menu.open { display: flex; }
@media (max-width: 768px) {
  .site-nav-wrap { padding: 12px 16px 0; }
  .site-nav-links, .site-nav-cta { display: none; }
  .site-hamburger { display: flex; }
  .site-navbar { height: 56px; padding: 0 20px; }
}

/* ============================================================
   GENERIC PAGE FALLBACK (page.php — any page without a dedicated template)
   ============================================================ */
body.page { background: #0f0f0f; font-family: 'Outfit', sans-serif; }
.generic-page-hero { text-align: center; padding: 72px 60px 40px; }
.generic-page-hero h1 {
  font-family: 'Urbanist', sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #fff;
}
.generic-page-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #999d8c;
}
.generic-page-body h2, .generic-page-body h3 { color: #e6ecd7; font-family: 'Urbanist', sans-serif; margin: 32px 0 12px; }
.generic-page-body a { color: #bbd864; text-decoration: underline; }
.generic-page-body img { max-width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 768px) {
  .generic-page-hero { padding: 48px 20px 32px; }
  .generic-page-hero h1 { font-size: 36px; }
  .generic-page-body { padding: 0 20px 80px; }
}

/* ============================================================
   FOOTER (shared across every page)
   ============================================================ */
footer {
  background: #0D0F06;
  padding: 80px 87px 50px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}
.f-brand { max-width: 415px; }
.f-brand .f-logo {
  font-family: 'Urbanist', sans-serif;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 10px;
}
.f-brand .f-logo .a { color: #bbd864; }
.f-brand .f-logo .tm {
  font-size: 14px;
  font-weight: 400;
  vertical-align: super;
  color: #4e5640;
  margin-left: 3px;
}
.f-brand .f-desc {
  font-family: 'Urbanist', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 34px;
  color: #E6ECD7;
  margin-bottom: 48px;
}
.f-brand .f-contact-lbl {
  font-family: 'Urbanist', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 16px;
}
.f-brand .f-email {
  font-family: 'Urbanist', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #bbd864;
  text-decoration: underline;
  transition: opacity 0.2s;
}
.f-brand .f-email:hover { opacity: 0.8; }
.f-cols-wrap {
  display: flex;
  gap: 80px;
  padding-top: 8px;
}
.f-col h5 {
  font-family: 'Urbanist', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 39px;
}
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.f-col ul li a {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  color: #9A9F8E;
  text-decoration: none;
  transition: color 0.2s;
}
.f-col ul li a:hover { color: #e6ecd7; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #1a1f0e;
}
.f-copy {
  font-family: 'Urbanist', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #E6ECD7;
}
.socials { display: flex; gap: 7px; }
.social-btn {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DAFF50;
  text-decoration: none;
  transition: background 0.2s;
}
.social-btn:hover { background: #3f4a28; }
.social-btn svg { width: 36px; height: 36px; fill: #ffffff; }
.social-btn svg path { fill: #ffffff; }

/* ============================================================
   RESPONSIVE (footer)
   ============================================================ */
@media (max-width: 1100px) {
  footer { padding: 60px 40px 40px; }
  .f-cols-wrap { gap: 48px; }
  .f-brand .f-desc { font-size: 20px; line-height: 30px; }
  .f-brand .f-contact-lbl, .f-brand .f-email { font-size: 20px; }
  .f-col h5 { font-size: 20px; margin-bottom: 28px; }
  .f-col ul li a { font-size: 20px; }
}
@media (max-width: 768px) {
  .footer-grid { flex-direction: column; gap: 48px; }
  .f-cols-wrap { gap: 40px; flex-wrap: wrap; }
  .f-brand .f-desc { font-size: 18px; }
  .f-brand .f-contact-lbl, .f-brand .f-email { font-size: 18px; }
  .f-col h5 { font-size: 18px; margin-bottom: 24px; }
  .f-col ul li a { font-size: 18px; }
  footer { padding: 60px 20px 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .socials { justify-content: center; }
  .social-btn { width: 52px; height: 52px; }
  .social-btn svg { width: 26px; height: 26px; }
}
