/*
 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.0
 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;
}

/* Responsive */
@media (max-width: 768px) {
  .flowbee-hero h1 {
    font-size: 2.5rem;
  }
}

/* =========================================
   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;
}
