/*
Theme Name: HybridHowTo
Theme URI: https://hybridhowto.com
Author: HybridHowTo Team
Author URI: https://hybridhowto.com
Description: A comprehensive hybrid vehicle maintenance guide platform featuring interactive quizzes, pricing plans, testimonials, and expert guidance for hybrid car owners.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hybridhowto
Tags: automotive, hybrid, maintenance, e-commerce, custom-colors, responsive-layout, full-width-template

This theme provides everything needed for a hybrid vehicle maintenance guide website, including:
- Interactive vehicle recommendation quiz
- Pricing and payment integration
- Customer testimonials
- Contact form with email integration
- Brand-specific cheat sheets
*/

/* CSS Variables - Match React App */
:root {
  --background: hsl(120, 43%, 96%);
  --foreground: hsl(0, 0%, 11%);
  --muted: hsl(120, 20%, 94%);
  --muted-foreground: hsl(25, 5.3%, 44.7%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(0, 0%, 11%);
  --border: hsl(120, 20%, 85%);
  --primary: hsl(149, 44%, 20%);
  --primary-foreground: hsl(145, 77%, 90%);
  --secondary: hsl(149, 30%, 31%);
  --secondary-foreground: hsl(145, 77%, 90%);
  --accent: hsl(149, 47%, 70%);
  --accent-foreground: hsl(149, 44%, 20%);
  --highlight: hsl(43, 96%, 56%);
  --text-dark: hsl(0, 0%, 11%);
  --text-light: hsl(145, 77%, 90%);
  --radius: 0.5rem;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Navigation */
.site-header {
  background-color: var(--text-dark);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.site-logo .highlight {
  color: var(--highlight);
}

.main-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--highlight);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-light);
  padding: 5rem 1rem;
  text-align: center;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
}

.hero-section h1 .highlight {
  color: var(--highlight);
}

.hero-section .subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 500;
}

.hero-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

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

/* Buttons */
.btn {
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--highlight);
  color: var(--text-dark);
}

.btn-primary:hover {
  background-color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--text-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* Section Styles */
.section {
  padding: 5rem 1rem;
}

.section.bg-white {
  background-color: white;
}

.section.bg-gray-50 {
  background-color: var(--muted);
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 4rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

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

.card.bg-background {
  background-color: var(--background);
}

.card.bg-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.card-highlight {
  border: 2px solid var(--highlight);
  position: relative;
}

.card-popular-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--highlight);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Feature Cards */
.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon.bg-green-100 {
  background-color: rgba(34, 197, 94, 0.1);
}

.feature-icon.bg-blue-100 {
  background-color: rgba(59, 130, 246, 0.1);
}

.feature-icon.bg-yellow-100 {
  background-color: rgba(250, 204, 21, 0.1);
}

.feature-icon.bg-purple-100 {
  background-color: rgba(168, 85, 247, 0.1);
}

.feature-icon.bg-red-100 {
  background-color: rgba(239, 68, 68, 0.1);
}

.feature-icon.bg-indigo-100 {
  background-color: rgba(99, 102, 241, 0.1);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background-color: white;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--highlight);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Quiz Styles */
.quiz-container {
  max-width: 48rem;
  margin: 0 auto;
}

.quiz-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quiz-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.quiz-progress-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--border);
}

.quiz-progress-dot.active {
  background-color: var(--highlight);
}

.quiz-question {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.quiz-option {
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  background-color: white;
  font-size: 1rem;
}

.quiz-option:hover {
  border-color: var(--primary);
  background-color: var(--background);
}

.quiz-option.selected {
  border-color: var(--highlight);
  background-color: hsl(43, 96%, 96%);
}

.quiz-buttons {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
}

/* Cheat Sheet Features */
.cheat-sheet-features {
  max-width: 64rem;
  margin: 0 auto;
}

.cheat-sheet-feature {
  display: flex;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 1.5rem;
}

.cheat-sheet-feature svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  margin-top: 0.25rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.cheat-sheet-feature span {
  font-size: 1.125rem;
  color: var(--foreground);
}

/* Testimonials */
.testimonials-container {
  overflow: hidden;
  width: 100%;
}

.testimonials-scroll {
  display: flex;
  gap: 2rem;
  animation: scroll-horizontal 30s linear infinite;
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  width: 20rem;
}

.star-rating {
  display: flex;
  color: var(--highlight);
  margin-bottom: 1rem;
  gap: 0.25rem;
}

.star-rating svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.testimonial-content {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.75;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar span {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-info .name {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.875rem;
}

.testimonial-info .location {
  font-size: 0.75rem;
  color: var(--text-dark);
}

/* Pricing */
.pricing-grid {
  max-width: 80rem;
  margin: 0 auto;
}

.pricing-card {
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--primary);
}

.pricing-card.popular h3 {
  color: var(--text-light);
}

.pricing-price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--highlight);
  margin-bottom: 0.5rem;
}

.pricing-description {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.pricing-card.popular .pricing-description {
  color: var(--accent);
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pricing-features li svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.pricing-card.popular .pricing-features li svg {
  color: var(--accent);
}

/* Newsletter */
.newsletter-form {
  max-width: 32rem;
  margin: 0 auto;
}

.newsletter-form .form-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.newsletter-form .form-input {
  flex: 1;
  min-width: 250px;
}

/* Footer */
.site-footer {
  background-color: var(--text-dark);
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

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

  .hero-section .subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .main-nav {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .grid-cols-2,
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }

  .quiz-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .pricing-price {
    font-size: 2.5rem;
  }

  .newsletter-form .form-group {
    flex-direction: column;
  }

  .newsletter-form .form-input {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 3.75rem;
  }
}

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

.text-left {
  text-align: left;
}

.text-primary {
  color: var(--primary);
}

.text-highlight {
  color: var(--highlight);
}

.text-text-dark {
  color: var(--text-dark);
}

.text-text-light {
  color: var(--text-light);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-highlight {
  background-color: var(--highlight);
}

.bg-white {
  background-color: white;
}

.bg-background {
  background-color: var(--background);
}

.hidden {
  display: none !important;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.rounded {
  border-radius: var(--radius);
}

.shadow-lg {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}
