/*
 Theme Name:   CoolCat Driving School
 Theme URI:    https://coolcatdrivingschool.com.au
 Description:  CoolCat Driving School — standalone dark neon theme.
 Author:       CoolCat Driving School
 Author URI:   https://coolcatdrivingschool.com.au
 Version:      1.0.4
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  coolcat
*/

/* ============================================================
   COOL CAT DRIVING SCHOOL — CHILD THEME STYLES
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --cc-bg:           #050510;
  --cc-bg2:          #12121a;
  --cc-bg3:          #1a1a28;
  --cc-neon:         #ffe000;
  --cc-neon-dim:     rgba(255, 224, 0, 0.15);
  --cc-pink:         #ff2d78;
  --cc-pink-dim:     rgba(255, 45, 120, 0.15);
  --cc-cyan:         #00e5ff;
  --cc-cyan-dim:     rgba(0, 229, 255, 0.1);
  --cc-text:         #f0edee;
  --cc-text-muted:   rgba(240, 237, 238, 0.72);
  --cc-glass:        rgba(255, 255, 255, 0.055);
  --cc-glass-border: rgba(255, 255, 255, 0.1);
  --cc-radius:       16px;
  --cc-radius-lg:    24px;
  --cc-shadow:       0 8px 32px rgba(0, 0, 0, 0.4);
  --cc-glow-yellow:  0 0 40px rgba(255, 224, 0, 0.25);
  --cc-glow-pink:    0 0 40px rgba(255, 45, 120, 0.2);
}

/* ---------- GLOBAL BASE ---------- */
html {
  background-color: #050510 !important;
}

body {
  background-image: url('https://coolcatdrivingschool.com/wp-content/uploads/2026/03/gor-final-blend.jpg') !important;
  background-size: 100% auto !important;
  background-position: center top !important;
  background-repeat: repeat-y !important;
  background-attachment: scroll !important;
  background-color: #050510 !important;
  color: var(--cc-text) !important;
  font-family: 'Nunito', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

/* Dark overlay on body pseudo — sits between photo and content */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg,
    rgba(5,5,16,0.10) 0%,
    rgba(5,5,16,0.18) 40%,
    rgba(5,5,16,0.30) 100%
  );
  pointer-events: none;
}

/* ---------- BACKGROUND WRAPPERS ---------- */
.cc-parallax-wrap { position: relative; min-height: 100vh; }
.cc-parallax-bg, .cc-parallax-mid, .cc-noise { display: none; }

/* Content sits above body::before overlay */
.cc-content-wrap {
  position: relative;
  z-index: 2;
}

/* ---------- TYPOGRAPHY ---------- */
a { color: var(--cc-neon); text-decoration: none; }
a:hover { color: var(--cc-cyan); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bangers', cursive !important;
  letter-spacing: 0.04em;
  color: var(--cc-text) !important;
}

/* ---------- GLASS PANEL UTILITY ---------- */
.cc-glass {
  background: var(--cc-glass);
  border: 1px solid var(--cc-glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--cc-radius);
  box-shadow:
    0 16px 56px rgba(0, 0, 0, 0.55),
    0 6px 20px rgba(0, 0, 0, 0.35),
    0 0 80px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* ---------- NEON BUTTON ---------- */
.cc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.cc-btn-primary {
  background: var(--cc-neon);
  color: #0a0a0f;
  box-shadow: var(--cc-glow-yellow);
}
.cc-btn-primary:hover {
  background: #fff176;
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(255, 224, 0, 0.4);
  color: #0a0a0f;
}

.cc-btn-secondary {
  background: transparent;
  color: var(--cc-text);
  border: 1.5px solid var(--cc-glass-border);
}
.cc-btn-secondary:hover {
  border-color: var(--cc-neon);
  color: var(--cc-neon);
  transform: translateY(-2px);
}

/* ---------- HERO ---------- */
.cc-hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cc-hero-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }

.cc-cat-icon {
  font-size: 4.5rem;
  display: inline-block;
  animation: catBounce 2s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(255, 224, 0, 0.5));
  line-height: 1;
  margin-bottom: 0.5rem;
}

@keyframes catBounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-12px) rotate(5deg); }
}

.cc-hero h1 {
  font-size: clamp(3.5rem, 12vw, 7rem) !important;
  line-height: 0.95 !important;
  margin: 1rem 0 1.5rem !important;
  font-family: 'Bangers', cursive !important;
  background: linear-gradient(135deg, var(--cc-neon) 0%, var(--cc-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 30px rgba(255,45,120,0.4));
  letter-spacing: 0.04em;
}

.cc-hero .accent { color: var(--cc-neon); }

.cc-hero .subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--cc-text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cc-price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  background: var(--cc-glass);
  border: 1px solid var(--cc-glass-border);
  border-radius: 100px;
  padding: 0.6rem 1.4rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 12px 44px rgba(0, 0, 0, 0.55),
    0 4px 14px rgba(0, 0, 0, 0.35),
    0 0 60px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.cc-price-pill .amount {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--cc-neon);
  letter-spacing: 0.02em;
}

.cc-price-pill .per {
  font-size: 1.1rem;
  color: var(--cc-text);
}

.cc-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------- TRUST BAR ---------- */
.cc-trust-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--cc-glass-border);
  border-bottom: 1px solid var(--cc-glass-border);
  background: rgba(5,5,16,0.6);
  backdrop-filter: blur(16px);
}

.cc-trust-item {
  flex: 1;
  max-width: 160px;
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--cc-glass-border);
}
.cc-trust-item:last-child { border-right: none; }

.cc-trust-item .num {
  font-family: 'Bangers', cursive;
  font-size: 1.8rem;
  color: var(--cc-neon);
  letter-spacing: 0.05em;
  line-height: 1;
}

.cc-trust-item .lbl {
  font-size: 0.75rem;
  color: var(--cc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

/* ---------- SECTION WRAPPER ---------- */
.cc-section {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.cc-section-title {
  font-family: 'Bangers', cursive !important;
  font-size: clamp(2.2rem, 6vw, 3.5rem) !important;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.cc-section-title span {
  color: var(--cc-neon);
}

.cc-section-sub {
  text-align: center;
  color: var(--cc-text-muted);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* ---------- FEATURES GRID ---------- */
.cc-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.cc-feature-card {
  background: var(--cc-glass);
  border: 1px solid var(--cc-glass-border);
  border-radius: var(--cc-radius);
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 16px 56px rgba(0, 0, 0, 0.55),
    0 6px 20px rgba(0, 0, 0, 0.35),
    0 0 80px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cc-feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(255, 224, 0, 0.35);
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.65),
    0 8px 28px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(255, 224, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cc-feature-card .icon { font-size: 2.2rem; margin-bottom: 0.75rem; display: block; }
.cc-feature-card h3 {
  font-family: 'Bangers', cursive !important;
  font-size: 1.3rem !important;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: var(--cc-text) !important;
  -webkit-text-fill-color: var(--cc-text) !important;
}
.cc-feature-card p { color: var(--cc-text-muted); font-size: 1.05rem; line-height: 1.6; }

/* ---------- BOOKING SECTION ---------- */
.cc-booking-wrap {
  background: var(--cc-glass);
  border: 1px solid var(--cc-glass-border);
  border-radius: var(--cc-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 2rem;
  box-shadow:
    0 16px 56px rgba(0, 0, 0, 0.55),
    0 6px 20px rgba(0, 0, 0, 0.35),
    0 0 80px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.cc-or-divider {
  text-align: center;
  color: var(--cc-text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 1.5rem 0;
  position: relative;
}

.cc-or-divider::before,
.cc-or-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--cc-glass-border);
}
.cc-or-divider::before { left: 0; }
.cc-or-divider::after  { right: 0; }

/* ---------- TESTIMONIALS ---------- */
.cc-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.cc-testimonial {
  background: var(--cc-glass);
  border: 1px solid var(--cc-glass-border);
  border-radius: var(--cc-radius);
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 16px 56px rgba(0, 0, 0, 0.55),
    0 6px 20px rgba(0, 0, 0, 0.35),
    0 0 80px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cc-testimonial:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.65),
    0 8px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cc-testimonial .stars { color: var(--cc-neon); font-size: 1rem; margin-bottom: 0.75rem; }
.cc-testimonial p { color: var(--cc-text-muted); font-size: 1.05rem; line-height: 1.65; font-style: italic; }
.cc-testimonial .author { margin-top: 1rem; font-size: 0.95rem; color: var(--cc-cyan); font-weight: 700; }

/* ---------- MAP SECTION ---------- */
.cc-map-wrap {
  border-radius: var(--cc-radius-lg);
  overflow: hidden;
  border: 1px solid var(--cc-glass-border);
  box-shadow: var(--cc-shadow);
  height: 400px;
}

.cc-map-wrap iframe { width: 100%; height: 100%; border: 0; filter: invert(90%) hue-rotate(180deg); }

/* ---------- FOOTER ---------- */
.cc-footer {
  background: rgba(5,5,16,0.9) !important;
  border-top: 1px solid var(--cc-glass-border);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.cc-footer-logo {
  font-family: 'Bangers', cursive;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--cc-neon);
  margin-bottom: 0.75rem;
}

.cc-footer p { color: var(--cc-text-muted); font-size: 0.95rem; line-height: 1.8; }
.cc-footer a { color: var(--cc-neon); }

.cc-footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.cc-footer-links a { color: var(--cc-text-muted); font-size: 0.95rem; transition: color 0.2s; }
.cc-footer-links a:hover { color: var(--cc-neon); }

/* ---------- SCROLL REVEAL ---------- */
.cc-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.cc-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.cc-reveal-d1 { transition-delay: 0.1s; }
.cc-reveal-d2 { transition-delay: 0.2s; }
.cc-reveal-d3 { transition-delay: 0.3s; }

/* ---------- MOBILE ---------- */
@media (max-width: 600px) {
  .cc-hero-btns { flex-direction: column; align-items: center; }
  .cc-hero-btns .cc-btn { width: 100%; justify-content: center; }
  .cc-trust-bar { flex-wrap: wrap; }
  .cc-trust-item { min-width: 33%; border-right: 1px solid var(--cc-glass-border); }
  .cc-section { padding: 3.5rem 1.25rem; }
  .cc-booking-wrap { padding: 1.5rem 1rem; }
}

/* ---------- SIMPLY SCHEDULE APPOINTMENTS OVERRIDES ---------- */
.ssa-booking-form { background: transparent !important; }
.ssa-booking-form input,
.ssa-booking-form select,
.ssa-booking-form textarea {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid var(--cc-glass-border) !important;
  color: var(--cc-text) !important;
  border-radius: 8px !important;
}
.ssa-booking-form .ssa-btn,
.ssa-booking-form button[type="submit"] {
  background: var(--cc-neon) !important;
  color: #0a0a0f !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 800 !important;
  border-radius: 100px !important;
  border: none !important;
}
.ssa-time-slot.available {
  background: var(--cc-glass) !important;
  border-color: var(--cc-glass-border) !important;
  color: var(--cc-text) !important;
}
.ssa-time-slot.available:hover,
.ssa-time-slot.selected {
  border-color: var(--cc-neon) !important;
  background: var(--cc-neon-dim) !important;
  color: var(--cc-neon) !important;
}

/* ---------- FINAL OVERRIDES — beat WordPress global styles ---------- */
html { background-color: #050510 !important; }
body { background-color: #050510 !important; color: #f0edee !important; }
.wp-site-blocks, .wp-block-group, .entry-content, .wp-block-post-content { background: transparent !important; color: #f0edee !important; }

.cc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000 !important;
  background: rgba(5, 5, 16, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease;
}



