
:root {
    --paddingX: calc(600px);
    --section-gap: 50px;

}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: url('../img/food-order.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 300px;
    height: 50vh;

    /* padding: 100px 50px; */
    color: white;
    text-align: left;
    /* position: relative; */
    overflow: hidden;
    margin-bottom: var(--section-gap);
}

/* .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
} */

.hero-content {
    max-width: var(--max-width);
    margin: auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    gap: 10px;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-box input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
}

.locate-btn,
.search-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.locate-btn {
    background: #fff;
    color: var(--accentColor);
    border: 1px solid var(--accentColor);
}

.search-btn {
    background: linear-gradient(135deg, var(--accentColor), var(--accentColorLight));
    color: white;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, var(--accentColorLight), var(--accentColor));
}

#location-suggestions {
    position: absolute;
    z-index: 10;
    max-height: 300px;
    
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
    min-width: 50%;
}

.suggestion-item {
    cursor: pointer;
    transition: background-color 0.2s;
    display: block;
    color: black !important;
    border-bottom: 1px #000 solid;
    
}

.secondary-text{
    font-size: 12px;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
    color: black;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.close-modal {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.address-display {
    margin: 15px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.primary-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.secondary-btn {
    background: #f0f0f0;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}


.hero-image {
    display: none;
    /* Hide the image if using a background image */
}

/* Product Section */
.featured-section {
    max-width: var(--max-width);
    margin: auto;
    margin-bottom: var(--section-gap);
    /* overflow-x: auto; */
}

.featured-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--sectionLabelColor);
    margin-bottom: 20px;
    text-align: left;
}


.visit-store {
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    background-color: var(--accentColor);
    color: white;
    height: 40px;
    margin-left: 20px;
    text-decoration: none;

}


.featured-container {
    width: inherit;
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px;

    scrollbar-width: none;
    white-space: nowrap;
}

.featured-container::-webkit-scrollbar {
    display: none;
}

/* Product section end */

/* Partnership Section */
.partnership {
    width: 100%;
}

.partnership>div:first-child {
    max-width: var(--max-width);
    margin: auto;
}

/* .partnership-content {
    position: relative;
    width: 100%;
    height: 600px;
    background-image: url('../img/partner-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.partnership-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    text-align: center;
    color: #333;
    position: absolute;
    left: 40%;
    top: 50px;
    z-index: 100;
}

.blure-section {
    background: white;
    position: absolute;
    background: rgba(165, 165, 165, 0.5);
    z-index: 2;
    height: 100%;
    width: 100%;
} */


/* .partnership h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.partnership-subtitle {
    font-size: 24px;
    font-weight: bold;
    color: var(--accentColor);
    margin-bottom: 20px;
    text-align: left;
}

.partnership-description {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.6;
} */

.partner-btn {
    background: var(--accentColor);
    color: white;
    padding: 10px 8px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
}

.partner-btn:hover {
    background: var(--accentColor);
    color: #fff;
}

/* end */


/* Cities Section */

.cities {
    text-align: left;
    max-width: var(--max-width);
    margin-bottom: var(--section-gap);
    margin-left: auto;
    margin-right: auto;

}

.cities>div {
    margin-bottom: 18px;
}

.cities>div h2 {
    font-size: 28px;
    font-weight: bold;
}

.city-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.city {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.city img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.city img:hover {
    transform: scale(1.05);
}

.city span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
}

/* Download App Section */
.download-app {
    background: var(--accentColor);
    height: 300px;
    width: 100%;
    margin-top: 80px;
    color: white;
    margin-bottom: var(--section-gap);
}

.store-buttons {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.store-item {
    background-color: #fff;
    display: flex;
    color: black;
    align-items: center;
    height: 60px;
    border-radius: 8px;
    padding: 8px 14px;
    margin-right: 14px;
    text-decoration: none;
    justify-content: space-around;
    font-size: 14px;
    font-weight: 500;
} 

.store-item img {
    width: 30px;
    margin-right: 10px;
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid var(--accentColor);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

.system-padding {
    padding: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width:1200px) {
    .app-image {
        height: 60%;
        width: 100%;
        right: 0;
        left: 0;
        top: 50%;
    }

    .app-image>img {
        width: 90%;
    }
}

@media screen and (max-width:767px) {
    .hero-content {
        padding: 0 var(--systemPading);
    }
    .system-padding {
        padding: 0 var(--systemPading);
    }
    .download-app {
        height: 500px;
        padding: 0 var(--systemPading);
    }
}


@media screen and (max-width:530px) {
    #search-btn-1 {
        display: none;
    }

    #search-btn-2 {
        display: block !important;
        margin-top: 10px;
        width: 100%;
    }


}