/* BRANDS PAGE SPECIFIC STYLES */

/* Brands Hero Section */
.brands-hero {
  height: 60vh;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../brands/brands-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin-top: 80px;
}

.brands-hero .hero-content h1 {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.brands-hero .hero-content p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  color: #ffe600;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Brands Introduction */
.brands-intro {
  padding: 6rem 0;
  background: #fff;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content h2 {
  font-family: 'Lato', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 2rem;
}

.intro-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1.5rem;
}

.authorized-dealer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.dealer-badge {
  background: #ffe600;
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.shop-link {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  border-bottom: 2px solid #ffe600;
  padding-bottom: 2px;
}

.shop-link:hover {
  color: #ffe600;
}

/* Featured Brands - UPDATED IMAGE FILL */
.featured-brands {
  padding: 6rem 0;
  background: #f8f8f8;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.brand-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* UPDATED BRAND IMAGE TO FILL CONTAINER */
.brand-image {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
  background: #f0f0f0;
}

.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
  filter: grayscale(0.2);
}

.brand-card:hover .brand-image img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.brand-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.8));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.brand-card:hover .brand-overlay {
  opacity: 1;
}

.brand-info {
  text-align: center;
  color: #fff;
}

.brand-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.brand-info p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.brand-content {
  padding: 2rem;
}

.brand-content h3 {
  font-family: 'Lato', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.5rem;
}

.brand-specialty {
  color: #ffe600;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.brand-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 1.5rem;
}

.brand-products {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-tag {
  background: #f0f0f0;
  color: #333;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.brand-card:hover .product-tag {
  background: #ffe600;
  color: #000;
}

.brand-actions {
  display: flex;
  gap: 1rem;
}

.brand-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-align: center;
  display: inline-block;
}

.brand-btn.learn-more {
  background: #000;
  color: #fff;
}

.brand-btn.learn-more:hover {
  background: #ffe600;
  color: #000;
}

.brand-btn.shop {
  background: transparent;
  color: #000;
  border: 2px solid #000;
}

.brand-btn.shop:hover {
  background: #000;
  color: #fff;
}

/* Vehicle Brands - ENHANCED MOBILE 2-COLUMN LAYOUT */
.vehicle-brands {
  padding: 6rem 0;
  background: #000;
  color: #fff;
}

.vehicle-brands .section-title {
  color: #fff;
  margin-bottom: 1rem;
}

.vehicle-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 3rem;
}

.vehicle-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.vehicle-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.vehicle-logo:hover {
  transform: translateY(-5px);
}

.vehicle-logo img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: brightness(1.2);
  transition: filter 0.3s ease;
}

.vehicle-logo:hover img {
  filter: brightness(1.5);
}

.vehicle-logo span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffe600;
  letter-spacing: 1px;
}

/* Partnership Benefits */
.partnership-benefits {
  padding: 6rem 0;
  background: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: #f8f8f8;
  transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.benefit-card h3 {
  font-family: 'Lato', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
}

.benefit-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

/* Shopify CTA */
.shopify-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: #fff;
}

.cta-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta-text h2 {
  font-family: 'Lato', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #ccc;
}

.cta-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.cta-feature {
  font-size: 0.95rem;
  color: #ffe600;
  font-weight: 500;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-btn {
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  display: inline-block;
  text-align: center;
}

.cta-btn.primary {
  background: #ffe600;
  color: #000;
}

.cta-btn.primary:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

.cta-btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cta-btn.secondary:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  .cta-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .cta-features {
    grid-template-columns: 1fr;
  }
  
  .vehicle-logos {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 768px) {
  .brands-hero {
    height: 40vh;
    margin-top: 70px;
  }
  
  .brands-intro,
  .featured-brands,
  .vehicle-brands,
  .partnership-benefits,
  .shopify-cta {
    padding: 4rem 0;
  }
  
  .intro-content h2,
  .cta-text h2 {
    font-size: 2rem;
  }
  
  .brands-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .brand-image {
    height: 150px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .authorized-dealer {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* MOBILE 2-COLUMN VEHICLE LOGOS */
  .vehicle-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .vehicle-logo img {
    max-width: 100px;
    max-height: 60px;
  }
  
  .vehicle-logo span {
    font-size: 0.8rem;
  }
  
  .cta-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand-content {
    padding: 1.5rem;
  }
  
  .brand-actions {
    flex-direction: column;
  }
  
  .intro-content h2,
  .cta-text h2 {
    font-size: 1.8rem;
  }
  
  .benefit-card {
    padding: 1.5rem;
  }
  
  .vehicle-logos {
    gap: 1rem;
    max-width: 300px;
  }
  
  .vehicle-logo img {
    max-width: 80px;
    max-height: 50px;
  }
  
  .vehicle-logo span {
    font-size: 0.75rem;
  }
}
