@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}
body, html{
    width: 100%;
}

/* navbar stylings */
header{
    max-width: 1400px;
    position: fixed;
    height: 100px;
    width: 100%;
    margin: 0 auto;
    /* top: 20px; */
    top: 20px;
    margin-bottom: 7em;
    border-radius: 40px;
    z-index: 999;
}
header nav{
    /* position: sticky; */
    padding: 1em 3em;
    border-radius: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    width: 90%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header nav h3{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1.6em;
}
header nav h3 img{
    width: 55px;
}
.menu-cross-btn{
    display: none;
}
.menu-cross-btn i{
    width: 100%;
    height: 100%;
    font-size: 1.4em;
}
header nav .links a{
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
}
header nav .links{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.4em;
}
header nav .links a:hover{
    color: #dda15e;
}
header nav .links a.active{
    color: #dda15e;
}
header nav .links .reservation-btn{
    border: 2px solid #fff;
    padding: 10px 15px;
    border-radius: 35px;
}
.reservation-btn:hover{
    background-color: #fff;
}




/* hero section stylings */
.first-section{
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.326);
    width: 100%;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    color: #fff;
}
.first-section *{
    text-align: center;
}
.first-section .main-headings{
    background-color: rgba(0, 0, 0, 0.324);
    /* backdrop-filter: blur(6px); */
    border-radius: 30px;
    padding: 30px 40px;
    margin-top: 7em;
}
.first-section p{
    color: #b05c12;
    font-style: italic;
    font-size: 1.2em;
    font-weight: 200;
}
.first-section h1{
    font-size: 4.4em;
}
.first-section h2{
    font-size: 1.2em;
    font-weight: 300;
}
.first-section .buttons{
    margin-top: 25px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.first-section .buttons .our-story{
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.5s ease;
}
.first-section .buttons .our-story:hover{
    background-color: #fff;
    color: #b05c12;
}
.first-section .buttons .check-menu{
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    background-color: #b05c12;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.5s ease;
}
.first-section .buttons .check-menu:hover{
    background-color: #e57c20;
}


/* backgroud images */
.first-section .bg-images{
    position: absolute;
    z-index: -1;
    width: 100%;
    object-fit: cover;
    height: 100%;
    overflow: hidden;
}
.first-section .bg-images img{
    object-fit: cover;
    /* filter: brightness(0.5); */
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;

    opacity: 0;
    transform: scale(1.4);      /* start zoomed in */
    transition: opacity 1s ease-in-out, transform 3s ease-in-out;
}
.bg-images img.active {
    opacity: 1;
    transform: scale(1);       /* zoom out to normal */
    /* z-index: 1; */
}


/* second-section styling */
.second-section{
    /* height: 100vh; */
    height: 600px;
    width: 100%;
    background-color: #4d3821;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4em;
}
.second-section .vdo-div{
    height: 90%;
    width: 40%;
    background-color: #af6623;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    max-width: 700px;
}
 .vdo-div p{
    position: absolute;
    bottom: 40px;
    left: 30px;
    color: #fff;
    font-weight: 600;
    font-size: 1.5em;
}
.second-section .vdo-div video{
    object-fit: cover;
    width: 100%;
    height: 100%;
    mask-image: linear-gradient(#000, rgba(0,0,0,0));
}
.second-section .second-section-text{
    width: 40%;
    max-width: 700px;
}
.second-section-text p:first-child{
    font-style: italic;
    color: #fff;
}
.second-section-text h2{
    font-size: 2.3em;
    color: #fff;
}
.second-section-text .description{
    color: #fff;
    font-weight: 200;
    font-size: 1.3em;
}
.second-section-text .description a{
    color: #cb6c1a;
}
.second-section .meetBarista-btn{
    display: block;
    width: max-content;
    border: 3px solid #fff;
    font-size: 1.1em;
    color: #fff;
    padding: 10px 15px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}
.second-section .meetBarista-btn:hover{
    background-color: #fff;
    color: #dda15e;
}




/* third section styling */
.third-section{
    width: 100%;
    background-color: #b78752;
    padding: 80px 0;
}
.third-section>p{
    color: #fff;
    font-style: italic;
    text-align: center;
}
.third-section>h2{
    color: #fff;
    font-weight: 700;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}
.third-section .team-members{
    width: 90%;
    margin: 0 auto; 
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    justify-content: center;
    align-items: center;
    gap: 1em;
}
.team-members .team-member{
    width: 250px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background-color: #af6623;
    cursor: pointer;
}
.team-members .team-member:hover img{
    transform: scale(1.25);
}
.team-member img{
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
    mask-image: linear-gradient(#000, rgba(0, 0, 0, 0));
    transition: all 0.5s ease-in-out;
    filter: brightness(0.8);
}
.team-member .member-detail{
    position: absolute;
    bottom: 25px;
    left: 15px;
    color: #fff;
}
.member-detail .member-heading{
    display: flex;
    align-items: center;
    gap: 2em;
}
.member-heading h3{
    font-size: 1.3em;
}
.tag{
    background-color: #b05c12;
    font-size: 0.8em;
    padding: 3px 5px;
    border-radius: 8px;
}


/* fourth section styling */
.fourth-section{
    background-color: #000;
    background-image: url(assets/images/hero-backgrounds/happy-waitress-giving-coffee-customers-while-serving-them-coffee-shop.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 70px 0px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.4em;
}
.fourth-section .menu{
    background-color: #000000a1;
    width: 45%;
    border-radius: 40px;
    padding: 30px;
    max-width: 700px;
}
.menu>p{
    text-align: center;
    font-size: 1em;
    color: #fff;
    font-style: italic;
}
.menu>h3{
    font-size: 1.8em;
    color: #fff;
    text-align: center;
}
.menu .pricings{
    display: flex;
    flex-direction: column;
    gap: 2em;
}
.pricings .item{
    display: flex;
    flex-direction: column;
}
.pricings .item .name-price{
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #fff;
    padding-bottom: 10px;
    border-bottom: 1px solid grey;
    gap: 0.7em;
}
.name-price h4{
    flex-grow: 1;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 1em;
}
.name-price h4 .tag{
    font-size: 0.6em;
    font-weight: 500;
    color: #fff;
    font-style: normal;
    }
.name-price h5{
    color: #dda15e;
    font-size: 1.1em;
}
.name-price h5.discount{
    color: #fff;
    text-decoration: line-through;
}
.item>p{
    color: rgb(204, 204, 204);
    font-style: italic;
    padding-top: 10px;
}




/* fifth section styling */
.fifth-section{
    width: 100%;
    background-color: #7c5c52;
    padding: 30px 0;
}
.fifth-section .testimonials{
    width: 85%;
    margin: 20px auto;
    max-width: 1300px;
}
.fifth-section .testimonials>p{
    color: #fff;
    text-align: center;
}
.fifth-section .testimonials h2{
    color: #fff;
    font-size: 3em;
    text-align: center;
}
.fifth-section .testimonials .reviews-flex{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2em;
    /* width: 45%; */
    position: relative;
}
.reviews-flex .single-review{
    width: 100%;
    padding: 20px 0px ;
}
.single-review .review-content{
    display: flex;
    flex-direction: column;
    border: 4px solid #fff;
    border-radius: 30px;
    overflow: hidden;
}

.review-content .heading{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6em;
    background-image: url(assets/images/reviews/mid-section-waitress-wiping-espresso-machine-with-napkin-cafa-c.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 30px;
}
.heading .customer-img{
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 50%;
}
.heading .customer-img img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.heading .customer-name{
    color: #fff;
    line-height: 18px;
}
.review-content .review-text{
    padding: 25px;
    background-color: #b78752;
    color: #fff;
}
.review-text>p{
    font-size: 1em;
    font-weight: 200;
    font-style: italic;
    padding-bottom: 10px;
}
.review-text .rating{
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #fff;
}


/* sixth section styling */
 .sixth-section {
    position: relative;
    width: 100%;
    background-color: #af6623;
    overflow: hidden;
    padding: 80px 0;
}

.sixth-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(assets/images/hero-backgrounds/young-female-barista-wear-face-mask-serving-take-away-hot-coffee-paper-cup-consumer-cafe.jpg);
    background-position: center;
    background-size: cover;
    filter: opacity(0.8);
    z-index: 0;

    /* mask to fade out at the bottom */
    -webkit-mask-image: linear-gradient(#000, rgba(0,0,0,0));
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-image: linear-gradient(#000, rgba(0,0,0,0) );
    mask-repeat: no-repeat;
    mask-size: cover;
}
.sixth-section .sixth-container {
    position: relative;
    z-index: 1; /* content above background */
    color: #fff;
    max-width: 1400px;
    width: 80%;
    margin: 0 auto;
}
.sixth-container p{
    font-style: italic;
    font-weight: 200;
    font-size: 1.2em;
}
.sixth-container h2{
    font-size: 2em;
    font-weight: 500;
}
.sixth-container .sixth-main-flex{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1.5em;
}
.sixth-main-flex .form{
    /* width: 60%; */
    flex-grow: 1;
    width: 100%;
}
.form form{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 1em;
}
form .name, .email{
    flex-basis: 48.5%;
}
form .name input, .email input{
    width: 100%;
}
form .msg, .btn{
    flex-basis: 100%;
}
.msg textarea, .btn input{
    width: 100%;
}
.msg textarea{
    resize: vertical;
}
.sixth-main-flex .map{
    width: 800px;
    height: 350px;
    overflow: hidden;
}
input, textarea{
    background-color: transparent;
    border: 1px solid #a7a6a6ab;
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    transition: all 0.3s ease-in-out;
}
input:focus:not([type="submit"]), textarea:focus{
    background-color: #af6623;
    outline: none;
}
input:hover:not([type="submit"]), textarea:hover{
    background-color: #af6623;
    outline: none;
}
input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.498);
}
input[type="submit"]{
    background-color: #a8570b;
    border: 1px solid #fff;
    cursor: pointer;
    border-radius: 50px;
    width: 150px;
}
input[type="submit"]:hover{
    background-color: #fff;
    color: #af6623;
}


/* footer styling */
footer{
    background-color: #af6623;
}
footer .last-section{
    max-width: 1400px;
    width: 85%;
    padding: 30px 0;
}
.last-section {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: space-around;
}
.last-section .one{
    display: flex;
    flex-direction: column;
    color: #fff;
    width: 33%;
}
.last-section .one p:first-child, .two p:first-child, .three p:first-child{
    margin-bottom: 18px;
    font-weight: 300;
    font-style: italic;
}
.last-section .one .socials{
    margin-top: 10px;
    display: flex;
    gap: 1em;
}
.one .socials a{
    text-decoration: none;
    font-size: 1.3em;
    color: #fff;
}
.one .socials a:hover{
    transform: scale(1.2);
}

.last-section .two{
    color: #fff;
}
.last-section .three{
    color: #fff;
}
.three li{
    list-style: none;
    display: flex;
    margin: 6px 0;
}
.three li span.underline{
    border-bottom: 1px solid #ffffffa5;
    width: 50px;
    margin: 0 10px;
}
.last-section .copyright{
    flex-basis: 100%;
    margin-top: 30px;
}
.copyright p{
    margin-bottom: 18px;
    font-weight: 300;
    color: #fff;
}
.copyright p a{
    color: #dda15e;
}





















/* responsive styling */
@media (max-width: 1024px){
    form .name, .email{
        flex-basis: 47.5%;
    }
    footer .last-section {
        width: 90%;
    }
    .one, .two, .three{
        width: 33%;
    }
}
@media (max-width: 955px){
    .menu-cross-btn{
        display: block;
        transition: all 0.5s ease;
    }
    header{
        height: 70px;
    }
    header nav h3{
        font-size: 1.3em;
    }
    header nav h3 img {
        width: 45px;
    }
    header nav{
        flex-wrap: wrap;
        overflow: hidden;
        transition: all 0.5s ease;
        width: 95%;
        border-radius: 20px;
    }
    header nav.active{
        height: min-content;
    }
    header nav.active .links{
        visibility: visible;
    }
    header nav .links a{
        display: block;
    }
    header nav .links{
        visibility: hidden;
        flex-grow: 1;
        flex-basis: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
        height: max-content;
    }
    .first-section .main-headings {
        padding: 20px 20px;
        margin-top: 5em;
    }
    .first-section p{
        font-size: 1em;
    }
    .first-section h1 {
        font-size: 3.5em;
    }
    .first-section h2 {
        font-size: 1em;
    }
    .first-section .buttons{
        margin-top: 15px;
    }
    .second-section{
        gap: 2em;
    }
    .second-section .vdo-div{
        width: 45%;
    }
    .second-section-text h2 {
        font-size: 1.7em;
    }
    .second-section-text .description{
        font-size: 1em;
    }
    .third-section .team-members{
        flex-wrap: wrap;
    }
    .fourth-section{
        flex-direction: column;
        align-items: center;
    }
    .fourth-section .menu{
        width: 90%;
    }
    .fifth-section .testimonials .reviews-flex{
        flex-direction: column;
        gap: 1em;
    }
    .reviews-flex .single-review{
        padding: 0px;
    }
    .fifth-section .testimonials h2 {
        font-size: 2em
    }
    .reviews-flex .single-review {
        padding: 0px;
        max-width: 400px;
        margin: 0 auto;
    }
    .form form{
        flex-direction: column;
    }
    .sixth-section .sixth-container {
        width: 90%;
    }
    .sixth-main-flex .map{
        width: 720px;
    }
    .last-section{
        flex-direction: column;
        gap: 3em;
    }
    .last-section .one, .two, .three{
        width: 100%;
    }
    input[type="submit"]{
        width: 100%;
    }
}

@media (max-width: 426px){
    .second-section{
        padding: 20px 0;
        flex-direction: column;
        height: max-content;
    }
    .second-section .vdo-div{
        height: 300px;
    }
    .second-section .vdo-div, .second-section .second-section-text{
        width: 90%;
    }
    .fourth-section .menu{
        padding: 30px 15px;
    }
    .menu>h3 {
        font-size: 1.5em;
        margin-bottom: 10px;
    }
    .menu>p{
        font-size: 0.8em;
    }
    .name-price h4{
        font-size: 1em;
        gap: 0.6em;
    }
    .name-price h5{
        font-size: 1em;
    }
    .sixth-container .sixth-main-flex {
        flex-direction: column;
    }
    .sixth-main-flex .map {
        width: 100%;
    }
    .last-section{
        gap: 2em;
    }
}
@media (max-width: 376px) {
    header nav{
        padding: 15px;
    }
    header nav h3 {
        font-size: 1.1em;
    }
    header nav h3 img {
        width: 40px;
    }
    .first-section h1 {
        font-size: 3em;
    }
}