/* ==========================================
   GLOBAL BRAND VARIABLES & RESETS
   ========================================== */
:root {
  --primary-red: #9E0013;
  --secondary-orange: #FF5B00;
  --gold-accent: #D4AF37;
  --gomytrip-red: #E91E1E;
  --gomytrip-blue: #003D7A;
  --gradient-accent: linear-gradient(135deg, #9E0013 0%, #FF5B00 100%);
  --gomytrip-gradient: linear-gradient(135deg, #E91E1E 0%, #003D7A 100%);
  --white: #FFFFFF;
  --bg-light: #F7F9FC;
  --dark-text: #1E293B;
  --muted-text: #475569;
  
  --font-title: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: white;
  color: var(--dark-text);
  line-height: 1.6;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================
   PAGE HEADER
   ========================================== */
.page-header {
  background: linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.85)), 
              url('https://images.unsplash.com/photo-1602216056096-3b40cc0c9944?q=80&w=1920') center/cover no-repeat;
  padding: 90px 0 70px;
  text-align: center;
  color: var(--white);
}

.sub-title {
  color: var(--secondary-orange);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 10px;
}

.page-header h1 {
  font-family: var(--font-title);
  font-size: 3.2rem;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.1rem;
  color: #E2E8F0;
  max-width: 650px;
  margin: 0 auto;
}

/* ==========================================
   ZIG-ZAG DESTINATIONS SECTION
   ========================================== */
.destinations-guide {
  padding: 90px 0;
}

.destination-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 110px;
}

/* Reverse layout for alternate items */
.destination-row.reverse {
  flex-direction: row-reverse;
}

/* Left/Right Text Content */
.dest-info {
  flex: 1;
}

.dest-tag {
  display: inline-block;
  background: rgba(255, 91, 0, 0.1);
  color: var(--secondary-orange);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.dest-info h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--dark-text);
  margin-bottom: 25px;
}

.info-block {
  margin-bottom: 22px;
}

.info-block h3 {
  font-size: 1.1rem;
  color: var(--primary-red);
  margin-bottom: 8px;
  font-weight: 600;
}

.info-block p {
  font-size: 0.95rem;
  color: var(--muted-text);
}

.info-block ul {
  list-style: none;
  padding-left: 0;
}

.info-block ul li {
  font-size: 0.95rem;
  color: var(--muted-text);
  margin-bottom: 8px;
  position: relative;
  padding-left: 22px;
}

.info-block ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--secondary-orange);
  font-size: 0.85rem;
  font-weight: bold;
}

/* Spots Tags */
.spots-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.spot-chip {
  background: linear-gradient(135deg, #FF5B00 0%, #FF7A3D 100%);
  border: none;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 25px;
  box-shadow: 
    0 4px 15px rgba(255, 91, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-transform: capitalize;
  letter-spacing: 0.3px;
}

.spot-chip::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.spot-chip:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 
    0 10px 30px rgba(255, 91, 0, 0.4),
    0 0 20px rgba(255, 91, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  background: linear-gradient(135deg, #FF7A3D 0%, #FF5B00 100%);
}

/* Varied colors for different tags */
.spot-chip:nth-child(1) {
  background: linear-gradient(135deg, #FF5B00 0%, #FF8C42 100%);
}

.spot-chip:nth-child(1):hover {
  background: linear-gradient(135deg, #FF8C42 0%, #FF5B00 100%);
}

.spot-chip:nth-child(2) {
  background: linear-gradient(135deg, #9E0013 0%, #D63031 100%);
}

.spot-chip:nth-child(2):hover {
  background: linear-gradient(135deg, #D63031 0%, #9E0013 100%);
}

.spot-chip:nth-child(3) {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
}

.spot-chip:nth-child(3):hover {
  background: linear-gradient(135deg, #357ABD 0%, #4A90E2 100%);
}

.spot-chip:nth-child(4) {
  background: linear-gradient(135deg, #27AE60 0%, #229954 100%);
}

.spot-chip:nth-child(4):hover {
  background: linear-gradient(135deg, #229954 0%, #27AE60 100%);
}

.spot-chip:nth-child(5) {
  background: linear-gradient(135deg, #8E44AD 0%, #6C3483 100%);
}

.spot-chip:nth-child(5):hover {
  background: linear-gradient(135deg, #6C3483 0%, #8E44AD 100%);
}

.spot-chip:nth-child(6) {
  background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
}

.spot-chip:nth-child(6):hover {
  background: linear-gradient(135deg, #C0392B 0%, #E74C3C 100%);
}

/* ==========================================
   STYLISH PHOTO FRAME SLIDER (RIGHT / LEFT)
   ========================================== */
.dest-slider-box.photo-frame {
  flex: 1;
  position: relative;
  height: 430px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 16px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  /* Modern multi-layered shadow for depth */
  box-shadow: 
    0 8px 32px rgba(158, 0, 19, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 91, 0, 0.1);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.5s ease,
              border-color 0.3s ease;
  overflow: hidden;
}

.dest-slider-box.photo-frame:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 15px 50px rgba(158, 0, 19, 0.15),
    0 30px 80px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 91, 0, 0.2);
  border-color: rgba(255, 91, 0, 0.3);
}

.mini-slider {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.08);
}

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.8s ease-in-out;
  image-rendering: high-quality;
  image-rendering: crisp-edges;
}

.slide-img.active {
  opacity: 1;
}

/* Floating Photo Frame Badge */
.frame-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, rgba(158, 0, 19, 0.85) 0%, rgba(255, 91, 0, 0.75) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 35px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  z-index: 10;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 24px rgba(158, 0, 19, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.frame-badge:hover {
  transform: scale(1.05);
  box-shadow: 
    0 12px 32px rgba(158, 0, 19, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Slider Dots Controls */
.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 18px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.s-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.s-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.s-dot.active {
  background: var(--secondary-orange);
  width: 28px;
  border-radius: 12px;
  border-color: rgba(255, 91, 0, 0.6);
  box-shadow: 
    0 4px 16px rgba(255, 91, 0, 0.4),
    0 0 0 3px rgba(255, 91, 0, 0.1);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 992px) {
  .destination-row,
  .destination-row.reverse {
    flex-direction: column;
    gap: 35px;
    margin-bottom: 75px;
  }
  
  .dest-slider-box.photo-frame {
    width: 100%;
    height: 340px;
  }
  
  .dest-info h2 {
    font-size: 2rem;
  }
  
  .page-header h1 {
    font-size: 2.3rem;
  }
}

/* ===================================================
   RESPONSIVE MEDIA QUERIES (Tablets & Mobile)
   =================================================== */

/* Shared Base Styles for the Image Cards */
.destination-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.dest-info, 
.dest-slider-box {
  flex: 1;
  width: 100%;
}

/* Image Container & Aspect Ratio Fix */
.dest-slider-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.mini-slider {
  position: relative;
  width: 100%;
  height: 380px; /* Base height for desktop */
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Prevents image distortion */
  border-radius: 12px;
  display: none;
}

.slide-img.active {
  display: block;
}

/* Reverse Row Layout for Desktop */
.destination-row.reverse {
  flex-direction: row-reverse;
}


/* ---------------------------------------------------
   1. TABLET BREAKPOINT (Max-width: 992px)
   --------------------------------------------------- */
@media screen and (max-width: 992px) {
  .destination-row,
  .destination-row.reverse {
    flex-direction: column; /* Stack vertically on tablets */
    gap: 1.5rem;
  }

  .dest-info, 
  .dest-slider-box {
    width: 100%; /* Ensure full width when stacked */
  }

  .mini-slider {
    height: 320px; /* Optimized height for tablet views */
  }

  .spots-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}


/* ---------------------------------------------------
   2. MOBILE BREAKPOINT (Max-width: 576px)
   --------------------------------------------------- */
@media screen and (max-width: 576px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .destination-row {
    margin-bottom: 2rem;
  }

  .mini-slider {
    height: 240px; /* Compact height for smaller mobile screens */
  }

  /* Badge Positioning Fix for Mobile */
  .frame-badge {
    font-size: 0.8rem;
    padding: 4px 10px;
    top: 10px;
    left: 10px;
  }

  /* Dot Controls Styling */
  .slider-dots {
    bottom: 10px;
  }
  
  .spot-chip {
    font-size: 0.85rem;
    padding: 4px 8px;
  }
}