/* Importing Google Fonts */
/* @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'); */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap');

* {
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root{
    /* Colors */
    --white-color: #fff;
    --dark-color: #252525;
    --primary-color: #3b141c;
    /* f3961c */
    --secondary-color: #31ceff;
    --light-pink-color: #faf4f5;
    --medium-gray-color: #ccc; 

    /* Font Sizes */
    --font-size-s: 0.9rem;
    --font-size-n: 1rem; 
    --font-size-m: 1.12rem; 
    --font-size-l: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.3rem;

    /* Font weight */
    --font-weight-normal: 400; 
    --font-weight-medium: 500; 
    --font-weight-semibold: 600; 
    --font-weight-bold: 700; 

    /* Border Radius; */
    --border-radius-s: 8px; 
    --border-radius-m: 30px;
    --border-radius-circle: 50%;

    /* Website Maximum width */
    --site-max-width: 1300px;
}

html{
    scroll-behavior: smooth;
}

button{
    cursor: pointer;
    border: none;
    background: none;
}

img{
    /* Initially set to 1000% */
    width: 100%;
}

.section-content
{
margin: 0 auto;
padding: 0 20px;
max-width: var(--site-max-width);
    
}

.section-title{
    text-align: center;
    padding: 60px 0 100px;
    text-transform: uppercase;
    /* margin-bottom: 40px; */
    font-size: var(--font-size-xl);
}

/* Underline below the About Us  */
.section-title::after{
    content: "";
    width: 80px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    border-radius: var(--border-radius-s);
    background: var(--secondary-color);
    
}

header {
    position: fixed;
    width: 100%;
    z-index: 5;
    /* Header Color */
    /* Pripr primary color */
    background: var(--dark-color);
    
}

/* Styylings for the whole website */
ul{
    /* It removes the anchor symbol */
    list-style: none;
}

a {
    text-decoration: none;
    /* Adding Secondary color */
    color: var(--secondary-color);
}

 /* Adding Secondary color */
a:hover
{
    color: var(--secondary-color); 
}

header .navbar{
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
}

/* Ensure the logo and title align perfectly on the same horizontal baseline */
.navbar .nav-logo{
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: 72px;
    width: auto;
    margin-right: 12px;
    display: block; /* remove baseline whitespace on images */
}

/* Navbar Styling */
.navbar .nav-logo .logo-text {
    display: inline-flex;
    align-items: center; /* vertically center logo and text */
    gap: 12px;
    margin: 0; /* remove default h2 margins that can offset alignment */
    line-height: 1.1;
    color: var(--white-color);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

/* Settings tabs are Distributed */
.navbar .nav-menu{
    display: flex;
    gap: 10px;
}

.navbar .nav-menu .nav-link{
    padding: 10px 18px;
    color: var(--white-color);
    font-size: var(--font-size-m);
     /* It will set colors around the home, about, menu header link */
     /* background: var(--secondary-color); */
     border-radius: var(--border-radius-m);
     /* It will transition the background color*/
     transition: 0.3s ease;
    
}
.navbar .nav-menu .nav-link:hover 
{
    color: var(--primary-color);
    /* Assign background colors to the menu header links */
    background: var(--secondary-color);  
}

.navbar :where(#menu-close-button, #menu-open-button){

    display: none;
}

/* Hero CSS Component */
.hero-section{
    min-height: 100vh;
    /* primary color */
    background: var(--dark-color);
}

.hero-section .section-content{
    display: flex;
    align-items: center;
    min-height: 100vh;
    color: var(--white-color);
    justify-content: space-between;;
}

.hero-section .hero-details .title {

    font-size: var(--font-size-xxl);
    color: var(--secondary-color);
    /* It's changes the best coffee title */
    /* font-family: "Miniver", sans-serif; */
    font-family: "Oswald", sans-serif;

}

.hero-section .hero-details .subtitle{
    margin-top: 8px;
    max-width: 70%;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    
}

.hero-section .hero-details .description{
    max-width: 70%;
    margin: 24px 0 40px;
    font-size: var(--font-size-m);
}

.hero-section .hero-details .buttons{
    display: flex;
    gap: 23px;
}

.hero-section .hero-details .button{
    padding: 10px 26px;
    color: var(--primary-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius-m);
    /* Setting background colors on the buttons */
    background: var(--secondary-color);
    font-weight: var(--font-weight-medium);
    transition: 0.3s ease;
}

.hero-section .hero-details .button:hover,
.hero-section .hero-details .contact-us
{
    color: var(--white-color);
    border-color: var(--white-color);
    background: transparent;
}

.hero-section .hero-details .contact-us:hover{

    color: var(--primary-color);
    border-color: var(--secondary-color);
    background: var(--secondary-color);
}

.hero-section .hero-image-wrapper {
    width: 50%;
    min-width: 380px; /* slightly smaller to avoid overflow on tablets */
    margin-right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make the hero image fully visible without cropping */
.hero-section .hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain; /* avoid cutting the key image */
    border-radius: 8px;
}

/* About Component */
.about-section{
    /* From the main comoponent */
    padding: 120px 0; 
    background: var(--light-pink-color);
}

.about-size{
    font-size: var(--font-size-l);
    margin-top: 35px;
    
}

.about-section .section-content{
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;

}

/* Changes About Image Size */
.about-section .about-image-wrapper .about-image{
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-circle);
}

.about-section .about-details .section-title{
    padding: 0;
}

.about-section .about-details {
    max-width: 50%;
}


.about-section .about-details .text{

    line-height: 30px;
    margin: 50px 0 39px;
    text-align: center;
    font-size: var(--font-size-m);
}

/* AboutUs Component: social media icons */
.about-section .social-link-list{

    display: flex;
    gap: 25px;
    justify-content: center;
}

.about-section .social-link-list .social-link {
    color: var(--primary-color);
    font-size: var(--font-size-l);
    transition: 0.2s ease;
}

/* AboutUs Component: Hover effect */
.about-section .social-link-list .social-link:hover{
    color: var(--secondary-color);
}

/* Menu Component */
.menu-section{
    /* Background color of the Menu Component */
    color: var(--white-color);
    background: var(--dark-color);
    padding: 50px 0 100px;
    /* padding: 50px 20px; */
    text-align: center;
}

/* Pricing subtitle styling - positioned below Services Offered title */
.menu-section .pricing-subtitle {
    color: var(--white-color);
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-weight: var(--font-weight-normal);
    line-height: 1.4;
    margin: -40px auto 60px;
    max-width: 600px;
    padding: 0 20px;
}

/* .services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.service-item {
    flex: 1;
    max-width: 300px;
    text-align: left;
  }

  .service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
  }

  .service-item p {
    font-size: 1rem;
    color: #555;
  } */

.menu-section .menu-list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;;
}

.menu-section .menu-list .menu-item {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    justify-content: space-between;
    /* This put the entire menu section side to side on each product per column */
    width: calc(100% / 3 - 110px);
}


.menu-section .menu-list .menu-item .menu-image{
    max-width: 83%;
    aspect-ratio: 1;
    margin-bottom: 15px;
    object-fit: contain;
}

.menu-section .menu-list .menu-item .name{
    margin: 12px 0;
    font-size: var(--font-size-l);
    font-weight: var(--font-weight-semibold);
}

/* Make the service lines under each title larger, but still smaller than the title */
.menu-section .menu-list .menu-item p,
.menu-section .menu-list .menu-item li{
    font-size: clamp(1.05rem, 1.2vw + 0.6rem, 1.3rem);
    line-height: 1.6;
}

.menu-section .menu-list .menu-item .text{
    font-size: clamp(1.05rem, 1.2vw + 0.6rem, 1.3rem);
}

/* Testimonial Components */
.testimonials-section{
    padding: 50px 0 100px;
    background: var(--light-pink-color);
}

.testimonials-section .testimonial{
    /* This one control the appereances of a selection; */
    user-select: none;
    display: flex;
    /* Space between these images */
    padding: 35px;
    text-align: center;
    flex-direction: column;
    align-items: center;

}

.testimonials-section .testimonial .user-image{

    width: 180px;
    height: 180px;
    object-fit: cover;
    margin-bottom: 50px;
    border-radius: var(--border-radius-circle);
}

.testimonials-section .testimonial .name{
    margin-bottom: 16px;
    font-size: var(--font-size-m);
}

.testimonials-section .testimonial .feedback {
    /* Feedback text */
    line-height: 25px;
}

.testimonials-section .swiper-pagination-bullet{
    width: 15px;
    height: 15px;
    opacity: 1;
    background: var(--secondary-color);
}

.testimonials-section .swiper-slide-button {
    /* background: var(--secondary-color); */
    margin-top: -50px;
    color: var(--secondary-color);
    transition: 0.3s ease;
  
}

.swiper-button-next, .swiper-button-prev{
  color: var(--secondary-color);
}

.swiper-button-next .swiper-button-prev{
    color: var(--secondary-color);
}

/* Gallery Component */
.gallery-section{
    padding: 50px 0 100px;

}

.gallery-section .gallery-list{
    display: flex;
    flex-wrap: wrap;
    gap: 32px;

}

/* Gallery Component: Column side to side Effect; */
.gallery-section .gallery-list .gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius-s);
    /* This will create 3 columns */
    width: calc(100% / 3 - 32px);
}

.gallery-section .gallery-item .gallery-image{
    width: 90%;
    height: 90%;
    /* Indicate that something as an example image in this Context can be zoom in; */
    cursor: zoom-in;
    transition: 0.3s ease;
}

/* Once you put the cursor on top it, it will zoom in */
.gallery-section .gallery-item:hover .gallery-image{
    transform: scale(1.3);

}

.contact-section{
    padding: 50px 0 100px;
    background: var(--light-pink-color);
}

.contact-section .section-content{
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: space-between;

}

.contact-section .contact-info-list .contact-info{
    display: flex;
    gap: 20px;
    margin: 20px 0;
    align-items: center;
}

.contact-section .contact-form .form-input{
    width: 100%;
    height: 50px;
    padding: 0 12px;
    outline: none;
    margin-bottom: 15px;
    background: var(--white-color);
    border-radius: var(--border-radius-s);
    border: 1px solid var(--medium-gray-color);
}

.contact-section .contact-form{
    max-width: 50%;
}

/* Once we click on the forms, the border colors change */
.contact-section .contact-form .form-input:focus{
    border-color: var(--secondary-color);
}

.contact-section .contact-form textarea.form-input{
    /* This resize the forms section */
    height: 100px;
    padding: 12px;
    resize: vertical;

}

.contact-section .contact-info-list .contact-info i{
    font-size: var(--font-size-m);
}

.contact-section .contact-form .submit-button{
    padding: 10px 26px;
    margin-top: 10px;
    color: var(--white-color);
    font-size: var(--font-size-m);
    font-weight: var(--font-weight-medium);
    background: var(--primary-color);
    border-radius: var(--border-radius-m);
    border: 1px solid var(--primary-color);
    transition: 0.3 ease;
}

.contact-section .contact-form .submit-button:hover {
    color: var(--primary-color);
    background: transparent;
}

.contact-section .section-content{
    align-items: center;
    flex-direction: column-reverse;
}

/* Footer Comnponent */
.footer-section{

    padding: 20px 0;
    background: var(--dark-color);
}

.footer-section .section-content {

    display: flex;
    align-items: center;
    justify-content: space-between;

}

.footer-section :where(.copyright-text, .social-link, .policy-link){

   color: var(--white-color);
   transition: 0.2s ease;
}

.footer-section .social-link-list{
    display: flex;
    gap: 25px;
}

.footer-section .social-link-list .social-link{

    font-size: var(--font-size-l);
}

.footer-section .social-link-list .social-link:hover, .footer-section .policy-text .policy-link:hover{
    /* When you hover your cursor on the icons */
    color: var(--secondary-color);
}

.footer-section .policy-text .policy-link .separator{
    margin: 0 5px;
    color: var(--white-color);

}




 
/* Response media query code for max & width: 1024px */
@media screen and (max-width: 1024px){

    .menu-section .menu-list{
        gap: 60px;
    }

    .menu-section .menu-list .menu-item {
          /* This put the entire menu section side to side on each product per column */
    width: calc(100% / 3 - 60px);

    }
}
/* Responsive media query code for max & width: 900px */
@media screen and (max-width: 900px){

    :root{

    /* Font Sizes */
    --font-size-m: 1rem; 
    --font-size-l: 1.3rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 1.8rem;
    }

    /* Keep logo + title centered and scaled on small screens */
    .logo-img {
        height: 56px;
        margin-right: 10px;
    }

    .navbar .nav-logo .logo-text{
        font-size: var(--font-size-l);
        gap: 10px;
        line-height: 1.1;
    }

    /* Once you click to open the side bar menu; */
    body.show-mobile-menu header::before{
        content: "";
        position: fixed;
        left: 0px;
        top:0px;
        height: 100%;
        width: 100%;
        /* blur effect on the main image on the right of the screen */
        backdrop-filter: blur(5px);
        background: rgba(0,0,0, 0.2);
    }

    /*Larger size of the Text; */
    .navbar :where(#menu-close-button, #menu-open-button){
        display: block;
        font-size: var(--font-size-l);
    }

    /* Close menu x button */
    .navbar #menu-close-button{
        position: absolute;
        right: 30px;
        top: 30px;
    }

.navbar #menu-open-button {
        /* Changes the color of the menux button */
        color: var(--white-color);
        margin-left: 6px; /* minimal nudge away from the title */
    }
    
    .navbar .nav-menu {
        display: block;
        /* display: flex; */
        position: fixed;
        /* left: 0; */
        left: -300px;
        top: 0;
        width: 300px;
        height: 100%;
        display: flex;
        flex-direction: column;
        /* justify-content: cent; */
        align-items: center;
        padding-top: 100px;
        background: var(--white-color);
        transition: left 0.2s ease;
    }
    /* ScriptComp Menu; */
    body.show-mobile-menu .navbar .nav-menu {
        left: 0;
    }

    .navbar .nav-menu .nav-link {

        color: var(--dark-color);
        display: block;
        margin-top: 17px;
        font-size: var(--font-size-l);
    }

    /* for the lucide-react icon */
    .status-icon{
        width: 5px;
        height: 5px;
    }

    .hero-section .section-content{
        gap: 50px;
        text-align: center;
        padding: 30px 20px 20px;
        flex-direction: column-reverse;
        justify-content: center;
    }

    .hero-section .hero-details :is(.subtitle, .description), .about-section .about-details, .contac-section .contact-form{
        max-width: 100%;

    }

    /* Settins buttons in the center of the screen */
    .hero-section .hero-details .buttons{
        justify-content: center;
    }

    .hero-section .hero-image-wrapper{
        width: 100%;
        max-width: 520px; /* keep image nicely sized on phones */
        min-width: 260px;
        margin-right: 0;
    }
    
    .hero-section .hero-image-wrapper img {
        height: auto;
        max-height: 60vh; /* ensure it fits viewport without cropping */
        object-fit: contain;
    }

    /* AboutUs Component */
    .about-section .section-content {
        gap: 70px;
        /* flex-direction: column-reverse; */
        flex-direction: column-reverse;
    }

    .about-section .about-image-wrapper .about-image{

        width: 100%;
        height: 100%;
        max-width: 250px;
        aspect-ratio: 1;
    }

    /* Menu Component */
    .menu-section .menu-list{
        gap: 30px;
    }

    .menu-section .menu-list .menu-item {
    /* This put the entire menu section side to side on each product per column */
    width: calc(100% / 2 - 30px);

    }

    .menu-section .menu-list .menu-item .menu-image{
        max-width: 200px;
    }

    .gallery-section .gallery-list {
        gap: 30px;
    }

    .gallery-section .gallery-list .gallery-item{
        /* Changing columns setting to 2 instead */
        width: calc( 100% / 2 - 30px);

    }

}

/* Media query for larger screens */
@media screen and (min-width: 1200px){
    .hero-section .hero-image-wrapper {
        width: 55%; /* Larger percentage for big screens */
        min-width: 520px;
    }
}

/* Responsive media query code for max & width: 1024px */
@media screen and (max-width: 1024px){

    .menu-section .menu-list{
        gap: 60px;
    }

    .menu-section .menu-list .menu-item, 
    .gallery-section .gallery-list .gallery-item{
        width: 100%;
    }

    .testimonials-section .slider-wrapper{
        margin: 0 0 30px;
    }

    .testimonials-section .swiper-slide-button{
        
        display: none;
    }

    .footer-section .section-content{

        flex-direction: column;
        gap: 20px;
    }
    .services-grid {
        flex-direction: column;
        align-items: center;
      }

}

/* Responsive media query code for max & width: 768px */
@media (max-width: 768px) {
    .services-grid {
      flex-direction: column;
      align-items: center;
    }
  }
