/* Welcome Page Styles - Optimized */

/* Core layout styles */

/* Mobile responsive styles */
@media only screen and (max-width: 767px) {
    /* Mobile-specific styles here */
}

.owl-carousel .owl-dots {
    text-align: center; /* Center the dots */
    white-space: nowrap; /* Prevent the dots from wrapping onto a new line */
    overflow-x: auto; /* Enable horizontal scrolling if the dots overflow */
    overflow-y: hidden; /* Prevent vertical scrolling */
}

.owl-carousel .owl-dot {
    display: inline-block; /* Line the dots up horizontally */
    /* Add additional styling as needed */
}

/* Social buttons - kept for potential future use */
.social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin: 10px;
    font-size: 24px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.social-button:hover {
    background-color: white;
    transform: scale(1.1);
}

/* Hover effects - optimized */
.hover-grow {
    transition: transform 0.3s ease-in-out;
}

.hover-grow:hover {
    transform: scale(1.05);
}

#locationImage {
    max-width: 100%;
    height: auto;
    display: block;  /* To remove any undesired bottom space */
}

#locationheader {
    background: linear-gradient(90deg, rgba(255,97,5,1) 0%, rgba(255,144,57,1) 50%, rgba(255,97,5,1) 100%) !important;
}

#toprow {
    background-color: #FEF8F7;
}

@media (max-width: 767px) {
    .header-content {
        flex-direction: row;  /* Horizontal layout for larger screens */
    }
    .sticky-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        border-radius: 0 0 0 0;
        z-index: 10 !important; /* Ensures the header stays on top of other elements */
        width: 100%;
        display: flex;
        justify-content: center; /* Centers the header-content within the sticky-header */
    }

    .header-content {
        width: 90%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 10px;
    }

    .search-bar {
        padding: 10px;
        border: none;
        font-size: 16px;
        color: black;
        flex: 1; /* Makes the search bar take available width */
        margin-right: 20px; /* Spacing from the links */
        outline: none; /* Remove default browser focus style */
    }

    .search-bar {
        margin-right: 20px;  /* Restore original margin */
    }

    #locationSidebar {
        left: 1% !important;
        right: 1% !important;
        width: 98%;
    }
    .menu-icon {
        display: block !important;
    }
    .links {
        display: none !important;
    }
    #hamburger {
        display: block !important;
    }
    #headerlogo {
        display: none;
    }
    #xer {
        font-size: 30px;
    }

    #map {
        position: relative;
        height: 50vh;
    }
    .topheroimage {
        margin-top: 20vw;
    }
    .herocarditself {
        margin-top: 1vh;
    }
    .herotoptext {
        font-size: 20px;
        line-height: 1.2;
        font-weight: 700;
    }
    .heroorderbutton {
        padding-top: 0;
        padding-bottom: 0;
        font-size: 12px;
    }
    .enablemobile {
        display: block;
    }

    .enabledesktop {
        display: none;
    }
    .productprice {
        font-size: 20px;
        color: #343f52;
        font-weight: bold;
    }
    .productname {
        font-size: 20px;
    }
    .productsending {
        font-size: 14px;
    }
    .productbutton {
        font-size: 12px;
    }
    .ordercardhalfwaytext {
        font-size: 14px !important;
        width: 100%;
    }
    .desktop_enable {
        display: none;
    }
    .mobile_enable {
        display: block;
    }
}

/* Styles for larger screens */
@media (min-width: 768px) {
    .header-content {
        flex-direction: row;  /* Horizontal layout for larger screens */
    }
    .sticky-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;

        border-radius: 0 0 12px 12px;
        z-index: 10 !important; /* Ensures the header stays on top of other elements */
        width: 40%;
        left: 30%;
        display: flex;
        justify-content: center; /* Centers the header-content within the sticky-header */
    }

    .header-content {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 10px;
    }

    .search-bar {
        padding: 10px;
        border: none;
        height: 40px;
        font-size: 16px;
        color: black;
        background-color: white;
        flex: 1; /* Makes the search bar take available width */
        margin-right: 20px; /* Spacing from the links */
        outline: none; /* Remove default browser focus style */
    }

    .search-bar {
        margin-right: 20px;  /* Restore original margin */
    }

    #locationSidebar {
        top: 5% !important;
        width: 300px;
    }
    .menu-icon {
        display: none !important;
    }
    .links {
        display: inline-block !important;
    }
    #hamburger {
        display: none !important;
    }
    #toprow {
        padding: 100px;
    }

    #map {
        position: relative;
        height: 60vh;
    }

    .topheroimage {
        margin-top: 5vh;
    }
    .herotoptext {
        font-size: 3vw;
        line-height: 1.2;
    }

    .enablemobile {
        display: none;
    }

    .enabledesktop {
        display: block;
    }
    .productprice {
        font-size: 30px;
        color: #343f52;
        font-weight: bold;
    }
    .productname {

    }
    .desktop_enable {
        display: block;
    }
    .mobile_enable {
        display: none;
    }
}

#locationSidebar {
    background: white;
    position: absolute;
    top: 3%;
    left: 2%;
    z-index: 10;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    display: none;
}

/* Style for the popup */
.mapboxgl-popup-content {
    background-color: #ECE63D !important;
    min-width: 300px !important;
    font-weight: bold !important;
    font-size: 16px !important;
    border-radius: 7px !important;
    color: #4d4d4d !important;
    font-family: THICCCBOI !important;
    box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.3);
}

/* Additional style for the popup arrow (the little pointer) */
.mapboxgl-popup-tip {
    border-top-color: #ECE63D !important;
}

.procard {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition on transform and shadow */
    cursor: pointer;
}

.procard:hover {
    transform: scale(1.05); /* Slightly increase size */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

.extrashadow {
    -webkit-box-shadow: 10px 11px 17px -1px rgba(184,184,184,1) !important;
    -moz-box-shadow: 10px 11px 17px -1px rgba(184,184,184,1) !important;
    box-shadow: 10px 11px 17px -1px rgba(184,184,184,1) !important;
}

.header_text {
    font-size: clamp(12px, 1vw, 24px);
    font-weight: 700;
}

.whitetrans {
    background: rgba(250, 250, 250, 0.6); /* 30% transparent background */
    padding: 40px;
    padding-top: 10px;
}

.imghover {
    transition: transform 0.3s ease; /* Smooth transition */
}

.imghover:hover {
    transform: scale(1.05);          /* Slight zoom on hover */
}

.statusmessage a {
    color: white !important;
}

.custom-col {
    flex: 0 0 14%;
    max-width: 14%;
}

@media (max-width: 576px) {
    .card-body svg {
        width: 25px; /* Smaller icons for mobile */
        height: 25px;
        margin: 0 auto; /* Center the SVG horizontally */
        padding: 0; /* Reset padding */
        display: block;
    }

    .card-body h4 {
        font-size: 0.5rem; /* Smaller text on mobile */
    }

    .extrabody {
        padding: 0.5rem; /* Add padding to the card body */
    }

    .card-body a.more {
        font-size: 0.5rem; /* Smaller link text on mobile */
    }
}