@import url(font.css);

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: iransans;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    margin: 0 !important;
}

html, body {
    width: 100%;
    height: 100%;
    background: #FBFBF8;
}

main ,
.hero-section{
    padding-top: 8rem;
}
/*header start*/
.header-style {
    box-shadow: inset -5px -5px 100px #eeeeee,
    inset 5px 5px 100px #ffffff;
    border-radius: 38px;
    margin-top: 1rem;
    border: 2px solid white;
    margin-bottom: 1rem;
    position: fixed;
    z-index: 1200;
    left: 0;
    right: 0;
    background: #ffffff9e;
    backdrop-filter: blur(5px);
}

.header-style ul {
    list-style: none;
    gap: 2rem;
    margin-right: 8px;
    font-weight: 300;
    font-size: 20px;
}

.header-style a {
    text-decoration: none;
    color: #000000;
}

.header-style a.login-btn {
    background: transparent;
    border-radius: 12px;
    gap: 14px;
    padding: 8px 14px;
    font-weight: 500;
    font-size: 20px;
    color: #572D01;
    border: 1px solid #686868;
    margin-left: 2rem;
}

.header-style a.cart-btn {
    background: #572D01;
    color: #ffffff;
    border: 1px solid #572D01;
    margin-left: 8px;
    margin-right: 8px;

}

.lang-btn {
    background: #ffffff;
    border: 0;
    display: flex;
    border-radius: 0.5rem;
    padding: 0.25rem;
}
/*header end*/

.pos-relative {
    position: relative;
}

.hero-section h1 {
    font-weight: 600;
    font-size: 28px;
    color: #000000;

}

.hero-section h3 {
    color: #572D01;
    font-weight: 600;
    font-size: 124px;
    line-height: 100%;
    text-align: center;
}

.hero-section h6 {
    font-weight: 200;
    font-size: 44px;
    line-height: 100%;
    letter-spacing: 20px;
    text-align: center;
    color: #9D9D9D;
}

.hero-back {
    width: 100%;
    height: 90vh;
}

.hero-section {
    overflow: hidden;
    background: linear-gradient(180deg, rgb(188 188 188 / 60%) 0%, rgba(251, 251, 248, 1) 60%);
}

.hero-1 {
    position: absolute;
    right: 0;
    transition: all 1.5s;
    z-index: 3;
}

.hero-2 {
    position: absolute;
    left: 0;
    z-index: 3;
    transition: all 1.5s;
}


.before-scroll {
    transform: translateY(-1000px) rotate(-100deg);
    margin-top: -12rem;
    transition: all 1.5s;
}

.hero-section-pos {
    position: absolute;
    width: 100%;
    right: 0;
    left: 0;
    top: 0;
    z-index: 1;
}

.category-section {
    gap: 1rem;
}

.cat-cards {
    background: red;
    width: 397px;
    height: 237px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;

}

.cat-cards div {
    background: #572D01;
    background: linear-gradient(0deg, rgba(87, 45, 1, 0.76) 0%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    width: 100%;
    bottom: 0;
    top: 0;
    justify-content: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFFFFF;
    padding-bottom: 8px;
}

.cat-cards div p {
    font-weight: 700;
    font-size: 20px;
}

.cat-cards div span {
    font-weight: 300;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-cards div span:before,
.cat-cards div span:after {
    content: '';
    width: 58px;
    height: 2px;
    background: white;
    display: flex;
}

.main-btn {
    border-radius: 8px;
    padding: 12px;
    background: #572D01;
    color: white;
    text-decoration: none;
    display: flex;
    gap: 0.5rem;
    cursor: pointer;
    align-items: center;
}

.titles-home-page {
    font-weight: 900;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #572D01;
    gap: 1.5rem;
}

.titles-home-page span {
    display: flex;
    width: 100%;
    max-width: 290px;
    background: #572D01;
    height: 2px;
}

.subtitles-home-page {
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    color: #6A6A6A;
}

.main-btn-div {
    justify-content: center;
    display: flex;
}

/*footer start*/
footer {
    background: #F5EFE6;
    padding: 2rem;
    margin-top: 3rem;
}

footer ul {
    list-style: none;
}

.logos-footer {
    gap: 1.5rem;
}

.footer-list {
    gap: 2rem;
}

.footer-list a {
    color: #6B6B6B;
    text-decoration: none;
}

/*footer end*/
/*why-us-card*/
.why-us-section {
    margin-top: 4rem;
}
.why-us-cards {
    gap: 2rem;
    padding: 0 1rem;
    margin-bottom: 3rem;
}

.why-us-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 18px;
    position: relative;
    box-shadow: 0 8px 24px rgb(0 0 0 / 17%);
}

.why-us-icon-tag {
    position: absolute;
    top: -15px;
    left: 0;
}

.why-us-icon {
    width: 48px;
}

.why-us-card h6 {
    font-weight: 700;
    font-size: 20px;
    text-align: right;
    color: #6A6A6A;
    margin: 24px 0 4px;
}

.why-us-card p {
    font-weight: 400;
    font-size: 14px;
    text-align: justify;
    color: #6A6A6A;

}

.why-us-cards .why-us-card:nth-child(1),
.why-us-cards .why-us-card:nth-child(5) {
    transform: translateY(-6rem);
}

.why-us-cards .why-us-card:nth-child(2),
.why-us-cards .why-us-card:nth-child(4) {
    transform: translateY(-3rem);
}
.why-us-cards li:nth-child(6){
    display: none;
}

.a-product-container {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 18px;
    padding: 12px;
}

.a-product-container p {
    font-weight: 300;
    font-size: 16px;
    color: #828282;
    margin-bottom: 10px;

}

.a-product-container p span {
    font-weight: 500;
    font-size: 16px;
    color: #161616;
}

.a-product-container:hover img {
    transform: scale(1.1);
}

.a-product-container h6 {
    color: #000000;
    font-weight: 700;
    font-size: 18px;
    text-align: right;
    margin-top: 10px;
}

.a-product-container img {
    transition: all 0.75s;
    border-radius: 1rem;
    width: 100%;
    height: 149px;
    object-fit: cover;
}

.back-coffee {
    background-size: cover;
    padding: 4rem 2.5rem !important;
    background-repeat: no-repeat;
    border-radius: 1.5rem;
    position: relative;
}

.title-back-coffee {
    position: absolute;
    top: -36px;
    right: 0;
    left: 0;
    justify-content: center;
    display: flex;
    z-index: 2;
}
.shape-1 {
    position: absolute;
    top: -4px;
    right: 0;
    left: 0;
    justify-content: center;
    display: flex;
    z-index: 1;
}

.shape-1 img{
    width: 35%;
}

.shape-2 {
    position: absolute;
    bottom: -2px;
    right: 0;
    left: 0;
    justify-content: center;
    display: flex;
    z-index: 1;

}

.btn-back-coffee {
    position: absolute;
    bottom: -33px;
    right: 0;
    left: 0;
    justify-content: center;
    display: flex;
    z-index: 2;
}

.shape-2 img{
    width: 25%;
}

.page-title {
    background-size: cover;
    border-radius: 3rem;
    border: 1px solid #b4b4b4;
    position: relative;
    background-position: center;
}

.page-title h4 {
    font-size: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9rem;
    width: 100%;

}

.page-title h4 span {
    border: 1px solid #b4b4b4;
    padding: 2rem 8.5rem;
    border-radius: 56px;
    backdrop-filter: blur(16px);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    linear-gradient(84.91deg, rgba(255, 255, 255, 0) 37.19%, #FFFFFF 103.32%);
}


.main-btn-margin {
    margin: 0.5rem 0 1.25rem;
}

.slider-section {
    margin-top: 8rem;
    margin-bottom: 6rem;
}

b.main-btn {
    font-weight: 500;
    font-size: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.a-product-container {
    border: 1px solid #BABABA;
    border-radius: 1rem;
}


.about-us-pic-1 {
    position: absolute;
    right: 0;
    width: 300px;
    bottom: -40px;
}

.about-us-pic-2 {
    position: absolute;
    left: 0;
    width: 300px;
    bottom: -126px;
}



.bottom-nav {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    right: 0;
    z-index: 1200;

    align-items: center;
    justify-content: center;
    padding: 0 10px;
}
.bottom-nav div {
    width: 100%;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    overflow: hidden;
}
.nav-item {
    flex: 1;
    height: 100%;
    border-radius: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    cursor: pointer;

    transition: all 0.3s ease;
}

.nav-item .icon {
    font-size: 22px;
    color: #572D01;
}

.nav-item.active {
    background: #572D01;
}

.nav-item.active .icon svg {
    fill: #fff;
    stroke: #fff;
}

.nav-item.active .icon svg path {
    fill: #fff;

}

.login-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.login-popup {
    background: #ffffff;
    border: 1px solid #572D01;
    color: #572D01;
    width: 90%;
    max-width: 380px;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
}

.login-popup .close-popup {
    position: absolute;
    top: 12px;
    left: 15px;
    font-size: 22px;
    cursor: pointer;
}

.login-popup .icon {
    width: 50px;
    height: 50px;
    border: 2px solid #572D01;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.login-popup h3 {
    margin-bottom: 8px;
}

.login-popup p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.login-popup input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    margin-bottom: 10px;
    font-family: inherit;
    outline: none;
    background: #f2f2f2;
}

.login-popup .actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.login-popup .actions a {
    flex: 1;
    padding: 10px 0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}


.login-popup .login-btn {
    background: #572D01;
    color: #fff;
}


.login-popup .form {
    display: none;
}

.form.active {
    display: block;
}

.switch {
    margin-top: 15px;
    font-size: 14px;
}

.switch a {
    color: #000;
    margin-right: 5px;
    font-weight: bold;
    text-decoration: none;
}

