/* Modern Photography Hero Slider */

.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
  margin-bottom: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide.next {
  z-index: 1;
}

/* Ken Burns Effect - Subtle Zoom */
.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 8s ease-out;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1.08);
}

/* Dark Overlay for Text Readability */
.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

/* Content Container */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 4;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.hero-content p {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s;
}

/* Show content when slide is active */
.hero-slide.active .hero-content h1,
.hero-slide.active .hero-content p,
.hero-slide.active .hero-cta-buttons {
  opacity: 1;
  transform: translateY(0);
}

/* CTA Buttons */
.hero-btn-primary {
  background: linear-gradient(45deg, #ff6b6b, #ee5a52);
  border: none;
  border-radius: 50px;
  padding: 15px 35px;
  color: white !important;
  text-decoration: none !important;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(238, 90, 82, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(238, 90, 82, 0.6);
  background: linear-gradient(45deg, #ee5a52, #ff6b6b);
  color: white !important;
  text-decoration: none !important;
}

.hero-btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  padding: 13px 35px;
  color: white !important;
  text-decoration: none !important;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
  color: white !important;
  text-decoration: none !important;
}

/* Navigation Arrows */
.hero-nav-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.hero-nav-prev {
  left: 30px;
}

.hero-nav-next {
  right: 30px;
}

.hero-nav-arrow {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 1.5rem;
}

.hero-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

/* Navigation Dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.hero-dot.active {
  background: white;
  transform: scale(1.3);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* Progress Bar for Auto-advance */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 5;
  width: 0%;
  transition: width 0.1s linear;
}

.hero-progress.active {
  background: linear-gradient(90deg, #ff6b6b, #ee5a52);
  animation: progressBar 5s linear infinite;
}

@keyframes progressBar {
  from { width: 0%; }
  to { width: 100%; }
}

/* Pause indicator */
.hero-slider.paused .hero-progress.active {
  animation-play-state: paused;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-slider {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .hero-nav-arrow {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .hero-nav-prev {
    left: 20px;
  }
  
  .hero-nav-next {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 65vh;
    min-height: 450px;
  }
  
  .hero-content {
    padding: 0 15px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .hero-btn-primary,
  .hero-btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
    width: 200px;
    justify-content: center;
  }
  
  .hero-nav-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .hero-nav-prev {
    left: 15px;
  }
  
  .hero-nav-next {
    right: 15px;
  }
  
  .hero-dots {
    bottom: 20px;
    gap: 12px;
  }
  
  .hero-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: 60vh;
    min-height: 400px;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-btn-primary,
  .hero-btn-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 180px;
  }
  
  .hero-nav-prev,
  .hero-nav-next {
    display: none; /* Hide arrows on very small screens */
  }
}

/* Touch Support Indicators */
.hero-slider {
  touch-action: pan-x;
  user-select: none;
}

/* Accessibility */
.hero-slider:focus-within .hero-nav-arrow,
.hero-slider:hover .hero-nav-arrow {
  opacity: 1;
}

.hero-nav-arrow:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
}

.hero-dot:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.3s ease;
  }
  
  .hero-slide-bg {
    transform: scale(1) !important;
    transition: none !important;
  }
  
  .hero-content h1,
  .hero-content p,
  .hero-cta-buttons {
    transition: opacity 0.3s ease;
    transform: none !important;
  }
}