/* ===== BASE STYLES ===== */
:root {
    /* Color Scheme */
    --agency-primary: #2E7D32;
    --agency-secondary: #FF8F00;
    --agency-light: #E8F5E9;
    --agency-dark: #1B5E20;
    --text-dark: #212121;
    --text-medium: #424242;
    --text-light: #757575;
    --background-light: #FAFAFA;
    --border-color: #E0E0E0;
    
    /* Effects */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}



.popular-routes h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0047a3;
  margin-bottom: 0.5rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.popular-routes h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #0047a3;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.popular-routes .subhead {
  font-size: 1.05rem;
  font-weight: 400;
  color: #5c5c5c;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  margin-top: 0.5rem;
}


.routes-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    padding-bottom: 1rem;
}

.route-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 280px;
    margin-right: 1.5rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.route-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.deal-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--agency-secondary);
    color: red;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.route-details {
    padding: 1.25rem;
}

.route-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.route-dates {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 0.75rem;
}

.route-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--agency-primary);
    margin-bottom: 1rem;
}

.route-price span {
    font-size: 0.85rem;
    font-weight: normal;
    color: var(--text-medium);
}

.route-cta {
    width: 100%;
    text-decoration: none;
    padding: 0.5rem;
    background: var(--agency-primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.route-cta:hover {
    background: var(--agency-dark);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.carousel-prev,
.carousel-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--agency-light);
}

/* Popular Routes Desktop */
@media (min-width: 992px) {
    .popular-routes {
        padding: 3.5rem 0;
    }
    
    .routes-carousel {
        margin: 3rem 0;
    }
    
    .route-card {
        width: 280px;
        margin-right: 2rem;
    }
    
    .route-card:hover {
        transform: translateY(-5px);
    }
    
    .carousel-controls {
        margin-top: 2rem;
    }
}

/* Popular Routes Tablet */
@media (min-width: 600px) {
    .popular-routes {
        padding: 2.5rem 0;
    }
    
    .route-card {
        width: 260px;
    }
    
    .carousel-controls {
        margin-top: 1.5rem;
    }
}

/* Popular Routes Mobile */
.popular-routes {
    padding: 2rem 0;
}

.route-card {
    width: 240px;
    margin-right: 1rem;
}

.route-image {
    height: 140px;
}

.route-details {
    padding: 1rem;
}

.carousel-controls {
    margin-top: 0.5rem;
}
