/**
 * BRAND PAGE - HARE EQUIPMENT
 * Estilos para páginas de marcas individuales
 */

/* ================================================
   BRAND PAGE HERO
   ================================================ */

.brand-page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/images_hare/marcas1.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.brand-page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(193, 104, 55, 0.75) 100%);
  z-index: 1;
}

.brand-page-hero-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: var(--spacing-16) var(--spacing-6);
  position: relative;
  z-index: 2;
}

.brand-page-hero-content {
  text-align: center;
  color: #ffffff;
}

.brand-page-hero-title {
  font-family: var(--font-family-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin: 0 0 var(--spacing-4) 0;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.brand-page-hero-subtitle {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-relaxed);
  margin: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

/* ================================================
   PRODUCTS SECTION
   ================================================ */

.brand-products-section {
  padding: var(--spacing-20) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.brand-products-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--spacing-6);
}

.brand-products-header {
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.brand-products-title {
  font-family: var(--font-family-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: var(--line-height-tight);
  margin: 0;
}

.brand-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-8);
}

.brand-product-card {
  background: var(--color-background);
  border-radius: var(--radius-lg);
  padding: var(--spacing-8);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

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

.brand-product-image-wrapper {
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-6);
  background: linear-gradient(135deg, rgba(193, 104, 55, 0.03) 0%, rgba(193, 104, 55, 0.08) 100%);
  border-radius: var(--radius-default);
  overflow: hidden;
}

.brand-product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-base);
}

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

.brand-product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.brand-product-name {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin: 0 0 var(--spacing-4) 0;
  line-height: var(--line-height-tight);
}

.brand-product-description {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin: 0 0 var(--spacing-6) 0;
  flex: 1;
}

.brand-product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: var(--spacing-3) var(--spacing-6);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-default);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  text-decoration: none;
  transition: all var(--transition-base);
}

.brand-product-link:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
  color: var(--color-text-inverse);
}

.brand-product-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-base);
}

.brand-product-link:hover svg {
  transform: translateX(4px);
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 768px) {
  .brand-page-hero {
    min-height: 300px;
    background-attachment: scroll;
  }

  .brand-products-section {
    padding: var(--spacing-16) 0;
  }

  .brand-products-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-6);
  }

  .brand-product-card {
    padding: var(--spacing-6);
  }

  .brand-product-image-wrapper {
    height: 200px;
  }
}

/* ================================================
   ANIMATIONS
   ================================================ */

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

.brand-product-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.brand-product-card:nth-child(1) { animation-delay: 0.1s; }
.brand-product-card:nth-child(2) { animation-delay: 0.2s; }
.brand-product-card:nth-child(3) { animation-delay: 0.3s; }
.brand-product-card:nth-child(4) { animation-delay: 0.4s; }
.brand-product-card:nth-child(5) { animation-delay: 0.5s; }
.brand-product-card:nth-child(6) { animation-delay: 0.6s; }
