/* Header section */
.section-header {
    text-align: center;
    margin-bottom: 12px;
    position: relative;
}

.title-wrapper {
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #18593B 0%, #D3CF00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    margin-bottom: 5px !important;
}

.title-wrapper::before,
.title-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #18593B, #D3CF00, transparent);
    border-radius: 2px;
}

.title-wrapper::before {
    right: 100%;
}

.title-wrapper::after {
    left: 100%;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* Slider container */
.slider-wrapper {
    position: relative;
    padding: 20px 0 20px;
}

/* Main slider */
.slider-container {
    position: relative;
    overflow: visible;
}

.slider {
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(24, 89, 59, 0.1) 0%, transparent 20%, transparent 80%, rgba(211, 207, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 2;
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    gap: 0;
}

.slide {
    flex: 0 0 33.333%;
    padding: 30px 20px;
    transition: all 0.5s ease;
    position: relative;
}

/* Card styles */
.tour-card {
    background: linear-gradient(145deg, #1e1e1e, #252525);
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slide:hover .tour-card {
    transform: translateY(-20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.slide:nth-child(odd) .tour-card {
    border-top: 3px solid #18593B;
}

.slide:nth-child(even) .tour-card {
    border-top: 3px solid #D3CF00;
}

.image-container {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.image-container img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0.9);
}

.tour-card:hover .image-container img {
    transform: scale(1.1);
    filter: brightness(1);
}

/* Slot badge in image container */
.slot-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    padding: 8px 16px;
    min-width: 120px;
}

.slot-full {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: white;
}

.slot-limited {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.slot-open {
    background: linear-gradient(135deg, #18593B, #0d3d26);
    color: white;
}

/* Available slots display in card content */
.available-slots {
    display: flex;
    align-items: center;
    margin: 5px 0;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid;
}

.available-slots.slots-high {
    border-left-color: #18593B;
}

.available-slots.slots-low {
    border-left-color: #ff9800;
}

.available-slots.slots-none {
    border-left-color: #d32f2f;
}

.available-slots i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.available-slots.slots-high i {
    color: #4ade80;
}

.available-slots.slots-low i {
    color: #ff9800;
}

.available-slots.slots-none i {
    color: #f44336;
}

.available-slots span {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.available-slots .slot-count {
    margin-left: auto;
    font-weight: 700;
    font-size: 18px;
    background: linear-gradient(135deg, #18593B, #D3CF00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.date-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    z-index: 2;
}

.date-overlay i {
    color: #D3CF00;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Card content */
.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.tour-category {
    display: inline-block;
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 50px;
    margin-bottom: 20px;
    align-self: flex-start;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.tour-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.slide:nth-child(odd) .tour-category {
    background-color: rgba(24, 89, 59, 0.2);
    color: #4ade80;
    border: 1px solid rgba(24, 89, 59, 0.4);
}

.slide:nth-child(even) .tour-category {
    background-color: rgba(211, 207, 0, 0.2);
    color: #D3CF00;
    border: 1px solid rgba(211, 207, 0, 0.4);
}

.tour-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 15px;
    color: #fff;
}

.tour-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.tour-title a:hover {
    color: #D3CF00;
}

.tour-price {
    margin-top: 10px;
    margin-bottom: 15px;
    align-items: baseline;
    flex-direction: column !important;
}
.price-type{
    font-size: 0.9rem;
    color: #fff;
}

.price-amount {
    font-size: 25px;
    font-weight: 500;
    background: linear-gradient(135deg, #18593B 0%, #D3CF00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-right: 10px;
}

.price-note {
    font-size: 1rem;
    color: #aaa;
}

/* Interactive button */
.tour-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(90deg, #18593B 0%, #0d3d26 100%);
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 10px;
}

.slide:nth-child(even) .tour-button {
    background: linear-gradient(90deg, #D3CF00 0%, #a39d00 100%);
    color: #161616;
}

.tour-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.tour-button:hover::before {
    left: 100%;
}

.tour-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(24, 89, 59, 0.4);
}

.slide:nth-child(even) .tour-button:hover {
    box-shadow: 0 10px 25px rgba(211, 207, 0, 0.4);
}

.tour-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.tour-button:hover i {
    transform: translateX(5px);
}

/* Navigation buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    font-size: 24px;
    color: #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-btn:hover {
    background: linear-gradient(135deg, #18593B 0%, #D3CF00 100%);
    transform: translateY(-50%) scale(1.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

.prev-btn {
    left: -35px;
}

.next-btn {
    right: -35px;
}

/* Progress bar */
.slider-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.progress-fill {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, #18593B 0%, #D3CF00 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Dots indicator */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 15px;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.dot.active {
    background: linear-gradient(135deg, #18593B 0%, #D3CF00 100%);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(24, 89, 59, 0.7);
}

.dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid rgba(24, 89, 59, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

/* Footer note */
.slider-footer {
    text-align: center;
    margin-top: 15px;
    color: #888;
    font-size: 0.9rem;
}

.slider-footer a {
    color: #D3CF00;
    text-decoration: none;
    transition: color 0.3s;
}

.slider-footer a:hover {
    color: #18593B;
}

/* Card meta styles */
.card-meta {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.tour-date {
    display: flex;
    align-items: center;
    /* margin-bottom: 10px; */
    color: #bbb;
    font-size: 14px;
}

.tour-date i {
    margin-right: 8px;
    color: #D3CF00;
}

/* Auto-scroll indicator */
.auto-scroll-indicator {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    color: #888;
    font-size: 12px;
    z-index: 5;
}

.auto-scroll-indicator i {
    margin-right: 5px;
    color: #D3CF00;
    animation: pulse 1.5s infinite;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .slide {
        flex: 0 0 50%;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .nav-btn {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .prev-btn {
        left: -20px;
    }

    .next-btn {
        right: -20px;
    }

    .slot-badge {
        min-width: 110px;
        padding: 7px 14px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .slide {
        flex: 0 0 100%;
    }

    .title-wrapper::before,
    .title-wrapper::after {
        width: 25px;
        height: 2px;
    }

    .title-wrapper::before {
        right: 90%;
    }

    .title-wrapper::after {
        left: 90%;
    }

    /* Reset the wrapper and title spacing for mobile */
    .title-wrapper {
        margin-bottom: 10px;
        display: block;
        /* Changes from inline-block to center easier */
    }

    .section-title {
        font-size: 1.2rem;
        padding: 0;
        /* Removes the 20px side padding used for the lines */
        margin: 0 auto !important;
    }

    /* .title-wrapper::before,
    .title-wrapper::after {
        width: 50px;
    } */

    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .prev-btn {
        left: -10px;
    }

    .next-btn {
        right: -10px;
    }

    .image-container {
        height: 220px;
    }

    .slot-badge {
        min-width: 100px;
        padding: 6px 12px;
        font-size: 10px;
        top: 15px;
        right: 15px;
    }

    .available-slots {
        padding: 8px 12px;
        margin: 12px 0;
    }

    .available-slots .slot-count {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .card-content {
        padding: 20px;
    }

    .tour-title {
        font-size: 1.3rem;
    }

    .price-amount {
        font-size: 1.8rem;
    }

    .tour-button {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .slot-badge {
        min-width: 90px;
        padding: 5px 10px;
        font-size: 9px;
    }

    .available-slots {
        padding: 6px 10px;
        margin: 10px 0;
    }

    .available-slots span {
        font-size: 12px;
    }

    .available-slots .slot-count {
        font-size: 14px;
    }
}