/* ===================================
   VARIABLES & BASE SETUP
   =================================== */
 :root {
  --primary-red: #C41E3A;
  --navy-blue: #161F4B;
  --muted: #64748B;
  --bg: #f8fafc;
  --surface: #ffffff;
  --max-w: 1200px;
  --container-pad: 32px;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('../img/HOUSE.png') center center / cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.85) 0%, rgba(22, 31, 75, 0.9) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.06;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.6);
  animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { top: 40%; left: 70%; animation-delay: 4s; }
.particle:nth-child(4) { top: 80%; left: 50%; animation-delay: 6s; }
.particle:nth-child(5) { top: 30%; left: 90%; animation-delay: 8s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, -30px); }
  50% { transform: translate(-15px, -50px); }
  75% { transform: translate(25px, -20px); }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  padding: 56px var(--container-pad);
  text-align: center;
  margin: -40px auto 0; /* lift content slightly higher in the hero */
}

/* Hero layout with image */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  margin: 0 auto;
}

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

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-image-card {
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 12px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 30px;
  font-weight: 700;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-badge-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-badge-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-badge-text {
  color: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin: 12px 0 24px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  font-weight: 600;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1s forwards;
}

.hero-cta,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.hero-cta-primary,
.btn-primary {
  background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
  color: white;
  box-shadow: 0 15px 40px rgba(196, 30, 58, 0.3);
}

.hero-cta-primary::before,
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #000, #1a1a1a);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.hero-cta-primary:hover::before,
.btn-primary:hover::before {
  transform: translateX(0);
}

.hero-cta-primary span,
.btn-primary span {
  position: relative;
  z-index: 2;
}

/* Ensure hero CTA icon stays above hover overlay and remains white */
.hero-cta-primary i {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero-cta-primary:hover,
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(196, 30, 58, 0.5);
}

.hero-cta-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-cta-secondary:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.2s forwards;
}

.scroll-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
}

.scroll-arrow::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

/* ===================================
   SECTION COMMON STYLES
   =================================== */

/* Smooth Section Transitions */
.divisions-section,
.about-section,
.categories-section,
.featured-products-section,
.reviews-section,
.brands-section,
.locator-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.divisions-section.visible,
.about-section.visible,
.categories-section.visible,
.featured-products-section.visible,
.reviews-section.visible,
.brands-section.visible,
.locator-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for division cards */
.divisions-section.visible .division-card {
  animation: fadeInUp 0.6s ease forwards;
}

.divisions-section.visible .division-card:nth-child(1) { animation-delay: 0.1s; }
.divisions-section.visible .division-card:nth-child(2) { animation-delay: 0.2s; }
.divisions-section.visible .division-card:nth-child(3) { animation-delay: 0.3s; }
.divisions-section.visible .division-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  text-align: center;
  /* Tighter vertical spacing so sections are more compact */
  margin: 24px 0 40px;
}

.section-tag,
.about-tag {
  display: inline-block;
  color: var(--primary-red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: var(--navy-blue);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-description {
  font-size: 16px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}


.slider-tabs {
  display: flex;
  gap: 50px;
  position: relative;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 15px;
}

.slider-underline {
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 3px;
  background: var(--primary-red);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s ease;
}

.slider-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-number,
.number-item {
  font-size: 20px;
  font-weight: 900;
  color: #d1d5db;
  transition: color 0.3s ease;
}

.tab-label,
.label-item {
  font-size: 14px;
  font-weight: 700;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.slider-tab.active .tab-number,
.slider-tab.active .tab-label,
.slider-tab.active .number-item,
.slider-tab.active .label-item {
  color: var(--primary-red);
}

.product-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.product-info {
  padding: 40px 0;
}

.product-badge {
  display: inline-block;
  color: var(--primary-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.product-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--navy-blue);
  margin-bottom: 25px;
  line-height: 1.2;
}

.product-description {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.product-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: black;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.product-cta span,
.product-cta i {
  position: relative;
  z-index: 2;
}

.product-cta:hover::before {
  transform: translateX(0);
}

.product-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(196, 30, 58, 0.4);
}

.product-image-wrapper {
  position: relative;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
}

.product-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.product-slide:first-child {
  opacity: 1;
}

.product-slide.active {
  opacity: 1;
}

.product-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* ===================================
   CUSTOMER REVIEWS SECTION
   =================================== */
.reviews-section {
  padding: 120px var(--container-pad);
  background: #f8f9fa;
}

.reviews-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: start;
}

.reviews-header-column {
  position: sticky;
  top: 110px;
}

.reviews-title {
  font-size: 56px;
  font-weight: 900;
  color: var(--navy-blue);
  line-height: 1.1;
  margin-bottom: 25px;
}

.reviews-description {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.reviews-nav-buttons {
  display: flex;
  gap: 15px;
}

.review-nav-btn {
  width: 50px;
  height: 50px;
  border: 2px solid var(--primary-red);
  border-radius: 12px;
  background: white;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-nav-btn:hover {
  background: var(--primary-red);
  color: white;
  transform: scale(1.05);
}

.reviews-slider-column {
  overflow: hidden;
  border-radius: 24px;
}

.reviews-track {
  display: flex;
  gap: 18px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-item,
.review-card {
  min-width: 100%;
  flex-shrink: 0;
  padding: 0 10px;
}

.review-content {
  background: var(--navy-blue);
  color: white;
  padding: 50px;
  border-radius: 24px;
  display: flex;
  gap: 40px;
  min-height: 400px;
  transition: all 0.4s ease;
}

.review-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.review-text-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.review-heading {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  line-height: 1.3;
}

.review-quote {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: auto;
}

.review-author {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.author-name {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
}

.author-location {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.review-image-area {
  flex-shrink: 0;
  width: 150px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================
   FEATURED BRANDS SECTION
   =================================== */
.brands-section {
  padding: 80px var(--container-pad);
  background: #ffffff;
}

.brands-container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.brands-showcase {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 24px;
  will-change: transform;
}

.brands-showcase-wrapper {
  overflow: hidden;
  width: 100%;
  margin-top: 30px;
  padding-top: 10px;
}

.brand-item {
  flex: 0 0 auto;
  width: 200px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-wrapper {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.04);
}

.brand-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-logo-wrapper:hover {
  border-color: var(--primary-red);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.brand-placeholder {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy-blue);
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
  transition: color 0.4s ease;
}

.brand-logo-wrapper:hover .brand-placeholder {
  color: var(--primary-red);
}

/* ===================================
   STORE LOCATOR SECTION
   =================================== */
.locator-section {
  padding: 120px var(--container-pad);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.locator-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.locator-content {
  padding: 40px 0;
}

.locator-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--navy-blue);
  margin-bottom: 30px;
  line-height: 1.2;
}

.locator-text {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.locator-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
  transition: all 0.4s ease;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.locator-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: black;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.locator-cta span,
.locator-cta i {
  position: relative;
  z-index: 2;
}

.locator-cta:hover::before {
  transform: translateX(0);
}

.locator-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(196, 30, 58, 0.4);
}

.map-wrapper {
  position: relative;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(22, 31, 75, 0.2));
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}

.marker-dot {
  width: 20px;
  height: 20px;
  background: var(--primary-red);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(196, 30, 58, 0.3);
}

.marker-label {
  background: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

/* ===================================
   FOOTER SECTION
   =================================== */
.footer-section {
  padding: 80px var(--container-pad) 40px;
  background: #000000;
  color: white;
}

.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-placeholder {
  font-size: 28px;
  font-weight: 900;
  color: white;
  margin-bottom: 15px;
}

.footer-tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-red);
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-red);
  transform: translateY(-3px);
}

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

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
}

/* ===================================
   ANIMATION STYLES
   =================================== */

/* Base setup for animated elements */
.fade-in-up,
.fade-in-delay,
.fade-in-delay2,
.slide-up,
.pop-in,
.slide-in-left,
.slide-in-right,
.fade-in-scale {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
  will-change: opacity, transform;
}

/* When element is visible */
.show {
  opacity: 1;
  transform: translateY(0);
}

/* Entrance animations */
.slide-up.show { animation: slideUp 1s ease forwards; }
.fade-in-up.show { animation: fadeInUp 1s ease forwards; }
.fade-in-delay.show { animation: fadeInUp 1s ease 0.4s forwards; }
.fade-in-delay2.show { animation: fadeInUp 1s ease 0.8s forwards; }
.pop-in.show { animation: popIn 0.6s ease-out 1.2s forwards; }
.slide-in-left.show { animation: slideInLeft 1s ease forwards; }
.slide-in-right.show { animation: slideInRight 1s ease forwards; }
.fade-in-scale.show { animation: fadeInScale 1s ease forwards; }

/* Exit animations */
.fade-out-up { animation: fadeOutUp 0.8s ease forwards; }
.slide-out-left { animation: slideOutLeft 0.8s ease forwards; }
.slide-out-right { animation: slideOutRight 0.8s ease forwards; }

/* Keyframes - Entrance */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* Keyframes - Exit */
@keyframes fadeOutUp {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-40px); }
}

@keyframes slideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-60px); }
}

@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(60px); }
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (max-width: 1024px) {
  :root {
    --container-pad: 30px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
  }

  .product-images,
  .product-image-wrapper {
    height: 360px;
  }

  .about-image {
    height: 420px;
  }

  .divisions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brands-showcase {
    gap: 20px;
    padding-bottom: 10px;
  }

  .brand-item {
    min-width: 180px;
    height: 200px;
  }
}

@media (max-width: 860px) {
  :root {
    --container-pad: 20px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-media {
    margin-top: 32px;
  }

  .about-container,
  .locator-container,
  .product-display {
    grid-template-columns: 1fr;
  }

  .reviews-container {
    grid-template-columns: 1fr;
  }

  .reviews-header-column {
    position: relative;
    top: 0;
  }

  .divisions-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brands-showcase {
    gap: 18px;
  }

  .brand-item {
    min-width: 160px;
    height: 180px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .search-bar {
    max-width: 100%;
    margin: 0;
  }

  /* Slightly reduce hero offset on very small screens */
  .hero-content {
    margin-top: -20px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .brands-showcase {
    gap: 14px;
  }

  .brand-item {
    min-width: 160px;
    height: 140px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Landscape Orientation Support */
@media (max-width: 1024px) and (orientation: landscape) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .divisions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero-title {
    font-size: 26px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Very Small Screens */
@media (max-width: 360px) {
  .hero-title {
    font-size: 22px;
  }

  .brands-showcase {
    gap: 12px;
  }

  .brand-item {
    min-width: 120px;
    height: 120px;
  }
}

  .reviews-title {
    font-size: 32px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .brands-showcase {
    gap: 16px;
  }

  .brand-item {
    min-width: 140px;
    height: 130px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 20px;
  }


/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
  padding: 80px var(--container-pad);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-stats {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-width: 260px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content {
  padding: 40px 0;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--navy-blue);
  margin-bottom: 25px;
  line-height: 1.2;
}

.about-text {
  font-size: 17px;
  color: #475569;
  line-height: 1.9;
  margin-bottom: 20px;
}

/* Mobile layout for About section – image full-width on top */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Title/text first, image second on mobile */
  .about-content {
    order: 1;
  }

  .about-image-wrapper {
    order: 2;
  }

  .about-image {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .about-image:hover img {
    transform: none;
  }

  .about-stats {
    position: static;
    margin: 12px auto 0;
    padding: 20px 18px;
    max-width: 320px;
    width: 100%;
  }

  .about-content {
    padding: 0;
  }
}


.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  color: white;
  font-size: 20px;
}

.feature-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-blue);
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: black;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.about-cta span {
  position: relative;
  z-index: 2;
}

.about-cta:hover::before {
  transform: translateX(0);
}

.about-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(196, 30, 58, 0.4);
}

/* ===================================
   CATEGORIES SECTION
   =================================== */
.categories-section {
  padding: 120px var(--container-pad);
  background: var(--navy-blue);
  color: white;
  position: relative;
  overflow: hidden;
}

.categories-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 30px 30px;
}

.categories-header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto 60px;
}

.categories-title {
  font-size: 48px;
  font-weight: 900;
  color: white;
}

.view-all-btn {
  background: var(--primary-red);
  color: white;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: white;
  color: var(--navy-blue);
  transform: translateY(-2px);
}

.categories-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.category-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
}

.category-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-10px);
}

.category-icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.4s ease;
}

.category-card:hover .category-icon {
  background: var(--primary-red);
  transform: scale(1.1) rotate(5deg);
}

.category-icon i {
  font-size: 40px;
  color: white;
}

.category-name {
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* FEATURED PRODUCTS SECTION */
    .featured-products-section {
      padding: 120px 40px;
      background: white;
      position: relative;
    }

    .products-container {
      max-width: 1400px;
      margin: 0 auto;
    }

    .slider-nav {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 60px;
      margin: 60px 0;
    }

    .nav-arrow {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 2px solid #e5e7eb;
      background: white;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      color: #9ca3af;
    }

    .nav-arrow:hover {
      border-color: var(--primary-red);
      color: var(--primary-red);
      transform: scale(1.1);
    }

    .slider-tabs {
      display: flex;
      gap: 50px;
      position: relative;
      border-bottom: 2px solid #e5e7eb;
      padding-bottom: 15px;
    }

    .slider-underline {
      position: absolute;
      bottom: -2px;
      left: 0;
      height: 3px;
      background: var(--primary-red);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s ease;
    }

    .slider-tab {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      background: none;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .tab-number {
      font-size: 20px;
      font-weight: 700;
      color: #d1d5db;
      transition: color 0.3s ease;
    }

    .tab-label {
      font-size: 14px;
      font-weight: 600;
      color: #9ca3af;
      transition: color 0.3s ease;
    }

    .slider-tab.active .tab-number,
    .slider-tab.active .tab-label {
      color: var(--primary-red);
    }

    .product-display {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
      margin-top: 60px;
    }

    @media (max-width: 1024px) {
  .product-display {
    grid-template-columns: 1fr;
    gap: 40px;
  }


    .product-info {
      padding: 40px 0;
    }

    .product-badge {
      display: inline-block;
      color: var(--primary-red);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .product-title {
      font-size: 48px;
      font-weight: 900;
      color: var(--navy-blue);
      margin-bottom: 25px;
      line-height: 1.2;
    }

    .product-description {
      font-size: 18px;
      color: #64748b;
      line-height: 1.8;
      margin-bottom: 40px;
    }

    .product-cta {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
      color: white;
      padding: 18px 40px;
      border-radius: 50px;
      font-weight: 700;
      font-size: 16px;
      text-decoration: none;
      box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
    }

    .product-cta::before {
      content: '';
      position: absolute;
      inset: 0;
      background: black;
      transform: translateX(-100%);
      transition: transform 0.5s ease;
    }

    .product-cta span {
      position: relative;
      z-index: 2;
    }

    .product-cta i {
      position: relative;
      z-index: 2;
    }

    .product-cta:hover::before {
      transform: translateX(0);
    }

    .product-cta:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 40px rgba(196, 30, 58, 0.4);
    }

    .product-image-wrapper {
      position: relative;
      height: 500px;
      border-radius: 24px;
      overflow: hidden;
    }

    .product-images {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .product-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 0.6s ease;
    }

    .product-slide.active {
      opacity: 1;
    }

    .product-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 24px;
    }
  }