@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
  }

:root{
    --main-color: #254D70;
    --main-color-hover: #1B3A54;
}

li{
    list-style: none;
}

a{
    text-decoration: none;
} 


/* navbar styling*/
header{
    position: sticky;
    top: 0px;
    background: var(--main-color);
    width: 100%;
    z-index: 100;
}

header .navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo-text{
    color: white;
    font-weight: 800;
    font-family:'Times New Roman', Times, serif;
}

.navbar .nav-menu {
    display: flex;
    gap: 10px;
}

.nav-link{
    padding: 10px 18px;
    color: #ddd;
    transition: 0.3s ease;
    font-weight: 700;
    font-size: 20px;
}

.active , .nav-link:hover{
    color:white;
    text-shadow: 0px 0px 10px white;
}

.navbar #menu-close-button, .navbar #menu-open-button{
    display: none;
    opacity: 0;    
}



/* home styling*/


.hero {
height: 80vh;
background-image: url('../assets/images/food_1.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-align: center;
}

.hero::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4); /* dark overlay */
z-index: 1;
}


.hero-content {
position: relative;
z-index: 2;
max-width: 800px;
padding: 0 20px;
animation: dropIn 2s ease-out forwards;
}

.hero-content h1 {
font-size: 48px;
font-weight: 700;
margin-bottom: 20px;
line-height: 1.3;
}

.hero-content p {
font-size: 20px;
margin-bottom: 30px;
color: #f0f0f0;
}

.hero-buttons {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
}

.btn {
padding: 12px 28px;
font-size: 16px;
font-weight: 600;
text-decoration: none;
border-radius: 6px;
transition: 0.3s ease;
}

/* Red Button */
.blue-btn {
background-color: var(--main-color);
color: white;
border: none;
}

.blue-btn:hover {
background-color: #1B3A54;
}

/* White Button */
.white-btn {
background-color: white;
color: #333;
border: none;
}

.white-btn:hover {
background-color: #f0f0f0;
}

/* Featured Products Section */

.featured-products{
    background-color:#eee;
    padding-bottom: 10vh;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
}

.section-header h1{
    padding: 5vh;
    text-align: center;
    font-size: 2.5rem;
}

.veiw-more-btn{
    background-color:var(--main-color);
    color:white;
    font-size: 1.2rem;
    margin-top: 5vh;
    padding: 10px;
    border-radius:5px;
    align-self: center;
}

.veiw-more-btn a{
    color:white
}
 /* our story section */

.our-story{
    display: flex;
    gap:50px;
    height: 50vh;
    padding-left: 3rem;
    padding-right: 3rem;
    justify-content: flex-end;
    align-items:center;
}

.story-text,
.story-img-container {
    width: 50%;
    height: 100%;
    font-size: 1.2rem;
}

.story-text {
    display: flex;
    align-items: center;
    text-align: left;
}


.story-img-container{
    border-radius:10px;
    overflow: hidden;
    box-shadow: 10px 10px 20px #aaa
 } 
.story-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* contact page styling*/

.content{
    display: flex;
    flex-direction: column;
}

.page-header{
    margin: auto;
    text-align: center;
    margin: 10vh 0;
}
.page-header h1{
    font-size: 3rem;
}

.contact-container{
    display: flex;
    height:80vh;
    min-height: fit-content;
    width: 80vw;
    justify-content: space-between;
    align-items:center;
    margin: auto;
    background-color:#eee;
    border-radius:20px;
    box-shadow:0 0 20px #bbb
}

.contact-form{
    width: 50%;
    padding:20px;
}

form{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contact-form form .form-input{
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border-radius:5px;
    border:1px solid #ccc;
}

.contact-form form .form-input:focus{
    border:2px solid var(--main-color);
    outline: none;
}

.contact-form form .submit-btn{
    width: 50%;
    margin: auto;
    padding: 5px;
    font-size: 20px;
    font-weight: 700;
    border:1px solid black;
    border-radius:30px;
    transition: 0.5s ease;
}

.contact-form form .submit-btn:hover{
    background-color:var(--main-color);
    color:white;
    border:none;
}

.contact-image-container{
    height:100%;
    width:50%;
    overflow: hidden;
}

.contact-image-container img{
    width: 100%;
    height:100%;
    object-fit: cover;
}



/* product page styling*/

.products-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0px 5vw;
}



/* product card styling*/

.product-card{
    height: 60vh;
    min-height: fit-content;
    width:100% ;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    margin: auto;
    transition: 0.5s ease;
    position: relative;
    box-shadow: 1px 1px 10px #ccc;
    background-color:white;
}

.image-section{
    height:70%;
}

.product-image{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.info-section{
    padding: 5px 10px;
    height: 30%;
    min-height: fit-content;
}

.product-name{
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-description{
    color:#666;
    margin-bottom:0.5rem;
}

.product-price{
    color:darkred;
    margin-bottom:0.5rem;
    font-weight: 500;
}

.add-to-cart-btn{
    width: 80%;
    border-radius:0.5rem;
    background-color:var(--main-color);
    color:white;
    padding: 5px 0px;
    font-weight: 500;
    margin-left: 10%;
    cursor: pointer;
    bottom:10px
}

.product-card:hover{
    transform: translateY(-5px);
    box-shadow: 1px 1px 10px #999;
}





/* About page styling*/

.about-section p{
    font-size: 1.2rem;
}

.about-grid-container{
    display: flex;
    gap: 5vw;
}

.about-text{
    padding: 1.2rem;
    background-color:#eee;
    z-index: 5;
    transition: 0.5s ease;
    box-shadow: 0 0 20px #aaa;
    min-height: fit-content;
}


.about-text h2{
    font-size: 2rem;
}
.background-img{
    display: flex;
    grid-row: 3/8;
    grid-column: 6/12;
    transition: 0.5s ease;
    height: 100%;
    background-color:red;
}
.background-img img{
    width: 100%;
    height: 100%;
}

.our-team {
    padding: 60px 40px;
    text-align: center;
    background-color: #bdd8df;
    margin-top: 10vh;
}

.our-team h1 {
    font-size: 2.5rem;
    margin-bottom: 10vh;
    font-weight: bold;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.member-card {
    width: 280px;
    text-align: center;
}

.member-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.member-card-info {
    padding: 0 10px;
}

.mem-name {
    font-weight: 700;
    font-size: 20px;
    margin: 0;
    color: #000;
}

.mem-position {
    color: var(--main-color);
    color:darkcyan;
    font-size: 16px;
    margin: 6px 0 10px;
    font-weight: 700;
}

.mem-details {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* footer styling*/

footer{
    margin-top:10vh;
    background-color:var(--main-color);
}

.footer{
    display: flex;
    height: auto;
    padding: 5vh 5vw;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-col-header{
    color:white;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.footer-col{
    width: 30%;
}

.footer p , .footer a{
    color:#ddd
}

.footer i{
    margin-right: 1rem;
}

.footer a{
    transition: 0.5s ease;
}

.footer a:hover{
    color:white;
    text-shadow: 0 0 1rem white;
    font-weight: 600;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #ccc;
  }


@keyframes dropIn {
  0% {
    top: -20vh;
    opacity: 0;
  }
  100% {
    top: 0;
    opacity: 1;
  }
}


  @media (max-width:1000px) {
    .products-container {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (max-width:800px) {
    .products-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width:600) {
    .products-container {
        grid-template-columns: 1fr;
    }
  }





@media (max-width:700px) {
    body.show-mobile-menu header::before{
        content: "";
        position: fixed;
        top: 0;
        left: 0%;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.2);
        backdrop-filter: blur(5px);
    }
    .navbar #menu-close-button, .navbar #menu-open-button{
        display: block;
        opacity: 1;
        font-size: 15px;
        border:none;
        background-color:transparent;
    }

    .navbar #menu-close-button{
        position: absolute;
        right: 30px;
        top: 30px;
    }
    #menu-open-button {
        color: white;
    }


    .navbar .nav-menu{
        display: block;
        position: fixed;
        left: -100%;
        top: 0%;
        width: 300px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        background: white;
        transition: 0.5s ease;
    }
    body.show-mobile-menu .navbar .nav-menu{
        left:0
    }
   
    .navbar .nav-menu .nav-link{
        color: black;
        display: block;
        margin-top: 17px;
        font-size: 18px;
        transition: left 0.2s ease;
    }

    .navbar .nav-menu .nav-link:hover{
        color:var(--main-color)
    }

    /* contact page styling*/

    .contact-container{
        margin-top: 10vh;
        flex-direction: column;
        flex-flow: column-reverse;
        height: auto;
    }

    .contact-form{
        width: 100%;
    }

    .contact-image-container{
        /* display: none; */
        width:100%;
        height: 30%;
    }

    .footer{
        flex-direction: column;
        align-items:flex-start;
    }

    .footer-col-header{
        margin-top: 5vh;
        margin-bottom: 5px;
    }

    .footer-col{
        width: 100%;
    }

    /* home page */

    .our-story{
        flex-direction: column;
        height: fit-content;
    }

    .story-text , .story-img-container{
        width: 100%;
        height: auto;
    }
    
}

