/* ==============================================
   File: pages/home.css
   Project: Zaza Rush Subaru
   Developer: bguvava
   Last Updated: January 31, 2026
   Description: Homepage-specific styles (HOME-001 to HOME-035)
   ============================================== */

/* ---------------------------------------------
   HERO SECTION (HOME-001 to HOME-006)
   --------------------------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  background: linear-gradient(135deg, #0033A0 0%, #001952 100%);
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.hero-container {
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Left Side - Text Content */
.hero-text-content {
  color: white;
  padding: 2rem 1rem;
}

.hero-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-brand-logo {
  height: 60px;
  width: auto;
}

.hero-brand-name {
  font-size: 3rem;
  font-weight: 300;
  color: white;
  margin: 0;
  letter-spacing: 0.15em;
  font-family: 'Courier New', monospace;
}

.hero-main-title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-highlight {
  color: #FFB800;
  font-size: 3.5rem;
  display: inline-block;
}

.hero-description {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: white;
  color: #0033A0;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  transition: all 0.3s;
}

.btn-hero-primary:hover {
  background: #FFB800;
  color: white;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background: transparent;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border: 2px solid white;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-hero-secondary:hover {
  background: white;
  color: #0033A0;
}

/* Trust Badges */
.hero-trust-badges {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.9rem;
}

.trust-badge i {
  color: #28A745;
  font-size: 1.1rem;
}

/* Right Side - Image Frame */
.hero-image-frame {
  position: relative;
  border: 4px solid white;
  border-radius: 20px;
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.hero-image-label {
  position: absolute;
  top: -15px;
  right: 20px;
  background: white;
  color: #0033A0;
  padding: 0.5rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 8px;
  transform: rotate(-2deg);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.1em;
}

.hero-store-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-down {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: all 0.3s;
  font-size: 1rem;
}

.scroll-down:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

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

/* ---------------------------------------------
   WHY CHOOSE US / VALUE PROPOSITION (HOME-007 to HOME-010)
   --------------------------------------------- */
.why-choose-us {
  background-color: var(--color-white);
}

.section-subtitle {
  font-size: var(--font-size-sm);
  letter-spacing: 2px;
}

.section-title {
  font-size: var(--font-size-3xl);
  color: var(--color-dark-gray);
}

.section-description {
  font-size: var(--font-size-md);
}

/* Benefit Cards */
.benefit-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-light-gray);
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light-blue);
  border-radius: 50%;
  transition: all var(--transition-normal);
}

.benefit-card:hover .benefit-icon {
  background: var(--color-primary);
}

.benefit-card:hover .benefit-icon i {
  color: white !important;
}

.benefit-title {
  color: var(--color-dark-gray);
  font-weight: var(--font-weight-semibold);
}

.benefit-text {
  font-size: var(--font-size-sm);
}

/* ---------------------------------------------
   SERVICES OVERVIEW (HOME-011 to HOME-014)
   --------------------------------------------- */
.services-overview {
  background-color: var(--color-light-gray);
}

.service-card {
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light-blue);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  background: var(--color-primary);
}

.service-card:hover .service-icon-wrapper i {
  color: white !important;
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-size: var(--font-size-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.service-link:hover {
  text-decoration: none;
  gap: var(--spacing-sm);
}

.service-link i {
  transition: transform var(--transition-fast);
}

.service-link:hover i {
  transform: translateX(4px);
}

/* ---------------------------------------------
   FEATURED INVENTORY (HOME-015 to HOME-018)
   --------------------------------------------- */
.featured-inventory {
  background-color: var(--color-white);
}

/* Swiper Container */
.featured-swiper {
  padding-bottom: 60px;
}

.featured-swiper .swiper-slide {
  height: auto;
  padding: var(--spacing-sm);
}

/* Product Card */
.product-card {
  transition: all var(--transition-normal);
}

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

.product-image-wrapper {
  height: 200px;
  overflow: hidden;
  background: var(--color-light-gray);
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.product-category {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.7rem;
}

.product-price {
  font-size: var(--font-size-lg);
}

/* Swiper Navigation Arrows */
.featured-swiper .swiper-button-prev,
.featured-swiper .swiper-button-next {
  color: var(--color-primary);
  background: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.featured-swiper .swiper-button-prev:hover,
.featured-swiper .swiper-button-next:hover {
  background: var(--color-primary);
  color: white;
}

.featured-swiper .swiper-button-prev::after,
.featured-swiper .swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
}

/* Swiper Pagination */
.featured-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--color-medium-gray);
  opacity: 1;
  transition: all var(--transition-fast);
}

.featured-swiper .swiper-pagination-bullet-active {
  background: var(--color-primary);
  width: 30px;
  border-radius: 6px;
}

/* ---------------------------------------------
   TESTIMONIALS (HOME-019 to HOME-021)
   --------------------------------------------- */
.testimonials {
  background-color: var(--color-light-blue);
}

.bg-light-blue {
  background-color: var(--color-light-blue) !important;
}

.testimonials-swiper {
  padding-bottom: 60px;
}

.testimonials-swiper .swiper-slide {
  height: auto;
}

.testimonial-card {
  background: white;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  margin: var(--spacing-md);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  font-size: var(--font-size-md);
  line-height: 1.8;
  color: var(--color-dark-gray);
  font-style: italic;
}

.testimonial-rating {
  font-size: var(--font-size-lg);
}

.testimonial-author h6 {
  color: var(--color-dark-gray);
  margin-bottom: 0;
}

/* Testimonials Pagination */
.testimonials-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--color-medium-gray);
  opacity: 1;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

/* ---------------------------------------------
   QUICK CONTACT FORM (HOME-022 to HOME-026)
   --------------------------------------------- */
.quick-contact {
  background-color: var(--color-white);
}

.contact-info-list {
  margin-top: var(--spacing-lg);
}

.contact-item {
  padding: var(--spacing-sm) 0;
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Contact Form */
.contact-form-wrapper {
  border-radius: var(--border-radius-xl);
  overflow: hidden;
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
  border-color: var(--color-light-gray);
  background-color: #f9fafc;
}

.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
  background-color: white;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 51, 160, 0.1);
}

/* Submit Button Loading State */
#contact-submit .btn-loading {
  display: none;
}

#contact-submit.loading .btn-text {
  display: none;
}

#contact-submit.loading .btn-loading {
  display: inline-flex;
  align-items: center;
}

/* ---------------------------------------------
   LOCATION PREVIEW (HOME-027 to HOME-029)
   --------------------------------------------- */
.location-preview {
  background-color: var(--color-light-gray);
}

.map-wrapper {
  height: 400px;
  background: var(--color-medium-gray);
}

.map-wrapper iframe {
  display: block;
}

.location-info-card {
  border-left: 4px solid var(--color-primary);
}

.business-hours ul li {
  padding: var(--spacing-xs) 0;
  border-bottom: 1px dashed var(--color-light-gray);
}

.business-hours ul li:last-child {
  border-bottom: none;
}

/* ---------------------------------------------
   CTA BANNER (HOME-030 to HOME-031)
   --------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #001a52 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  color: #FFFFFF !important;
  text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.5);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-subtitle {
  color: #FFFFFF !important;
  opacity: 0.95;
  font-size: 0.95rem;
  max-width: 550px;
  margin: 0 auto 1.25rem;
}

/* CTA Buttons - Side by side */
.cta-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta-buttons .btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

/* Success Button for WhatsApp */
.btn-success {
  background-color: var(--color-whatsapp) !important;
  border-color: var(--color-whatsapp) !important;
}

.btn-success:hover {
  background-color: #20bd5a !important;
  border-color: #20bd5a !important;
}

/* Outline Light Button */
.btn-outline-light {
  border-color: rgba(255,255,255,0.7);
}

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

/* ---------------------------------------------
   RESPONSIVE STYLES - HOME PAGE
   --------------------------------------------- */

/* Tablet */
@media (max-width: 991.98px) {
  .hero {
    min-height: 70vh;
  }
  
  .hero-logo {
    max-width: 220px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    max-width: 100%;
  }
  
  .hero-badges {
    justify-content: center !important;
  }
  
  .badge-item {
    font-size: 0.75rem;
  }
  
  .benefit-card {
    padding: var(--spacing-md) !important;
  }
  
  .benefit-icon {
    width: 60px;
    height: 60px;
  }
  
  .benefit-icon i {
    font-size: 1.5rem !important;
  }
  
  .map-wrapper {
    height: 300px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .hero {
    min-height: 60vh;
    text-align: center;
  }
  
  .hero-content {
    padding-top: calc(80px + var(--spacing-xl));
  }
  
  .hero-logo {
    max-width: 180px;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .hero-badges {
    justify-content: center !important;
  }
  
  .hero-scroll-indicator {
    display: none;
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .benefit-card {
    padding: var(--spacing-sm) !important;
  }
  
  .benefit-title {
    font-size: var(--font-size-sm);
  }
  
  .benefit-text {
    font-size: 0.75rem;
    display: none;
  }
  
  .benefit-icon {
    width: 50px;
    height: 50px;
  }
  
  .benefit-icon i {
    font-size: 1.25rem !important;
  }
  
  .featured-swiper .swiper-button-prev,
  .featured-swiper .swiper-button-next {
    display: none;
  }
  
  .testimonial-card {
    margin: var(--spacing-xs);
    padding: var(--spacing-md) !important;
  }
  
  .testimonial-text {
    font-size: var(--font-size-sm);
  }
  
  .contact-form-wrapper .card-body {
    padding: var(--spacing-md) !important;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .cta-subtitle {
    font-size: 0.875rem;
  }
  
  .cta-buttons {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 0.5rem !important;
    justify-content: center;
  }
  
  .cta-buttons .btn {
    width: auto;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .hero {
    min-height: 55vh;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .text-highlight {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 0.875rem;
  }
  
  .hero-cta {
    flex-direction: row !important;
    justify-content: center;
  }
  
  .hero-cta .btn {
    width: auto;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }
  
  .benefit-icon {
    width: 40px;
    height: 40px;
  }
  
  .benefit-icon i {
    font-size: 1rem !important;
  }
  
  .benefit-title {
    font-size: 0.8rem;
  }
  
  .product-image-wrapper {
    height: 150px;
  }
  
  .location-info-card {
    padding: var(--spacing-md) !important;
  }
  
  .cta-buttons .btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
  }
}
