/* ===================================
   HERO SECTION - WITH IMAGE SLIDER
   =================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* ===================================
   BACKGROUND IMAGE SLIDER
   =================================== */

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Dark overlay for readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 41, 0.85) 0%,
    rgba(10, 14, 41, 0.75) 100%
  );
  z-index: 2;
}

/* Animated shapes on top of images */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.shape {
  position: absolute;
  background: var(--brick);
  opacity: 0.05;
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  left: 70%;
  animation-delay: 5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 15%;
  animation-delay: 8s;
}

.shape-4 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 50%;
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  75% {
    transform: translate(20px, 30px) scale(1.05);
  }
}

/* ===================================
   SLIDER CONTROLS
   =================================== */

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 10;
  pointer-events: none;
}

.slider-btn {
  pointer-events: all;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(253, 252, 252, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(253, 252, 252, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: var(--brick);
  border-color: var(--brick);
  transform: scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(253, 252, 252, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator.active {
  background: var(--brick);
  border-color: var(--white);
  transform: scale(1.3);
}

.indicator:hover {
  background: rgba(253, 252, 252, 0.6);
}

/* ===================================
   HERO CONTENT
   =================================== */

.hero-content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  color: var(--white);
}

.hero-label {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(146, 47, 22, 0.3);
  border: 1px solid var(--brick);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  /* color: var(--brick); */
  color: wheat;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 25px;
  font-weight: 800;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.text-rotate-wrapper {
  display: inline-block;
  position: relative;
}

.text-rotate {
  color: var(--brick);
  position: relative;
  transition: opacity 0.3s ease;
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(253, 252, 252, 0.9);
  margin-bottom: 35px;
  max-width: 550px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--brick);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(146, 47, 22, 0.4);
}

.btn-primary:hover {
  background: #7a2612;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(146, 47, 22, 0.5);
}

.btn-secondary {
  background: rgba(253, 252, 252, 0.1);
  color: var(--white);
  border: 2px solid rgba(253, 252, 252, 0.4);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(253, 252, 252, 0.2);
  border-color: var(--white);
}

.btn-large {
  padding: 18px 40px;
  font-size: 18px;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(253, 252, 252, 0.2);
}

.stat-item {
  text-align: left;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--brick);
  margin-bottom: 5px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-number::after {
  content: "+";
}

.stat-label {
  display: block;
  font-size: 14px;
  color: rgba(253, 252, 252, 0.8);
}

/* Hero Visual Cards */
.hero-visual {
  position: relative;
  height: 500px;
}

.hero-card {
  position: absolute;
  background: rgba(253, 252, 252, 0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(253, 252, 252, 0.15);
  border-radius: 16px;
  padding: 25px;
  color: var(--white);
  transition: all 0.3s ease;
  animation: cardFloat 6s infinite ease-in-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-card:hover {
  transform: translateY(-10px) !important;
  background: rgba(253, 252, 252, 0.12);
  border-color: var(--brick);
  box-shadow: 0 20px 40px rgba(146, 47, 22, 0.3);
}

.hero-card-1 {
  top: 50px;
  left: 50px;
  width: 200px;
  animation-delay: 0s;
}

.hero-card-2 {
  top: 200px;
  right: 80px;
  width: 180px;
  animation-delay: 2s;
}

.hero-card-3 {
  bottom: 80px;
  left: 100px;
  width: 190px;
  animation-delay: 4s;
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.card-icon {
  width: 50px;
  height: 50px;
  background: var(--brick);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.hero-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 5px;
}

.hero-card p {
  font-size: 14px;
  color: rgba(253, 252, 252, 0.8);
  margin: 0;
}

/* Floating Particles */
.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--brick);
  border-radius: 50%;
  opacity: 0.5;
  animation: particleFloat 15s infinite ease-in-out;
}

.particle-1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}
.particle-2 {
  top: 50%;
  right: 30%;
  animation-delay: 3s;
}
.particle-3 {
  bottom: 30%;
  left: 40%;
  animation-delay: 6s;
}
.particle-4 {
  top: 70%;
  right: 20%;
  animation-delay: 9s;
}
.particle-5 {
  bottom: 20%;
  right: 50%;
  animation-delay: 12s;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.5;
  }
  50% {
    transform: translate(50px, -50px);
    opacity: 0.8;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(253, 252, 252, 0.7);
  z-index: 5;
}

.scroll-indicator span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

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

@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 28px;
  }

  .slider-controls {
    padding: 0 15px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .slider-indicators {
    bottom: 80px;
  }
}
