/*
Theme Name: D3B Kids Theme
Description: A bright, kid-friendly WordPress theme for Dreadlocks and the 3 Bears Productions. Features modern Figma-style design with vibrant colors and playful typography.
Version: 1.0
Author: D3B Productions
Text Domain: d3b-kids-theme
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One:wght@400&display=swap');

/* CSS Custom Properties for Colors */
:root {
  --yellow: #F9B208;
  --coral: #FF6F61;
  --purple: #845EC2;
  --blue: #00C2A8;
  --white: #FFFFFF;
  --black: #333333;
  --light-gray: #F8F9FA;
  --font-primary: 'Fredoka One', cursive;
  --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Modern Button Styles - Figma Style */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), #FF8A80);
  color: var(--white);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--yellow), #FFC107);
  color: var(--black);
}

.btn-tertiary {
  background: linear-gradient(135deg, var(--purple), #9B6BDF);
  color: var(--white);
}

.btn-success {
  background: linear-gradient(135deg, var(--blue), #00D4B8);
  color: var(--white);
}

/* Header Styles - Vimeo Style */
.site-header {
  background: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #f0f0f0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-branding {
  display: flex;
  align-items: center;
}

.site-title {
  color: var(--black);
  font-size: 1.8rem;
  margin: 0;
  font-weight: 700;
}

.site-title a {
  color: var(--black);
  text-decoration: none;
}

.site-description {
  display: none; /* Hide description in header */
}

.logo-illustration {
  display: none; /* Hide logo illustration in header */
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-menu a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--coral);
}

.nav-menu a::after {
  content: '⌄';
  margin-left: 0.25rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-actions a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.header-actions a:hover {
  color: var(--coral);
}

.header-actions .btn-join {
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-actions .btn-join:hover {
  background: #0099cc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 194, 168, 0.3);
}

.social-icons {
  display: none; /* Hide social icons in header */
}

/* Wavy Separator */
.wavy-separator {
  height: 20px;
  background: var(--yellow);
  position: relative;
  overflow: hidden;
}

.wavy-separator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.3) 10px,
    rgba(255, 255, 255, 0.3) 20px
  );
}

/* Hero Section - Slider Revolution Integration */
.hero-section {
  position: relative;
  min-height: 80vh;
  overflow: hidden;
  margin: 2rem;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Ensure Slider Revolution takes full width and height */
.hero-section .rev_slider_wrapper,
.hero-section .rev_slider {
  width: 100% !important;
  height: 100% !important;
  border-radius: 20px;
  overflow: hidden;
}

.hero-section .rev_slider_wrapper {
  min-height: 80vh;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-cta .btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 194, 168, 0.3);
}

.hero-cta .btn-primary:hover {
  background: #0099cc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 194, 168, 0.4);
}

.hero-cta .btn-secondary {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.hero-cta .btn-secondary:hover {
  color: var(--white);
}

/* Video Preview Box */
.video-preview {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-preview:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.video-preview .play-icon {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-image {
  display: none; /* Hide hero image in new design */
}

/* Video Section */
.video-section {
  padding: 4rem 0;
  background: var(--light-gray);
}

.video-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* Buttons Section */
.buttons-section {
  padding: 4rem 0;
  background: var(--white);
}

.buttons-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.button-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.button-card:hover {
  transform: translateY(-5px);
}

.button-card h3 {
  color: var(--purple);
  margin-bottom: 1rem;
}

.button-card p {
  color: var(--black);
  margin-bottom: 1.5rem;
}

/* Content Sections */
.content-section {
  padding: 4rem 0;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.content-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.content-card h3 {
  color: var(--coral);
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--purple), #9B6BDF);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--yellow);
  margin-bottom: 1rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* WooCommerce Styles */
.woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.woocommerce .product {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.woocommerce .product:hover {
  transform: translateY(-5px);
}

.woocommerce .product img {
  width: 100%;
  height: auto;
}

.woocommerce .product .woocommerce-loop-product__title {
  font-family: var(--font-primary);
  color: var(--purple);
  padding: 1rem;
  margin: 0;
}

.woocommerce .price {
  color: var(--coral);
  font-weight: bold;
  padding: 0 1rem 1rem;
}

.woocommerce .button {
  background: var(--coral);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
}

.woocommerce .button:hover {
  background: var(--purple);
  transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .header-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .header-actions .btn-join {
    width: 100%;
    justify-content: center;
  }
  
  .hero-section {
    margin: 1rem;
    border-radius: 15px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .video-preview {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 2rem;
    justify-content: center;
  }
  
  .buttons-grid {
    grid-template-columns: 1fr;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .video-wrapper iframe {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .content-container,
  .buttons-container,
  .video-container {
    padding: 0 1rem;
  }
}

/* Animations */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.bounce-animation {
  animation: bounce 2s infinite;
}

/* Loading Animation */
.loading-spinner {
  border: 3px solid var(--light-gray);
  border-top: 3px solid var(--blue);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Accessibility */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Focus styles */
a:focus,
button:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
} 