/*
Theme Name: AutoClean - Car Cleaning Products
Theme URI: https://autoclean.com
Author: AutoClean
Author URI: https://autoclean.com
Description: Premium one-page WordPress theme for car cleaning products showcase
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: autoclean
Tags: one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: 0 0% 100%;
  --foreground: 215 25% 15%;
  
  --card: 0 0% 100%;
  --card-foreground: 215 25% 15%;
  
  --primary: 210 100% 25%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 195 100% 45%;
  
  --secondary: 195 100% 45%;
  --secondary-foreground: 0 0% 100%;
  
  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 47%;
  
  --accent: 195 100% 45%;
  --accent-foreground: 0 0% 100%;
  
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  
  --border: 214 32% 91%;
  --input: 214 32% 91%;
  --ring: 210 100% 25%;
  
  --radius: 0.75rem;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(210 100% 25%), hsl(195 100% 35%));
  --gradient-card: linear-gradient(180deg, hsl(0 0% 100%), hsl(210 40% 98%));
  
  /* Shadows */
  --shadow-premium: 0 10px 40px -10px hsl(210 100% 25% / 0.2);
  --shadow-hover: 0 20px 50px -10px hsl(210 100% 25% / 0.3);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-fade-in {
  animation: fade-in 0.5s ease-out;
}

.animate-slide-up {
  animation: slide-up 0.6s ease-out;
}

.animate-scale-in {
  animation: scale-in 0.3s ease-out;
  animation-fill-mode: both;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsla(var(--background) / 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: hsl(var(--foreground));
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-hero);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  font-weight: bold;
  font-size: 1.125rem;
}

.site-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.main-navigation {
  display: none;
}

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

.main-navigation a {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.cart-icon {
  position: relative;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-size: 0.75rem;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: block;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: hsl(var(--foreground));
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(var(--primary) / 0.9), hsla(var(--primary) / 0.7), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  padding: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: bold;
  color: hsl(var(--primary-foreground));
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: hsla(var(--primary-foreground) / 0.9);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-premium);
}

.btn-primary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid hsl(var(--primary-foreground));
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8px;
}

.scroll-wheel {
  width: 6px;
  height: 12px;
  background: hsl(var(--primary-foreground));
  border-radius: 3px;
  animation: pulse 2s infinite;
}

/* Products Section */
.products-section {
  padding: 5rem 0;
  background: hsla(var(--muted) / 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.product-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gradient-card);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.product-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.product-footer {
  padding: 0 1.5rem 1.5rem;
}

.btn-add-cart {
  width: 100%;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.btn-add-cart:hover {
  background: hsla(var(--secondary) / 0.9);
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 0;
  background: hsl(var(--background));
}

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

.benefit-card {
  text-align: center;
  padding: 2rem;
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-hero);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.benefit-icon svg {
  width: 32px;
  height: 32px;
  color: hsl(var(--primary-foreground));
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.benefit-description {
  color: hsl(var(--muted-foreground));
}

/* Reviews Section */
.reviews-section {
  padding: 5rem 0;
  background: hsla(var(--muted) / 0.3);
}

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

.review-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
}

.review-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  width: 20px;
  height: 20px;
  fill: hsl(var(--secondary));
  color: hsl(var(--secondary));
}

.review-text {
  color: hsl(var(--muted-foreground));
  font-style: italic;
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: bold;
  color: hsl(var(--foreground));
}

/* Footer */
.site-footer {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: hsla(var(--primary-foreground) / 0.8);
}

.footer-section a {
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: hsl(var(--secondary));
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.contact-info svg {
  width: 16px;
  height: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-input {
  padding: 0.75rem;
  border: 1px solid hsla(var(--primary-foreground) / 0.2);
  border-radius: var(--radius);
  background: hsla(var(--primary-foreground) / 0.1);
  color: hsl(var(--primary-foreground));
}

.newsletter-input::placeholder {
  color: hsla(var(--primary-foreground) / 0.6);
}

.btn-newsletter {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.footer-bottom {
  border-top: 1px solid hsla(var(--primary-foreground) / 0.2);
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: hsla(var(--primary-foreground) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.social-link:hover {
  background: hsl(var(--secondary));
}

/* Responsive */
@media (min-width: 768px) {
  .main-navigation {
    display: block;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}