/* Hero Section - Vertical Rectangle Format */
.hero {
  min-height: 80vh;
  background: linear-gradient(135deg, var(--cream) 0%, var(--light-cream) 100%);
  padding: var(--space-20) 0; 
  align-items: center;
  width: 100%;
}
/* Hero Container - Content wrapper with proper width */
.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: var(--space-12);
}

.hero-content {
  padding: 0;
}


.hero-title {
  font-family: var(--font-primary);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--royal-blue);
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Heritage Slideshow - FIXED CSS */
.hero-images {
  position: relative;
  width: 100%;
  max-width: 500px;
  height:800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.heritage-slideshow {
  position: relative;
  width: 100%;
  height: 100%; /* Change from 400px to 500px */
  overflow: hidden;
  border-radius: 12px; /* Change from 8px to 12px */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Add this line */
}

.heritage-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.heritage-slideshow [class*="number"],
.heritage-slideshow [class*="counter"] {
  display: none !important;
}

.slide-number,
.slide-counter,
.slideshow-indicator,
.heritage-slideshow .slide::before {
  display: none !important;
}
.heritage-slideshow .slide.active {
  opacity: 1;
}

.heritage-slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Remove debug numbers after testing */
.slide::before {
  content: attr(data-slide);
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(30, 58, 138, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  z-index: 10;
}
/* Add these animation styles to your existing CSS */

/* Scroll Animations */
.section-header,
.product-card,
.philosophy-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.section-header.animate-in,
.product-card.animate-in,
.philosophy-content.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for product cards */
.product-card:nth-child(1) { transition-delay: 0.1s; }
.product-card:nth-child(2) { transition-delay: 0.2s; }
.product-card:nth-child(3) { transition-delay: 0.3s; }
.product-card:nth-child(4) { transition-delay: 0.4s; }
.product-card:nth-child(5) { transition-delay: 0.5s; }
.product-card:nth-child(6) { transition-delay: 0.6s; }

/* Wishlist button active state */
.wishlist-btn.active {
  color: var(--accent-gold);
  transform: scale(1.1);
}

/* Featured Collections */
.featured-collections {
  padding: var(--space-20) 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header h2 {
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  color: var(--royal-blue);
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.collections-scroll {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.collections-track {
  display: flex;
  gap: var(--space-6);
  animation: scrollHorizontal 25s linear infinite;
  width: calc(200px * 14 + var(--space-6) * 13);
}

@keyframes scrollHorizontal {
  0% { 
    transform: translateX(0); 
  }
  100% { 
    transform: translateX(calc(-200px * 7 - var(--space-6) * 6));
  }
}

.collections-scroll:hover .collections-track {
  animation-play-state: paused;
}

.collection-card.portrait {
  flex: 0 0 200px;
  height: 300px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  pointer-events: none;
  transition: transform var(--transition-base);
}

.collection-card.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  user-select: none;
}

.collection-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(30, 58, 138, 0.9));
  color: var(--white);
  padding: var(--space-6) var(--space-4) var(--space-4);
  transform: translateY(100%);
  opacity: 0;
  transition: all var(--transition-base);
  pointer-events: none;
}

.collection-overlay h3 {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.collection-overlay p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  opacity: 0.9;
}

.collection-btn {
  background: var(--white);
  color: var(--royal-blue);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-base);
  pointer-events: none;
}

/* Heritage Timeline Section */
.heritage-timeline-section {
  padding: var(--space-20) 0;
  background: var(--cream);
}

/* New Arrivals - Centered */
.new-arrivals {
  padding: var(--space-20) 0;
  background: var(--white);
}

.products-grid.centered {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  justify-items: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.section-footer {
  text-align: center;
}

/* Brand Philosophy - Centered */
.brand-philosophy {
  padding: var(--space-20) 0;
  background: var(--light-cream);
}

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

.philosophy-content.centered h2 {
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  color: var(--royal-blue);
  margin-bottom: var(--space-4);
}

.philosophy-tagline {
  font-size: var(--text-xl);
  color: var(--accent-gold);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.philosophy-description {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: var(--space-8);
}

/* Newsletter */
.newsletter {
  padding: var(--space-20) 0;
  background: var(--royal-blue);
  color: var(--white);
  text-align: center;
}

.newsletter h2 {
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.newsletter p {
  font-size: var(--text-lg);
  opacity: 0.9;
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  gap: var(--space-4);
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-3);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
}

.newsletter-form input:focus {
  outline: 2px solid var(--accent-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: var(--space-8) 0;
  }
  
  .hero-content {
    text-align: center;
    order: 1;
  }
  
  .hero-images {
    order: 2;
    width: 300px;
    height: 400px;
    margin: var(--space-8) auto 0;
  }
  
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .collections-track {
    animation-duration: 20s;
  }
  
  .collection-card.portrait {
    flex: 0 0 150px;
    height: 200px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .section-header h2 {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-2xl);
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .hero-images {
    width: 250px;
    height: 350px;
  }
  
  .collection-card.portrait {
    flex: 0 0 120px;
    height: 180px;
  }
}