:root{
--primary-color:rgb(255, 255, 255);
--secondary-color:rgb(231, 231, 231);
--accent-color:rgb(95, 72, 131);
--text-color:black;
--hover-color:rgb(120, 95, 170);
--bold-font: 'Arial Narrow Bold', sans-serif;
--primary-font:gilroy/Gilroy-Black.ttf;
--medium-font:gilroy/Gilroy-Medium.ttf;
--light-font:gilroy/Gilroy-Light.ttf;
--regular-font:gilroy/Gilroy-Regular.ttf;
}


body{
    background-color: var(--primary-color);
    color:var(--text-color);
    padding:10px;
    font-family: var(--primary-font);
    max-width: 1280px;
    width:100%;
    height:100vh;
    margin:0 auto;
}

    li{
        list-style: none;
    }
    a{
        text-decoration: none;
        color:var(--text-color);
    }

    /* Utilities */
    /* //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

    /*  header */
    #header{
        background-color: rgb(0, 255, 94);
        background-color: rgb(255, 255, 255);
        box-shadow: 2px 2px 10px rgba(255, 0, 0, 0.2);
        display:flex;
        justify-content: space-between;
        align-items:center;
        max-width: 1280px;
        width:100%;
        height:75px;
        border-radius: 7px;
        padding: 5px;
    }
#nav-list{
    display:flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 50px;
    font-family: var(--bold-font);
    color:black;
}

#nav-list ul{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:50px;
 font-size: 1.3rem;
 font-weight:500;
 font-family: 'Arial Narrow Bold', sans-serif;
 margin-right:2px;
}

#nav-list ul img {
   width:27px;
   height:auto;
   object-fit:cover;
    position:relative;
    top:5px;
    right:2.5px;
}

#li1{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:12px;
    height:40px;
    width:260px;
    border:none;
    outline:none;
    gap:10px;
}

#search{
    width:150px;
    height:39.5px; 
    border:none;
    font-size:13.5px;
    position:absolute;
    left:1.5px;
    border-radius:12px;
    padding:10px;
}
#search:focus{
   border:none;
   outline:none;
}
#srch-btn{
border:none;
    border-radius:12px;
     height:40px;
     position:absolute;
     right:2px;
}

#search-count{
    position:absolute;
    right:45px;
}


#nav-list ul :hover{
    background-color:rgb(240, 246, 246);
}

    .logo img{
        width:115px;
        height:auto;
        object-fit:cover;
        margin-left:10px;
    }

.fa-arrow-left{
    padding:3px;
    font-size: 1rem;
}
.fa-arrow-right{
    padding:3px;
    font-size: 1rem;
}
.arrow-btnleft, .arrow-btnright{
border-radius: 50%;
}
#slider-btn{
    display:flex;
    justify-content: center;
    align-items: center;
    gap:20px;
}

/* location */

.location-cont{
    width:325px;
    height:85px;
display:flex;
justify-content:center;
align-items:center;
position:relative;
left:5px;
background-color:#ffffff;
}

.location-cont img{
width:16px;
height:auto;
object-fit:cover;
position:absolute;
right:163px;
top:52px;
}

#loc-box{
     position:relative;
    bottom:2px;
    right:100px;
    display:flex;
    justify-content:center;
    align-items:center;
    border:none;
    width:140px;
    height:40px;
    color:rgb(154, 154, 154);
}

#loc{
    width:60px;
    height:auto;
    display:flex;
    justify-content:center;
    flex-direction:column;
    position:absolute;
    right:100px;
    bottom:10px;
    color:rgb(40, 38, 38);
}
#locat-space{
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    width:600px;
    height:auto;
    font-size:0.9rem;
    position:relative;
    bottom:5px;
}

#pin-btn img{
    position:absolute;
    right:5px;
    top:8px;
    width:22px;
    height:auto;
}

#pin{
    position:absolute;
    bottom:10;
    left:0;
    width:100px;
    height:30px;
    border:none;
    outline:none;
    /* border-radius:12px; */
    font-size:15px;
}


#location-top{
    display:flex;
    gap:100px;
}
#p1{
    position:absolute;
     bottom:5px;
     display:flex;
     flex-direction:column;
     font-family:'Courier New', Courier, monospace;
}
/* Signin floating form  */
.modal-overlay{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
  z-index: 1000; /* Make sure it's on top of other elements */
  justify-content: center; /* Center the form horizontally */
  align-items: center; /* Center the form vertically */
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    max-width: 500px; /* Limit the width for better readability */
    width: 90%; /* Responsive width */
    transform: scale(0.95); /* A subtle animation start state */
    transition: transform 0.3s ease-out, opacity 0.3s ease-out; /* Smooth transitions */
}

/* Style the close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}
.close-btn:hover {
    color: #333;
}

/* Form-specific styling */
.form-panel label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-panel input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-sizing: border-box; /* Ensures padding doesn't affect the width */
}

#signin-form  button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#signin-form button:hover {
    background-color: #0056b3;
}
#signup-form button{
      width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}
#signup-form button:hover {
    background-color: #0056b3;
}
.toggle-link a{
    color:#007bff;

}

#open-modal-btn{
   width: 100%;
    padding: 2px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 4px;
    font-size: 1.5rem;
 font-weight:500;
 font-family: 'Arial Narrow Bold', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s;
}


.form-panel.hidden{
    position:relative;
    display:none;
    margin:20px auto;
}


/* NEW Youganda */

#cart-img {
   
    position: fixed;
    bottom: 50px; 
    right: 80px;  
    
 
    width: 67px;  
    height: 67px;
    border-radius: 50%; 
    
    /* --- Centering the Icon Inside --- */
    display: flex;
    justify-content: center;
    align-items: center;

    /* --- Appearance --- */
    background-color: rgb(208, 168, 168);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    
}


#cart-img .cart-icon {
    width: 35px;  
    height: auto;
    color:rgb(255, 255, 255);
    margin-left:10px;
}

/* The number badge for the cart count */
#cart-count {
    /* --- Positioning --- */
    position: absolute; 
    top: -5px;         
    right: -5px;        
    
    /* --- Appearance --- */
    background-color: #d9534f; /* A common red for notifications */
    color: white;
    font-size: 14px;
    font-weight: bold;
    
    /* --- Sizing and Shape --- */
    border-radius: 50%;
    padding: 3px 6px; 
    min-width: 20px; 
    text-align: center;
}


































/* #cart-img{
    /* display:flex;
    justify-content:center; 
    margin-right:50px;
    position:fixed;
    bottom:70px;
    right:100px;
    background-color:rgb(144, 95, 31);
    width:100px;
    height:auto;
}
.cart-icon{
    width:800px;
    height:auto;
}

#cart-count{
    position:relative;
    bottom:24px;
    right:22.5px;
    font-size:15px;
    color:grey;
} 
*/
 #li5{
    display:flex;
    gap:20px;
}

/* container */
 .container{
    background-color: rgb(255, 255, 255);
    max-width:1280px;
    width:100%;
    box-sizing: border-box;
    height:auto;
    display:grid;
    grid-template-columns: auto 1fr;
    margin-block: 20px;
    padding:30px;
    gap:10px;
}



.category-sec {
    max-width: 1200px;
    width: 100%;
    height:100%;
    margin-block:40px;
}

#category-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

#category-top h2{
 font-family: 'Arial Narrow Bold', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
}
.category-container {
    overflow: hidden; /* hides overflowing images */
    position: relative;
}

.slider-track {
    display: flex;
    gap: 40px;
    margin-top: 30px;;
    transition: transform 0.5s ease;
}

.slider-img {
    width: 165px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

.arrow-btnleft, .arrow-btnright {
    border-radius: 46%;
    cursor: pointer;
}

















.offer-sec{
    position: relative;
    max-width: 1200px;
    width:100%;
    height:360px;
    margin-bottom: 60px;
    margin-top:-20px;
} 



.slider img{
   max-width: 1200px;
    width:100%;
    height:360px;
    margin-bottom: 60px;
    margin-top:-20px;
    border-radius: 10px;
    object-fit: cover;
}

.banner.active{
    display:block;
}

.banner{
    display: none;
    width: 100% ;
    height: 100%;
}

.prev,.next{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    font-size: 1rem;
    padding: 10px;
    cursor: pointer;
    background: rgb(255, 255, 255);
    border-radius: 10px;;
}
.prev{
    left:10px;
}
.next{
    right:10px;
}

.dots{
    text-align: center;
    position:absolute;
    bottom: 10px;
    width:100%;
}
.dot{
    width:10px;
    height:10px;
    margin:0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: white;
    width:18px;
    height:8px;
    border-radius:8px !important;
}








/* popular Resturants section */

.popular-sec{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    gap:30px;
    margin-top: 0;
}

.popular-card img{
  width:260px;
    height:180px;
    border-radius: 18px;
    object-fit: cover;
}

.popular-inner1 h2{
 font-family: 'Arial Narrow Bold', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
    margin-bottom: 20px;
   
}


.popular-inner2{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    row-gap:1px;
}

.Hero{
    display:flex;
    flex-direction: column;
    justify-content: center;
}

.Hero-inner h2{
    font-family: 'Arial Narrow Bold', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
    margin-bottom: 20px;
}




.hero-inner2{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
   row-gap:1px;
}

.hero-card img{
    width:260px;
    height:180px;
    border-radius: 18px;
    object-fit: cover;
}


.card-inner{
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: rgb(255, 255, 255);
    position:relative;
    top:-18px;
}

.points{
    display: flex;
    justify-content: flex-start;
    gap:10px;
    font-weight: 400;
    font-size: 1.1rem;
    position: relative;
    top:-8px;
    left:7px;
}

.points p{
    display:flex;
    justify-content: flex-start;
    gap:3px;
}



.tag{
    position: relative;
   top:-35px;
   left:10px;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   color:rgb(54, 49, 49);
}
.location{
    position: relative;
    top:-60px;
    left:10px;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   color:rgb(54, 49, 49);
}

.time{
    font-weight: 600;
    font-size: 17px;

}

.star img{
    width:20px;
    height:auto;
    border-radius: 50%;
    object-fit: cover;
}

/* card hover */
.hero-card:hover{
    transform:scale(0.95);
    transition: transform 0.3s ease-in;
}

.popular-card:hover{
    transform:scale(1.06);
    transition: transform 0.3s ease-in-out;
}

/* Footer */
.ftr-cont{
display:flex;
justify-content:space-evenly;
align-items:center;
gap:30px;
}

.ftr-cont h3{
    text-align:center;
}
#company ul{
    font-size:1.1rem;
    color:rgb(63, 63, 63);
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    display:flex;
    flex-direction:column;
    gap:10px;
}

#about-us ul{
font-size:1.1rem;
    color:rgb(63, 63, 63);
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    display:flex;
    flex-direction:column;
    gap:10px;
}
#legal ul{
    font-size:1.1rem;
    color:rgb(63, 63, 63);
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    display:flex;
    flex-direction:column;
    gap:10px;
}

#socials img{
    margin-inline:5px;
    width:20px;
    height:auto;
}
#apps{
    display:flex;
    flex-direction:column;
    gap:7px;
    margin-block:5px;
}
#apps img{
    width:100px;
    height:auto;
}

/* Mobile responsiveness Optimization 786px */
@media(max-width:768px){body{
    max-width:725px;
    width:100%;
    margin:0 auto;
}}
@media(max-width:768px){.logo img {
    width:60px;
    height:auto;
    object-fit:cover;
    margin-left:6px;
    background-color:#007bff;
}}

@media(max-width:768px) {#header{
    height:70px;
    padding:2px;
}}

@media(max-width:768px){#nav-list ul{
    gap:20px;
    font-size:16px;
    font-weight:500;
}}

@media(max-width:768px){#nav-list ul img{
width:17px;
   height:auto;
   object-fit:cover;
    position:relative;
    top:5px;
    right:2px;
}}

@media(max-width:768px){.location-cont{
    width:270px;
    height:80px;
}}
@media(max-width:768px){.location-cont img{
    width:13px;

}}
@media(max-width:768px){#loc-box{
    position:relative;
    right:75px;
    max-width:120px;
    width:100%;
    height:auto;
}}

@media(max-width:768px){#p1{
    position:relative;
    top:15px;
    left:5px;
    font-size:20px;
    clear:both;
}}
@media(max-width:768px){#big{
    font-size:18px;
    position:relative;
    /* top:20px; */
}}
@media(max-width:768px){#pin-btn img{
    position:relative;
    left:30px;
    top:1px;
    width:14px;
    
}}
@media(max-width:768px){#locat-space{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width:270px;
    width:180px;
    font-size:11px;
    top:7px;
    left:15px;
}}
@media(max-width:768px){#pin{
    font-size:10px;
}}

@media(max-width:768px){.location-cont img{
    right:150px;
    top:63px;
}}
@media(max-width:768px){#signup-form h2{
font-size:16px;
}}
@media(max-width:768px){#open-modal-btn{
    font-size:16px;
    font-weight:500;
}}
@media(max-width:768px){#li1{
    max-width:260px;
    width:100%;
    gap:5px;
    background-color:chocolate;
}}
@media(max-width:768px){#search{
    width:150px;
    padding:5px;
    border-radius:10px;
}}

