/* =========================================
   UP TOURISM STYLE HERO SLIDER
   ========================================= */

.up-slider-container {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 400px;
  max-height: 700px;
  overflow: hidden;
  background-color: #f5f5f5;
  margin-top: 0;
  /* Removed the nav-h margin to fix the gap */
  touch-action: pan-y;
  /* Allow vertical scroll, but capture horizontal */
}

.up-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* On mobile, make it slightly smaller */
@media (max-width: 768px) {
  .up-slider-container {
    height: 60vh;
    min-height: 350px;
  }
}

.up-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease-in-out, visibility 1.5s;
  z-index: 1;
}

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

.up-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 8s linear;
}

.up-slide.active img {
  transform: scale(1.08); /* Slow, royal zoom-in effect (Ken Burns) */
}

/* Subtle gradient at the bottom so text is readable */
.up-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.up-slide-content {
  position: absolute;
  bottom: 10%;
  left: 5%;
  max-width: 800px;
  z-index: 3;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
}

.up-slide.active .up-slide-content {
  opacity: 1;
  transform: translateY(0);
}

.up-slide-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.1;
  color: #fff;
}

.up-slide-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.up-slide-btn {
  display: inline-block;
  background-color: var(--saffron, #f0c842);
  color: #000;
  padding: 12px 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  transition: background 1s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.up-slide-btn:hover {
  background-color: #fff;
  color: #000;
}

/* Arrows */
.up-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.up-slider-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.up-slider-arrow.prev {
  left: 20px;
}

.up-slider-arrow.next {
  right: 20px;
}

/* Dots */
.up-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.up-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.up-slider-dot.active {
  background: var(--saffron, #f0c842);
  transform: scale(1.2);
}

/* =========================================
   BHAGWA SCRATCH INTRO SECTION
   ========================================= */
.up-intro-section {
  background-color: #D35400; /* Deep Bhagwa Background */
  /* Unique Scratch Texture Overlay */
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 6px),
                    repeating-linear-gradient(-45deg, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 1px, transparent 1px, transparent 6px);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  margin-top: 15px; 
  margin-bottom: 15px;
}

/* Torn/Brush Edge Top */
.up-brush-top {
  position: absolute;
  top: -19px;
  left: 0;
  width: 100%;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 20' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,20 L0,10 Q10,15 20,5 T40,10 T60,0 T80,15 T100,5 T120,10 T140,0 T160,15 T180,5 T200,10 L200,20 Z' fill='%23D35400'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 150px 20px;
  z-index: 10;
}

/* Torn/Brush Edge Bottom */
.up-brush-bottom {
  position: absolute;
  bottom: -19px;
  left: 0;
  width: 100%;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 20' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 L0,10 Q10,5 20,15 T40,10 T60,20 T80,5 T100,15 T120,10 T140,20 T160,5 T180,15 T200,10 L200,0 Z' fill='%23D35400'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 150px 20px;
  z-index: 10;
}

.up-intro-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.up-intro-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #FFD700; /* Gold text */
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.up-intro-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #ffffff; /* White text */
  margin-bottom: 30px;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.up-intro-title strong {
  font-weight: 700;
  color: #FFD700; /* Gold */
}

.up-intro-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #f1f1f1; /* Off-white text */
  margin-bottom: 20px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.up-btn-bhagwa {
  display: inline-block;
  background-color: #ffffff; /* White Button */
  color: #D35400; /* Bhagwa text */
  padding: 12px 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 20px;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.up-btn-bhagwa:hover {
  background-color: #FFD700; /* Gold hover */
  color: #5D2A00;
  transform: translateY(-2px);
}

/* Dark Mode Overrides */
body.dark-mode .up-intro-section {
  background-color: #1a1a1a !important;
}
body.dark-mode .up-brush-top {
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 20' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,20 L0,10 Q10,15 20,5 T40,10 T60,0 T80,15 T100,5 T120,10 T140,0 T160,15 T180,5 T200,10 L200,20 Z' fill='%231a1a1a'/%3E%3C/svg%3E") !important;
}
body.dark-mode .up-brush-bottom {
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 20' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 L0,10 Q10,5 20,15 T40,10 T60,20 T80,5 T100,15 T120,10 T140,20 T160,5 T180,15 T200,10 L200,0 Z' fill='%231a1a1a'/%3E%3C/svg%3E") !important;
}
body.dark-mode .up-intro-label,
body.dark-mode .up-intro-title,
body.dark-mode .up-intro-text {
  color: #ddd !important;
}