/* 
Theme Name: QR-Freebee
Theme URI: https://qr-freebee.com
Author: Manus AI
Description: A custom WordPress theme for QR-Freebee QR code generator website with bee-themed branding.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qr-freebee
Tags: qr-code, bee, yellow, custom
*/

/* Color Variables */
:root {
  --primary-yellow: #FFD100;
  --secondary-yellow: #FFEA80;
  --light-yellow: #FFF8E1;
  --dark-yellow: #FFC107;
  --black: #212121;
  --dark-gray: #424242;
  --medium-gray: #757575;
  --light-gray: #EEEEEE;
  --white: #FFFFFF;
  --success-green: #4CAF50;
  --error-red: #F44336;
}

/* Global Styles */
body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  background-color: var(--white);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--black);
  margin-top: 0;
}

a {
  color: var(--dark-yellow);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-yellow);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-yellow);
  color: var(--black);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--dark-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: var(--white);
  border: 2px solid var(--primary-yellow);
}

.btn-secondary:hover {
  background-color: var(--light-yellow);
}

/* Header Styles */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 50px;
  width: auto;
}

.site-title {
  margin-left: 10px;
  font-size: 24px;
  font-weight: 700;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  margin-left: 20px;
}

.main-navigation a {
  color: var(--dark-gray);
  font-weight: 500;
}

.main-navigation a:hover {
  color: var(--primary-yellow);
}

/* Hero Section */
.hero-section {
  background-color: var(--light-yellow);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--medium-gray);
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  text-align: right;
}

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

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-yellow);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 24px;
  color: var(--primary-yellow);
}

.feature-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.feature-description {
  color: var(--medium-gray);
}

/* QR Generator Section */
.generator-section {
  padding: 80px 0;
  background-color: var(--light-yellow);
}

.generator-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.generator-form {
  flex: 1;
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-size: 16px;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 2px rgba(255, 209, 0, 0.2);
}

.form-select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-size: 16px;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.color-options {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
}

.color-option.active {
  border-color: var(--black);
}

.color-option:hover {
  transform: scale(1.1);
}

.generator-preview {
  flex: 1;
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.preview-title {
  margin-bottom: 20px;
  font-size: 20px;
}

.qr-preview {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-options {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

/* How It Works Section */
.how-it-works-section {
  padding: 80px 0;
  background-color: var(--white);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.step-item {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-item:not(:last-child):after {
  content: '';
  position: absolute;
  top: 40px;
  right: -30px;
  width: 60px;
  height: 2px;
  background-color: var(--light-gray);
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: var(--primary-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  font-weight: 700;
}

.step-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.step-description {
  color: var(--medium-gray);
}

/* Premium Features Section */
.premium-section {
  padding: 80px 0;
  background-color: var(--light-yellow);
}

.premium-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.premium-content {
  flex: 1;
}

.premium-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.premium-description {
  margin-bottom: 30px;
}

.premium-features {
  margin-bottom: 30px;
}

.premium-feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.premium-feature-icon {
  width: 24px;
  height: 24px;
  background-color: var(--success-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.premium-feature-icon i {
  color: var(--white);
  font-size: 12px;
}

.premium-image {
  flex: 1;
  text-align: center;
}

.premium-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--white);
}

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

.accordion {
  margin-top: 50px;
}

.accordion-item {
  border-bottom: 1px solid var(--light-gray);
}

.accordion-header {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--light-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 0 20px;
  display: none;
}

.accordion-item.active .accordion-content {
  display: block;
}

/* Ad Spaces */
.ad-space {
  width: 100%;
  background-color: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 30px;
}

.ad-space-header {
  height: 90px;
  margin-bottom: 30px;
}

.ad-space-sidebar {
  height: 250px;
  margin-bottom: 30px;
}

.ad-space-content {
  height: 90px;
  margin: 30px 0;
}

/* Footer */
.site-footer {
  background-color: var(--black);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-yellow);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light-gray);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: var(--light-gray);
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    margin-bottom: 40px;
    max-width: 100%;
  }
  
  .generator-container {
    flex-direction: column;
  }
  
  .premium-container {
    flex-direction: column;
  }
  
  .steps-container {
    flex-direction: column;
  }
  
  .step-item {
    margin-bottom: 40px;
  }
  
  .step-item:not(:last-child):after {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  
  .site-logo {
    margin-bottom: 20px;
  }
  
  .main-navigation ul {
    flex-direction: column;
    align-items: center;
  }
  
  .main-navigation li {
    margin: 10px 0;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .section-title h2 {
    font-size: 30px;
  }
}

/* Animation Styles */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.bee-float {
  animation: float 3s ease-in-out infinite;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 30px;
}

.mb-4 {
  margin-bottom: 40px;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-3 {
  margin-top: 30px;
}

.mt-4 {
  margin-top: 40px;
}
