/*
 Theme Name:   Flowbee Child
 Theme URI:    https://flowbee.com/
 Description:  Modernized Child Theme for Flowbee, overriding the homepage.
 Author:       Antigravity
 Author URI:   https://flowbee.com/
 Template:     hello-elementor
 Version:      1.0.4
 Text Domain:  flowbee-child
*/

/* Custom Homepage Variables */
:root {
  --primary-color: #0b1f3c;
  --secondary-color: #f7a900;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --transition: all 0.3s ease;
}

/* =========================================
   Modernized Homepage Styles
   ========================================= */

.flowbee-modern-home {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
}

/* Hero Section */
.flowbee-hero {
  position: relative;
  background-image: 
    linear-gradient(to right, rgba(11, 31, 60, 0) 0%, rgba(11, 31, 60, 0) 60%, rgba(11, 31, 60, 1) 75%, rgba(11, 31, 60, 1) 100%),
    url('https://www.flowbee.com/wp-content/uploads/2025/08/Flowbee-System-with-Super-Vacuum1.jpg');
  background-position: left center;
  background-size: 80vw auto; /* Expanded to ensure it reaches the fade properly */
  background-repeat: no-repeat;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 120px 5%;
  min-height: 70vh;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}

.flowbee-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  transform: rotate(30deg);
  pointer-events: none;
}

.flowbee-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: center;
  margin: 0;
}

.flowbee-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.flowbee-hero p {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0.9;
}

.flowbee-btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(247, 169, 0, 0.4);
}

.flowbee-btn:hover {
  background-color: #d69300;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(247, 169, 0, 0.6);
  color: #fff;
}

/* Featured Products Layout */
.flowbee-features {
  padding: 80px 20px;
  background-color: var(--background-light);
}

.flowbee-section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.flowbee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.flowbee-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.02);
}

.flowbee-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.flowbee-card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.flowbee-card:hover img {
  transform: scale(1.05);
}

.flowbee-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.flowbee-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Kit Contents Section */
.flowbee-features-subtitle {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555;
  line-height: 1.7;
  font-size: 1.15rem;
}

.flowbee-kit-contents {
  padding: 80px 20px;
  background-color: #fff;
  max-width: 900px;
  margin: 0 auto;
}

.flowbee-kit-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 25px;
}

.flowbee-kit-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 1.15rem;
  color: #555;
  line-height: 1.8;
}

.flowbee-kit-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.flowbee-kit-list li span {
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
}

/* Video Section */
.flowbee-video-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #e09900 100%);
  color: var(--primary-color);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flowbee-video-content {
  max-width: 800px;
  text-align: center;
  width: 100%;
}

.flowbee-section-title.video-title {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--primary-color);
}

.video-subtitle {
  color: rgba(11, 31, 60, 0.8);
  font-weight: 600;
}

.video-wrapper {
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  background: #000;
  aspect-ratio: 16/9;
  width: 100%;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

.video-seo-text {
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: left;
}

.video-seo-text p {
  color: var(--primary-color);
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
}

/* Responsive - Tablet / Small Desktop */
@media (max-width: 1200px) {
  .flowbee-hero {
    background-image: 
      linear-gradient(to right, rgba(11, 31, 60, 0) 0%, rgba(11, 31, 60, 0.95) 45%, rgba(11, 31, 60, 1) 100%),
      url('https://www.flowbee.com/wp-content/uploads/2025/08/Flowbee-System-with-Super-Vacuum1.jpg');
  }
  .flowbee-hero-content {
    text-shadow: 0 4px 20px rgba(11, 31, 60, 0.8);
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .flowbee-hero {
    background-image: 
      linear-gradient(to bottom, rgba(11, 31, 60, 0.1) 0%, rgba(11, 31, 60, 0.9) 40%, rgba(11, 31, 60, 1) 100%),
      url('https://www.flowbee.com/wp-content/uploads/2025/08/Flowbee-System-with-Super-Vacuum1.jpg');
    background-position: top center;
    background-size: 100% auto;
    padding: 220px 20px 40px;
    align-items: flex-end;
  }
  
  .flowbee-hero-content {
    text-align: center;
  }
  
  .flowbee-hero h1 {
    font-size: 2.2rem;
  }
  
  .flowbee-section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .flowbee-section-title.video-title {
    font-size: 2.2rem;
  }
  
  .flowbee-features, 
  .flowbee-kit-contents, 
  .flowbee-video-section {
    padding: 40px 15px;
  }
  
  .video-seo-text {
    padding: 25px;
  }
  
  .flowbee-faq-question {
    padding: 20px 45px 20px 20px;
    font-size: 1.05rem;
  }
}

/* =========================================
   FAQ Page Styles
   ========================================= */

.flowbee-faq-hero {
  border-bottom: 5px solid var(--secondary-color);
}

.flowbee-faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.flowbee-faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.flowbee-faq-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.flowbee-faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 25px 50px 25px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.flowbee-faq-question:hover {
  background-color: var(--secondary-color);
  color: #000000;
}

.flowbee-faq-question:hover::after {
  color: #000000;
}

.flowbee-faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--secondary-color);
  transition: var(--transition);
}

.flowbee-faq-item.active .flowbee-faq-question::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}

.flowbee-faq-item.active .flowbee-faq-question {
  color: var(--secondary-color);
}

.flowbee-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #fafafa;
}

.flowbee-faq-answer-inner {
  padding: 0 25px 25px 25px;
  color: #555;
  line-height: 1.6;
  font-size: 1.05rem;
}
