/* Import IBM Plex Sans */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-accent: #e55b13;
  --background-white: #fff;
}

/* ------------------------------
   Hero Slider
------------------------------ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh; /* full height desktop */
  overflow: hidden;
  font-family: 'IBM Plex Sans', sans-serif;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

/* Overlay (dark gradient always visible) */
.overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to right, rgba(0,0,0,0.45) 30%, rgba(0,0,0,0.15) 70%, rgba(0,0,0,0.15)); */
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

/* ------------------------------
   Banner Content
------------------------------ */
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 1.5rem;
  color: var(--background-white);
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.slide.active .banner-content {
  opacity: 1;
  animation: fadeUp 1.2s ease forwards;
}

.banner-content h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.banner-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 1.5rem;
  color: #f5f5f5;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.btn-primary {
  background: var(--primary-accent);
  color: var(--background-white);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #c94e0c;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  outline: none;
  color: #fff !important;
  border: 1px solid #fff;
}

/* ------------------------------
   Navigation Arrows
------------------------------ */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem;
  color: var(--background-white);
  padding: 0.6rem;
  cursor: pointer;
  border: none;
  background: rgba(0,0,0,0);
  border-radius: 50%;
  z-index: 3;
  transition: background 0.3s;
}
.slider-nav:hover,
.slider-nav:focus {
  background: rgba(0,0,0,0.1);
  outline: none;
}
.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

/* ------------------------------
   Dots
------------------------------ */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.slider-dots div {
  width: 12px;
  height: 12px;
  background: var(--background-white);
  border-radius: 50%;
  opacity: 0.6;
  cursor: pointer;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.slider-dots div.active {
  opacity: 1;
  transform: scale(1.2);
  background: var(--primary-accent);
}

/* ------------------------------
   Animations
------------------------------ */
@keyframes fadeUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 768px) {
  .hero-slider { height: 70vh; }
  .banner-content { padding: 1rem; }
  .banner-content h1 { font-size: 1.8rem; }
  .banner-content p { font-size: 1rem; }
  .btn-primary { font-size: 0.9rem; padding: 0.7rem 1.5rem; }
  .slider-nav { font-size: 2rem; }
}
@media (max-width: 480px) {
  .hero-slider { height: 60vh; }
  .banner-content h1 { font-size: 1.5rem; }
  .banner-content p { font-size: 0.9rem; }
  .btn-primary { font-size: 0.85rem; padding: 0.6rem 1.3rem; }
}
