/* ============================================
   hero-store Section
   ============================================ */

.hero-store {
  min-height: 600px;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.hero-store-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-stores-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
}

.hero-stores-slide:nth-child(1) {
  opacity: 1;
}

.hero-stores-slide:nth-child(2) {
  animation-delay: 4s;
}

.hero-stores-slide:nth-child(3) {
  animation-delay: 8s;
}

@keyframes slideshow {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  43% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.hero-store-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-store-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-bg-light);
}

.hero-store-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--color-bg-light);
  letter-spacing: 1px;
}

.hero-store-subtitle {
  font-size: var(--font-size-2xl);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 2px;
}

/* ============================================
   Stores Page Styles
   ============================================ */
.stores-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-bg-light);
}

.intro-text {
  text-align: center;
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin-bottom: var(--spacing-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Stores Grid
   ============================================ */

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-3xl);
}

/* ============================================
   Store Card
   ============================================ */

.store-card {
  background-color: var(--color-bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--color-primary);
}

.store-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.store-card-header {
  background: linear-gradient(
    135deg,
    rgba(8, 145, 178, 0.1) 0%,
    rgba(245, 158, 11, 0.1) 100%
  );
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--color-border);
}

.store-name {
  font-size: var(--font-size-xl);
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
}

.store-feature {
  font-size: var(--font-size-sm);
  color: var(--color-secondary);
  font-weight: 600;
}

.store-card-body {
  padding: var(--spacing-lg);
  flex-grow: 1;
}

.store-info-item {
  margin-bottom: var(--spacing-lg);
}

.store-info-item .label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-info-item .value {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 0;
}

.store-features-list {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
}

.store-features-list h4 {
  font-size: var(--font-size-base);
  color: var(--color-dark);
  margin-bottom: var(--spacing-md);
}

.store-features-list ul {
  list-style: none;
  padding: 0;
}

.store-features-list li {
  padding: var(--spacing-sm) 0;
  padding-left: var(--spacing-lg);
  position: relative;
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.store-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.store-card-footer {
  padding: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

/* Map Link Styles */
.map-link {
  display: inline-block;
  margin-top: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--color-primary-light);
  color: var(--color-bg-light);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
}

.map-link:hover {
  background-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

/* ============================================
   Hero Slide Animation
   ============================================ */

.hero-stores-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: slideshow 12s infinite;
}

.hero-stores-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-stores-slide:nth-child(2) {
  animation-delay: 4s;
}

.hero-stores-slide:nth-child(3) {
  animation-delay: 8s;
}

@keyframes slideshow {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  43% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
  .hero-store {
    min-height: 400px;
    height: 50vh;
    margin-top: 70px;
  }

  .hero-stores-slide {
    background-size: 100% 100%;
  }

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

  .store-card-header {
    padding: var(--spacing-md);
  }

  .store-name {
    font-size: var(--font-size-lg);
  }

  .store-card-body {
    padding: var(--spacing-md);
  }

  .store-info-item {
    margin-bottom: var(--spacing-md);
  }

  .info-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-store {
    min-height: 300px;
    height: 40vh;
    margin-top: 60px;
  }

  .hero-stores-slide {
    background-size: 100% 100%;
  }

  .intro-text {
    font-size: var(--font-size-base);
  }

  .store-name {
    font-size: var(--font-size-base);
  }

  .store-feature {
    font-size: var(--font-size-xs);
  }

  .store-info-item .label {
    font-size: var(--font-size-xs);
  }

  .store-info-item .value {
    font-size: var(--font-size-xs);
  }

  .store-features-list li {
    font-size: var(--font-size-xs);
  }

  .info-card h4 {
    font-size: var(--font-size-base);
  }

  .info-card p {
    font-size: var(--font-size-xs);
  }
}
