﻿/* Reset body margins */
/*body {
    margin: 0;
    padding: 0;
}*/

/* Style for the full-screen image */
/*.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;*/ /* Ensures the image covers the screen */
    /*z-index: -1;*/ /* Places the image behind other elements */
    /*background-color: #f2ea7f;
}*/

/* Overlay container for the text */
/*.overlay {
    position: absolute;
    top: 64%;
    left: 74%;*/
    /* width: 100%; */
    /* height: 100%; */
    /*display: flex;
    justify-content: center;
    align-items: center;
}*/

/* Style for the "Contact Us" link */
/*.contact-link {
    font-size: 2rem;
    color: black;
    text-decoration: none;*/
    /*background-color: rgba(0, 0, 0, 0.5);*/ /* Semi-transparent background */
    /*padding: 10px 20px;
    border-radius: 5px;*/
    /*font-family: Arial, sans-serif;
    transition: background-color 0.3s ease;
}

    .contact-link:hover {*/
       /* background-color: rgba(255, 255, 255, 0.5);*/
        /*color: black;
    }*/
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
  
}

.image-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Fullscreen height */
    overflow: hidden;
}


.mobile-img {
    position: absolute;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}
.desktop-img
{
    position: absolute;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}
/* Default: Hide both images initially */
.desktop-img,
.mobile-img {
    display: none;
}

/* Show the desktop image on larger screens */
@media screen and (min-width: 768px) {
    .desktop-img {
        display: block;
    }
}

/* Show the mobile image on smaller screens */
@media screen and (max-width: 767px) {
    .mobile-img {
        display: block;
    }
}

/* Overlay Styles */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Contact Link - Default Styles */
.contact-link {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
   /* padding: 10px 20px;
    border-radius: 5px;*/
    transition: all 0.3s ease;
}

@media screen and (min-width:980px){
    .overlay {
        top: 71%;
        left: 84%;
    }
}
@media (min-width: 440px) and (max-width: 980px){
    .overlay {
        top: 67%;
        left: 85%;
    }
}
@media screen and (max-width:440px){
    .overlay {
        top: 79%;
        left: 59%;
    }
}
/* Desktop-specific Info Link Styles */
@media screen and (min-width: 768px) {
    .contact-link {
        color: black;
    }

        .contact-link:hover {
            /* background-color: rgba(255, 255, 255, 0.7);*/
            color: black;
        }
   
}

/* Mobile-specific Info Link Styles */
@media screen and (max-width: 767px) {
    .contact-link {
        color: black;
       /* background-color: rgba(255, 255, 255, 0.8);*/
        font-size: 16px;
       /* padding: 8px 16px;*/
    }

        .contact-link:hover {
           /* background-color: rgba(0, 0, 0, 0.8);*/
            color: white;
        }
    .overlay {
        top: 79%;
        left: 59%;
    }
}