﻿.image-container {
    position: relative;
    display: block;
}

/* Ensures the image scales correctly inside the popup */
.modal-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Shared link styling */
.more-info-link {
    position: absolute;
    display: block;
    text-indent: -9999px;
    background-color: transparent; /* rgba(255, 0, 0, 0.3);  TEMP for debugging */
    cursor: pointer;
    z-index: 10;
}

    /* Desktop: move up by 8.5% (~35px of 410px height) */
    .more-info-link.desktop {
        left: 89.8%;
        top: 62.2%; /* ← was 70.7%, adjusted upward */
        width: 29.2%;
        height: 8.8%;
        transform: translate(-100%, 0);
    }

    /* Mobile: same 35px offset, 35 / 610 ≈ 5.74% */
    .more-info-link.mobile {
        left: 71.8%;
        top: 79.1%; /* ← was 84.8%, adjusted upward */
        width: 46.1%;
        height: 5.6%;
        transform: translate(-100%, 0);
    }


/* Mobile/Desktop switching */
.hero-image-mobile, .mobile-image {
    display: none;
}

@media (max-width: 768px) {
    .hero-image, .desktop-image {
        display: none;
    }

    .hero-image-mobile, .mobile-image {
        display: block;
    }
}

/* ***************** */

.modalComingSoon {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.25); /* Semi-transparent background */
    z-index: 1000; /* Ensure modal is on top */
}

.modal-contentComingSoon {
    background-color: #FEFEFE;
    border-radius: 8px; /* Rounded corners */
    overflow: visible; /* Visible overflow */
    position: relative;
    max-width: 45%;
    /*max-width: 50%;  Max width */
    max-height: 90%; /* Max height */
    margin: 10% auto; /* 10% from the top and centered */
    border: 1px solid #F5C446;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    justify-content: center; /* Center image horizontally */
    align-items: center; /* Center image vertically */
}

.modal-image {
    max-width: 700px;
    width: 100%; /* Makes the SVG responsive */
    height: auto; /* Maintains aspect ratio */
}

.close {
    display: inline-block;
}

    .close:hover,
    .close:focus {
        color: #aaa;
        text-decoration: none;
        cursor: pointer;
    }

.close-button {
    cursor: pointer;
    float: right; /* Align to the right */
    background-color: #F5C446;
    border-radius: 50%; /* Make it round */
    border: none;
    width: 40px; /* Set width */
    height: 40px; /* Set height */
    display: flex; /* Center the content */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    font-size: 24px;
    font-weight: 700;
    transition: background-color 0.3s;
    position: absolute;
    top: -2em;
    right: 0;
    padding: 0 10px;
}

    .close-button:hover {
        color: #000;
        background-color: #D32F2F;
    }

@media only screen and (min-width: 767px) and (max-width: 1285px) {
    .modal-contentComingSoon {
        max-width: 56%;
    }
}

@media only screen and (max-width: 767px) {
    .modal-contentComingSoon {
        max-width: 70% !important;
        margin: 20% auto !important;
    }
}
