﻿
/* =========================
   ROUTE 2 – HERO CONTAINER
   ========================= */

.route-2-hero-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 650px; /* 🔽 CONTROL TOTAL HEIGHT */
}

/* Hero image */
.route-2-hero-image {
    width: 100%;
    height: 650px; /* 🔽 SAME AS CONTAINER */
    object-fit: cover; /* keeps image proportional */
    display: block;
}

/* =========================
   OVERLAY CONTENT
   ========================= */
.route-2-hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    /*background-color: rgba(247, 248, 245, 0.8);*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.hero-white-bg {
    background-color: rgb(247 248 245 / 80%);
}


.route-2-hero-text {
    /*  max-width: 500px;
    text-align: left;*/
    font-size: 21px;
    padding: 10px;
}

    .route-2-hero-text h1 {
        font-weight: 700;
        margin-bottom: 1rem;
        color: orangered;
    }

    .route-2-hero-text p {
        font-size: 21px;
        margin-bottom: 1rem;
    }

/* Text color */
.route-2-text-color {
    color: #121212;
}

/* =========================
   DISTANCE (250 km)
   ========================= */

.route-2-distance {
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 56px;
    font-weight: 700;
    color: #121212;
    line-height: 1;
}

    .route-2-distance span {
        font-size: 26px;
        font-weight: 600;
    }

/* =========================
   DETAILS BUTTON
   ========================= */

.route-2-details-btn {
    position: absolute;
    bottom: 40px;
    left: 40px;
    padding: 8px 25px;
    background: linear-gradient(135deg, #6a2cff, #ff5c8d);
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
}

    .route-2-details-btn:hover {
        background-color: #6a348d;
        color: #fff !important;
    }

    /* =========================
   RESPONSIVE – MOBILE
   ========================= */


   /*.route-2-hero-image {
    height: 650px;
}*/

@media (max-width: 768px) {
    
    .route-2-hero-overlay {
        position: static;
        width: 100%;
        height: auto;
      /*  padding: 10px;*/
        background-color: rgba(255, 255, 255, 0.9);
    }

    .route-2-hero-image {
        height: 34vh;
    }

    .route-2-hero-text {
        max-width: 100%;
        text-align: center;
        font-size: 17px;
    }

        .route-2-hero-text h1 {
            font-size: 1.5rem;
        }

        .route-2-hero-text p {
            display: -webkit-box;
            /* -webkit-line-clamp: 4;*/
            font-size: 12px;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 17px;
        }

    .route-2-distance {
        top: 20px;
        left: 20px;
        font-size: 36px;
    }

        .route-2-distance span {
            font-size: 18px;
        }

    .route-2-details-btn {
        bottom: 20px;
        left: 20px;
        padding: 8px 20px;
        font-size: 13px;
    }
}

.route-2-hero-overlay .route-2-hero-text {
    position: relative;
}