html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.container-fluid {
    height: 100vh;
    width: 100vw;
    padding: 0;
}

.row {
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
}

.half {
    width: 50vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease-in-out;
    text-decoration: none;
}

.half:hover {
    transform: scale(1.05);
}
.overlay {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgb(0 0 0 / 67%);
    padding: 10px;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.overlay:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) scale(1.05);
}

.overlay h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.overlay p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 15px;
    font-weight: 500;
}

.visit-btn {
    display: inline-block;
    padding: 12px 25px;
    background: white;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

.visit-btn:hover {
    background: linear-gradient(186deg, #afafaf, #ddaf34, #9d3893);
    cursor: pointer;
    transform: scale(1.1);
}


/* Mobile View */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .half {
        width: 100vw;
        height: 50vh;
    }

    .overlay {
        background: rgba(0, 0, 0, 0.8) !important; /* Solid black overlay */
        color: white; /* Keep text white for contrast */
        backdrop-filter: none; /* Remove glass effect on mobile */
        border: none;
    }

    .overlay:hover {
        transform: translateX(-50%) scale(1.02); /* Slight hover effect */
    }
}