@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

*{
    padding:0;
    margin: 0;
    font-family:'Quicksand',sans-serif;
    scroll-behavior: smooth;
}

body{
    width: 100%;
    height: 100vh;
    position: relative;
}

.hero{
    width: 100%;
    height: calc(100vh - 50px); 
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),url(./images/coffee.avif);
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 50px;

}


.hero nav{
    display: flex;
    justify-content: space-around;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 10px;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1; 
    height: 40px;
}
 .icon,.menu-toggle{
    display: none;
}
.hero .logo{
   display: flex;
   align-items: flex-start;
   gap: 10px;
}
.hero .logo img{
    width: 50px;
    height: auto; 
    margin-top: -17px;
}
.hero a{
    text-decoration: none;
    color: #fff;
}

.hero nav ul{
    list-style: none;
    display: flex;
    justify-content: center;
    font-weight: 600;
    gap: 100px;
    letter-spacing: 2px;
}

.hero nav .logo h1 {
    font-size: 1.5em;
    color: white; 
    margin-left: 10px;
    font-weight: bold;
}
 .hero #close{
    display: none;
 }
.hero nav ul li a:hover{
    color: #A78D78;
    transition: .3s;
    cursor: pointer;
}

.hero nav .logo{
    display: flex;
    align-items: center;
}

.hero nav button{
    padding: 5px 20px;
    outline: none;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background-color:#c48d0d ;
    color: #332212 ;
    font-weight: 600;
    font-size: medium;
}

.hero nav button:hover{
    background-color:#6E473B;
    color: white;
    transform: translateY(-2px);
    transition: .1.5s ease-out;
    cursor: pointer;
}

.hero .content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: center;
    padding: 20px;
    color: white;
    font-size: 2em;
    font-weight: 300;
    margin-top: 10%;
    transition:all .5s ease; 
}

.hero .content p{
    opacity: 0.8;
}

.hero .content #hero-btn button{
    font-size: medium;
    padding: 10px 25px;
    border-radius: 5px;
    background-color: transparent;
    color: white;
    outline: none;
    border: none;
    font-weight: 600;
    border: 2px solid #D3A376;
    margin: 15px;
    margin-top: 40px;    
}

.hero .content #hero-btn button:hover{
    background-color: #D3A376;
    color: white;
    transition: .2s;
    cursor: pointer;
}

/* About Section */
#about {
    background-color: #4e342e; 
    max-width: 80%;
    /* height: calc(100vh - 80px); */
    height: auto;
    margin: 20px auto; 
    padding: 60px 20px 20px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); 
    transition: all 0.5s ease-in-out;
    text-align: center;
    color: #f3e5f5; 
}

#about h1 {
    margin-top: 10px;
    font-size: 2.5em; 
    margin-bottom: 30px;
    font-weight: bold;
}

#about p {
    line-height: 1.8; 
    color: #e0d7d5;
    font-size: 1.2em;
}

#about h2, #about h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #d7ccc8; 
    font-weight: 600;
}

#about .offer {
    margin-top: 40px;
}

#about .offer ul {
    list-style: none;
    color: #ffe0b2; 
    font-size: 1.2em;
    display: inline-block;
}

#about .offer ul li {
    line-height: 40px;
    text-align: justify;
}
#about .offer strong::before{
 content: '☕ ';
}
#about .mission {
    margin-top: 60px;
}

#about .scroll-btn {
    width: 40px; 
    height: 40px;
    background-color: #6d4c41;
    border-radius: 50%;
    position: fixed; 
    bottom: 25px; 
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1;
}

#about .scroll-btn:hover{
    background-color: #A78D78;
    transform: translateY(-2px );
}
#about .scroll-btn img {
    width: 50%; 
    height: 50%;
    cursor: pointer;
}

/* Menu section */

.menu-container {
    max-width: 900px;
    /* height: calc(100vh - 80px); */
    height: auto;
    margin: 50px auto;
    padding: 80px 20px 20px 20px;
    background-color:burlywood;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

.menu-container  h1 {
    text-align: center;
    color: #6b4f4f;
    margin-bottom: 20px;
  }
 
.menu-container  .menu-section {
    margin-bottom: 20px;
  }
 
.menu-container  .menu-section h2 {
    border-bottom: 2px solid #6b4f4f;
    padding-bottom: 5px;
    color: #6b4f4f;
  }
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    border-bottom: 1px dashed #ccc;
  }
  .menu-item:last-child {
    border-bottom: none;
  }
  .menu-item span {
    font-weight: bold;
  }
  .menu-item .price {
    color: #6b4f4f;
  }

  /* Contact Section */

  #contact{
    width: 80%;
    height: calc(100vh - 120px);
    padding: 100px 20px 20px 20px;
    margin: 20px auto;
    background-color: #90a4ae;
    display: flex;
    justify-content: center;
    position: relative;
}

#contact .contact-form{
    width: 60%;
    height: auto;
    background-color: #6d4c41;
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-align: center;
    line-height: 30px;
    color: #f9f4f4;
    border-radius: 10px;
    box-shadow: 2px 10px 20px rgba(0,0,0,0.3);
}

#contact form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

#contact .contact-form h2{
    margin-bottom: 20px;
}
#contact form h2,p{
    font-size: 1.2em;
    margin-bottom: 20px;
}

#contact form label{
    transform: translateX(-9.5em);
}

#contact input,textarea{
    width: 50%;
    margin:5px auto 0 auto;
    padding: 8px;
    border: 2px solid transparent;
    outline: none;
    font-size: 16px;
    border-radius: 10px;
}

#contact input:focus,
#contact textarea:focus{
    border-color: #A78D78;
}

#contact form button{
    width: 20%;
    margin:5px auto 0 auto;
    padding: 8px;
    border: none;
    outline: none;
    border-radius: 20px;
    background-color: #ffcc80;
    color: #6d4c41;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

#contact form button:hover{
    background-color: #e6b0aa;
    transition: 0.5s;
}

#contact .social-media{
    margin-top: 50px;
}
#contact .social-media-img{
    height: auto;
    background-color: #ccc;
    border-radius: 5px;
    padding: 2px;
    aspect-ratio: 3/2 ;
    width: 35px;
    object-fit: contain;
    margin-right: 10px;
    margin-top: 10px;
}

#contact .social-media-img:hover{
    opacity: 0.7;
}

/* footer */

.container footer{
    background-color: rgb(44, 44, 44);
    text-align: center;
    color: #f9f4f4;
    padding: 20px;
}
.container .footer-img{
    width: 35px;
    height: auto;
    margin-right: 10px;
    margin-top: 20px;
}



@media (max-width: 768px) {

    .logo{
        font-size: 1.2em;
    }
    .icon {
        display: block;
        cursor: pointer;
        font-size: 20px;
        color: white;
        padding: 10px;
        text-decoration: none;
        z-index: 1000;
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.904);
        overflow: hidden;
        transition: 0.3s ease-in-out;
    }

    .nav-links ul {
        padding: 0;
        list-style: none;
        margin-top: 6em;
        display: flex;
        flex-direction: column;
    }

    .nav-links ul li a {
        display: block;
        color: white;
        text-decoration: none;
        padding: 15px;
        margin-bottom: -50px;
        background-color: #444;
        text-align: center;
    }

    .nav-links ul li a:hover {
        background-color: #555;
    }

    .menu-toggle:checked ~ .nav-links {
        left: 0;
        
    } 
    .menu-toggle:checked ~ label #open{
        display: none;
    }
    .menu-toggle:checked ~ label #close{
        display: block;
        z-index: 1000;
    }
   .hero .content {
        font-size: 1.6em;
        margin-top: 70px;
        display: flex;
        flex-direction: column;
        gap: 60px;
    }

    #about{
        overflow-y: scroll;
        font-size:small;
    }
    
    #contact {
        width: 80%;
        height: calc(100vh - 120px);
        padding: 100px 20px 20px 20px;
        margin: 20px auto;
        background-color: #90a4ae;
        display: flex;
        justify-content: center;
        position: relative;
      }
    
      #contact .contact-form {
        width: 90%;
        height: auto;
        background-color: #6d4c41;
        display: flex;
        flex-direction: column;
        padding: 20px;
        text-align: center;
        line-height: 30px;
        color: #f9f4f4;
        border-radius: 10px;
        box-shadow: 2px 10px 20px rgba(0, 0, 0, 0.3);
      }
    
      #contact form {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 30px;
      }
    
      #contact .contact-form h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
      }
 
      #contact .contact-form p{
        font-size: 1em;
      }
    
      #contact form label {
        transform: translateX(-9.5em);
      }
    
      #contact input,
      textarea {
        width: 10em;
        margin: 5px auto 0 auto;
        padding: 8px;
        border: 2px solid transparent;
        outline: none;
        font-size: 16px;
        border-radius: 10px;
      }
    
      #contact input:focus,
      #contact textarea:focus {
        border-color: #a78d78;
      }
    
      #contact form button {
        width: 10em;
        margin: 5px auto 0 auto;
        padding: 8px;
        border: none;
        outline: none;
        border-radius: 20px;
        background-color: #ffcc80;
        color: #6d4c41;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
      }
    
      #contact form button:hover {
        opacity: 1.5;
        transition: 0.3s;
      }
    
      #contact .social-media {
        margin-top: 50px;
      }
      #contact .social-media-img {
        height: auto;
        background-color: #ccc;
        border-radius: 5px;
        padding: 2px;
        aspect-ratio: 3/2;
        width: 35px;
        object-fit: contain;
        margin-right: 10px;
        margin-top: 10px;
      }
    
      #contact .social-media-img:hover {
        opacity: 0.7;
      }
    
      .container footer {
        background-color: rgb(44, 44, 44);
        text-align: center;
        color: #f9f4f4;
        padding: 20px;
      }
      .container .footer-img {
        width: 35px;
        height: auto;
        margin-right: 10px;
        margin-top: 20px;
      }
}
