/*
Theme Name: Banana Skool
Theme URI: https://bananaskool.com
Author: Banana Skool
Author URI: https://bananaskool.com
Description: Custom WordPress theme for Banana Skool. Built for Elementor page builder — all sections, text, images, and buttons are fully editable.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 7.4
Elementor tested up to: 3.21
Elementor Pro tested up to: 3.21
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: banana-skool
Tags: one-page, education, elementor, custom-background, custom-colors, full-width-template
*/

/* ============================================================
   BANANA SKOOL — GLOBAL CSS VARIABLES & BASE STYLES
   These variables power the Elementor custom-CSS fields
   and the theme stylesheet. Edit in: Appearance → Customize
   ============================================================ */

:root {
  --bs-bg:           #f7f5f0;
  --bs-fg:           #1f1c16;
  --bs-card:         #f2efe8;
  --bs-card-border:  #d9d4c8;
  --bs-primary:      #ffd700;
  --bs-primary-dark: #ccac00;
  --bs-primary-fg:   #000;
  --bs-secondary:    #111;
  --bs-secondary-fg: #fff;
  --bs-muted:        #7a7568;
  --bs-surface-warm: #ece8df;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bs-bg);
  color: var(--bs-fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
}

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

a { text-decoration: none; }

/* ============================================================
   ELEMENTOR OVERRIDES — ensure Elementor sections fill correctly
   ============================================================ */

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1200px;
}

/* Remove default body padding when Elementor canvas template is used */
.elementor-page .site-header,
.elementor-page .site-footer {
  display: none;
}

/* ============================================================
   UTILITY — Text gradient (used via Elementor HTML widget)
   ============================================================ */

.text-gradient {
  background: linear-gradient(135deg, #ffd700, #e6b800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   BUTTONS  (reusable via Elementor Button widget CSS classes)
   Add class "bs-btn-hero" or "bs-btn-outline" to Elementor buttons
   ============================================================ */

.btn,
.elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.bs-btn-hero,
.elementor-button.bs-btn-hero {
  background: linear-gradient(135deg, #ffd700, #ffe44d) !important;
  color: #000 !important;
  box-shadow: 0 8px 30px -8px rgba(255, 215, 0, 0.4);
  border-radius: 16px !important;
  font-size: 16px !important;
  padding: 16px 32px !important;
}

.bs-btn-hero:hover,
.elementor-button.bs-btn-hero:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 50px -12px rgba(255, 215, 0, 0.5);
}

.bs-btn-outline,
.elementor-button.bs-btn-outline {
  background: transparent !important;
  color: var(--bs-fg) !important;
  border: 2px solid #ffd700 !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
  border-radius: 16px !important;
}

.bs-btn-outline:hover,
.elementor-button.bs-btn-outline:hover {
  background: #ffd700 !important;
  color: #000 !important;
}

/* ============================================================
   NAVBAR  (rendered via header.php — editable in Customizer)
   ============================================================ */

.bs-navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--bs-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bs-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.bs-navbar-logo img { height: 48px; width: auto; }

.bs-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.bs-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.bs-nav-links a:hover { color: #fff; }

.bs-mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.bs-mobile-menu {
  display: none;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bs-mobile-menu a {
  display: block;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
}

@media (max-width: 768px) {
  .bs-nav-links,
  .bs-nav-cta { display: none !important; }
  .bs-mobile-menu-btn { display: block; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.bs-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 40px 0;
  background: var(--bs-bg);
}

.bs-hero-blob1 {
  position: absolute;
  top: 80px;
  left: -128px;
  width: 384px;
  height: 384px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.2);
  filter: blur(48px);
  pointer-events: none;
}

.bs-hero-blob2 {
  position: absolute;
  bottom: 40px;
  right: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.1);
  filter: blur(48px);
  pointer-events: none;
}

.bs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.15);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--bs-fg);
  margin-bottom: 16px;
}

.bs-hero-card {
  background: var(--bs-card);
  border: 1px solid var(--bs-card-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 30px -8px rgba(255, 215, 0, 0.4);
}

.bs-hero-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.bs-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 215, 0, 0.05);
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 15px;
}

.bs-highlight-item .bs-check {
  color: #ffd700;
  font-size: 20px;
  font-weight: 700;
}

.bs-hero-price {
  padding-top: 16px;
  font-size: 14px;
  color: var(--bs-muted);
}

.bs-hero-price strong {
  font-size: 18px;
  color: var(--bs-fg);
  font-family: 'Space Grotesk', sans-serif;
}

/* ============================================================
   SECTION DEFAULTS (Elementor sections inherit these)
   ============================================================ */

.bs-section { padding: 80px 0; }
.bs-section-warm { background: var(--bs-surface-warm); }
.bs-section-dark {
  background: var(--bs-secondary);
  color: var(--bs-secondary-fg);
}

.bs-section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  display: block;
}

/* ============================================================
   COURSE CARDS
   ============================================================ */

.bs-course-card {
  border-radius: 24px;
  padding: 32px;
  transition: all 0.3s;
  background: var(--bs-bg);
  border: 1px solid var(--bs-card-border);
  height: 100%;
}

.bs-course-card:hover {
  box-shadow: 0 8px 30px -8px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.bs-course-card.featured {
  background: var(--bs-secondary);
  color: var(--bs-secondary-fg);
  border: 2px solid #ffd700;
}

.bs-course-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.bs-course-icon {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 215, 0, 0.1);
  font-size: 24px;
  display: inline-block;
}

.featured .bs-course-icon { background: rgba(255, 215, 0, 0.2); }

.bs-course-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bs-surface-warm);
  color: var(--bs-muted);
}

.featured .bs-course-tag { background: #ffd700; color: #000; }

.bs-course-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }

.bs-course-card .bs-course-desc {
  font-size: 14px;
  color: var(--bs-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.featured .bs-course-desc { color: rgba(255, 255, 255, 0.7); }

.bs-course-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 14px;
  flex-wrap: wrap;
}

.bs-course-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #ffd700;
}

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */

.bs-step { text-align: center; padding: 16px; }

.bs-step-icon-wrap {
  position: relative;
  display: inline-flex;
  margin-bottom: 16px;
}

.bs-step-icon {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 215, 0, 0.1);
  font-size: 32px;
}

.bs-step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffd700;
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bs-step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.bs-step p { color: var(--bs-muted); line-height: 1.6; font-size: 15px; }

/* ============================================================
   WHY US CARDS
   ============================================================ */

.bs-why-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.bs-why-card:hover {
  background: rgba(255, 215, 0, 0.05);
  border-color: rgba(255, 215, 0, 0.3);
}

.bs-why-icon {
  flex-shrink: 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.15);
  height: fit-content;
  font-size: 24px;
}

.bs-why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.bs-why-card p  { font-size: 14px; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */

.bs-testimonial-card {
  padding: 32px;
  border-radius: 24px;
  background: var(--bs-card);
  border: 1px solid var(--bs-card-border);
  transition: all 0.3s;
}

.bs-testimonial-card:hover {
  box-shadow: 0 8px 30px -8px rgba(255, 215, 0, 0.3);
  transform: translateY(-2px);
}

.bs-stars { color: #ffd700; margin-bottom: 16px; font-size: 18px; letter-spacing: 2px; }

.bs-testimonial-card .bs-quote {
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 15px;
  font-style: italic;
  color: var(--bs-fg);
}

.bs-testimonial-card .bs-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.bs-testimonial-card .bs-role {
  font-size: 13px;
  color: var(--bs-muted);
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.bs-cta-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.bs-cta-wrap h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.bs-cta-wrap p {
  font-size: 18px;
  color: var(--bs-muted);
  max-width: 540px;
  margin: 0 auto 32px;
}

/* ============================================================
   FOOTER  (rendered via footer.php — editable in Customizer)
   ============================================================ */

.bs-footer {
  background: var(--bs-secondary);
  color: var(--bs-secondary-fg);
  padding: 32px 0 20px;
}

.bs-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bs-footer-logo img { height: 56px; width: auto; }

.bs-social-links { display: flex; gap: 24px; }

.bs-social-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 22px;
  transition: color 0.2s;
  line-height: 1;
}

.bs-social-links a:hover { color: #ffd700; }

.bs-footer-bottom {
  margin-top: 24px;
  padding: 24px 24px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .bs-footer-inner { flex-direction: column; text-align: center; }
  .bs-social-links { justify-content: center; }
}

/* ============================================================
   ELEMENTOR-SPECIFIC HELPERS
   ============================================================ */

/* Full-width sections (no horizontal padding) */
.elementor-section.bs-full-width > .elementor-container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Section dividers */
.bs-divider {
  width: 48px;
  height: 4px;
  background: #ffd700;
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* Container helper */
.bs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Grid helpers */
.bs-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bs-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

@media (max-width: 768px) {
  .bs-grid-2,
  .bs-grid-3 { grid-template-columns: 1fr; }
}
