/* TRAVELS.CSS - Styles for Travels landing page with carousel */

/* ==================== TRAVELS HEADLINE ==================== */

.travels-hero {
    text-align: center;
    margin-bottom: 60px;
}

.travels-headline {
    font-size: 3rem;
    font-weight: 300;
    color: #000;
    line-height: 1.3;
    margin: 0;
}


/* ==================== CAROUSEL SECTION ==================== */

.carousel-section {
    margin-bottom: 80px;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-wrapper {
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.carousel-slide {
    flex-shrink: 0;
}

.carousel-slide a {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-slide a:hover img {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.carousel-caption {
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.5px;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-btn svg {
    color: #333;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background-color: #999;
}

.dot.active {
    background-color: #333;
    width: 30px;
    border-radius: 6px;
}


/* ==================== INTRO TEXT SECTION ==================== */

.travels-intro {
    max-width: 900px;
    margin: 0 auto 80px;
}

.intro-text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.intro-text-content p {
    margin-bottom: 20px;
}

.intro-text-content p:last-child {
    margin-bottom: 0;
}

.intro-text-content a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid #000;
    transition: all 0.3s ease;
}

.intro-text-content a:hover {
    color: #666;
    border-bottom-color: #666;
}


/* ==================== RESPONSIVE - TABLET ==================== */

@media (min-width: 768px) {
    .carousel-slide {
        min-width: calc(50% - 10px);
    }
    
    .travels-headline {
        font-size: 3.5rem;
    }
}


/* ==================== RESPONSIVE - DESKTOP ==================== */

@media (min-width: 1024px) {
    .carousel-slide {
        min-width: calc(33.333% - 14px);
    }
}


/* ==================== RESPONSIVE - MOBILE ==================== */

@media (max-width: 767px) {
    .travels-headline {
        font-size: 2rem;
    }
    
    .carousel-container {
        padding: 0 50px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-slide img {
        height: 300px;
    }
    
    .intro-text-content {
        font-size: 1rem;
    }
}

