/*AUTHOR: REJEP MAMMEDOV*/
/*URL: https://rejep.com*/
/*GITHUB: https://github.com/reppon97*/
/*EMAIL: reppon97@gmail.com*/

:root {
    --font-text: "Sansation", sans-serif;
    --font-title: "Cormorant Garamond", serif;
    /*--color-main: #29629c;*/
    --color-main: #403f3f;
    --color-text: #5b5b5b;
    --color-border: #535151;
    --color-bg-coffee: #83745c;
    --color-bg-light: #dadada;
}

*, html {
    scroll-behavior: smooth !important;
}

body {
    font-family: var(--font-text);
    color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.7rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.3rem;
}

h6 {
    font-size: 1.1rem;
}

/*BUTTON*/

a.numerica-btn, button.numerica-btn {
    padding: 15px 45px;
    border: 1px solid var(--color-main);
    text-align: center;
    overflow: hidden;
    position: relative;
    display: inline-block;
    transition: color .3s ease-in-out;
    cursor: pointer;
}

a.numerica-btn::before, button.numerica-btn::before {
    content: "";
    background-color: var(--color-main);
    position: absolute;
    top: 0;
    right: calc(100% + 30px);
    width: 150%;
    padding-top: 150%;
    -webkit-transform: rotate(-45deg) translate(0, 0);
    -ms-transform: rotate(-45deg) translate(0, 0);
    transform: rotate(-45deg) translate(0, 0);
    -webkit-transition: all .55s cubic-bezier(.69, .26, .28, .95);
    transition: all .55s cubic-bezier(.69, .26, .28, .95);
    -webkit-transform-origin: top right;
    -ms-transform-origin: top right;
    transform-origin: top right;
}

a.numerica-btn:hover::before, button.numerica-btn:hover::before {
    -webkit-transform: rotate(-45deg) translate(80%, 0);
    -ms-transform: rotate(-45deg) translate(80%, 0);
    transform: rotate(-45deg) translate(80%, 0);
}

a.numerica-btn span, button.numerica-btn span {
    position: relative;
    z-index: 10;
    color: var(--color-main);
}

a.numerica-btn:hover span, button.numerica-btn:hover span {
    color: #fff;
}

.numerica-btn.reverse {
    border: 1px solid #fff;
}

a.numerica-btn.reverse span, button.numerica-btn.reverse span {
    color: #fff;
}


a.numerica-btn.reverse::before, button.numerica-btn.reverse::before {
    background-color: #fff;
}

a.numerica-btn.reverse:hover span, button.numerica-btn.reverse:hover span {
    color: var(--color-text);
}

/*HEADER*/
header.header {
    position: absolute;
    top: 0;
    padding: 1rem 3rem;
    color: #fff;
    width: 100%;
    transition: .5s ease-in-out;
    z-index: 100;
}

.header-logo img {
    width: 150px;
    transition: .5s ease-in-out;
}

.header-nav {
    padding-right: 10%;
}

.header-nav ul {
    gap: 1.5rem;
}

.header-nav ul li {
    position: relative;
    font-size: 15px;
}

.header-nav ul li::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    height: 1px;
    background-color: #fff;
    transform: translatex(-50%);
    width: 0;
    transition: width .6s ease-in-out;
}

.header-nav ul li.active::before {
    width: 80%;
}

.header-nav ul li:hover::before {
    width: 80%;
}

header.scrolled {
    position: fixed;
    left: 0;
    background-color: var(--color-main);
}

header.scrolled .header-logo img {
    width: 120px;
}


/*HERO*/

.hero-video {
    position: relative;
}

.hero-video video {
    object-fit: cover;
    height: 100vh;
    width: 100%;
}

.hero-video::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: .5;
}

.hero-swiper {
    background-color: #262626;
}

.hero-swiper .swiper-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-swiper .swiper-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: .35;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    color: #fff;
    text-align: center;
    width: 35%;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 90px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content a.numerica-btn {
    border-color: #fff;
}

.hero-content a.numerica-btn span {
    color: #fff;
}

.hero-content a.numerica-btn::before {
    background-color: #fff;
}

.hero-content a.numerica-btn:hover span {
    color: #000;
}

.hero-swiper .swiper-button-next, .swiper-button-prev {
    color: #fff;
}

.hero-swiper .swiper-button-next:after, .swiper-button-prev:after {
    font-size: 25px;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #fff;
}


/*FOOTER*/

footer {
    background-color: var(--color-main);
    padding: 120px 0;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.footer-logo img {
    width: 150px;
}

footer ul li {
    margin-bottom: .7rem;
}

footer h4 {
    margin-bottom: 1rem;
}

footer .bottom-area {
    position: absolute;
    bottom: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    left: 0;
    font-size: 13px;
}

footer .bottom-area a {
    color: #c7c7c7;
}

footer span.line {
    position: absolute;
    background-color: #535151;
}

footer span.left {
    left: 80px;
    width: 1px;
    top: 0;
    bottom: 0;
}

footer span.right {
    right: 80px;
    width: 1px;
    top: 0;
    bottom: 0;
}

footer span.bottom {
    right: 0;
    left: 0;
    height: 1px;
    bottom: 80px;
}

.footer-btn {
    position: absolute;
    bottom: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
}

.footer-btn.wp-btn {
    left: 0;
}

.footer-btn.back-to-top {
    right: 0;
}

/*PAGE BANNER*/

section.page-banner {
    height: 650px;
    background-position: center;
    background-size: cover;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.page-banner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: .35;
}

.page-banner video {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.page-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-banner-content h1 {
    font-size: 50px;
}

/*WHOLESALE*/

.wholesale-content {
    padding-inline: 2.75rem;
    margin-bottom: 20px;
}

.wholesale-content h3 {
    margin-bottom: 1rem;
}

.wholesale-content p {
    margin-bottom: .75rem;
    text-align: justify;
}

.wholesale-form {
    padding-inline: 2rem;
    color: #8c8c8c;
}

.numerica-input {
    padding-inline: .75rem;
}

.wholesale-content img {
    padding-inline: 1rem;
}

.wholesale-form input[type="text"], .wholesale-form input[type="email"] {
    border: 1px solid #c7c7c7;
    width: 100%;
    padding: 10px 20px 10px 45px;
    position: relative;
}

.numerica-input {
    position: relative;
}

.numerica-input input::placeholder {
    color: #8c8c8c;
}

.numerica-input::before {
    font-family: "Font Awesome 6 Pro";
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #8c8c8c;
}

.numerica-input.name::before {
    content: "\f007";
}

.numerica-input.email::before {
    content: "\f0e0";
}

.numerica-input.phone::before {
    content: "\f095";
}

.numerica-input.org::before {
    content: "\f1ad";
}

.numerica-input.address::before {
    content: "\f3c5";
}

.numerica-input input[type="radio"] {

}

.numerica-input.miktar input[type="text"] {
    padding-left: 20px;
}

.invisible {
    visibility: hidden;
}

.numerica-input textarea {
    width: 100%;
    border: 1px solid #c7c7c7;
    padding: 10px 20px 10px 20px;
}

.numerica-input textarea::placeholder {
    color: #8c8c8c;
}

.sidebar {
    padding: 2rem;
    background-color: var(--color-bg-light);
    color: #000;
}

.sidebar ul li {
    margin-bottom: .7rem;
    border: 1px solid var(--color-border);
    padding: 5px;
    overflow: hidden;
    position: relative;
}

.sidebar ul li a {
    display: block;
}

.sidebar ul li span {
    position: relative;
    z-index: 2;
}

.sidebar ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    transition: width .5s ease-in-out;
    background-color: #4486c9;
    opacity: .1;
    pointer-events: none;
}

.sidebar ul li:hover::before {
    width: 100%;
}

.sidebar h3 {
    margin-bottom: 1rem;
}

/*PRODUCT LIST*/

.coffee-product-item {
    padding-inline: 1rem;
    margin-bottom: 30px;
}

.flip-card {
    background-color: transparent;
    perspective: 600px;
}

.flip-card-inner {
    position: relative;
    transition: transform 0.9s;
    transform-style: preserve-3d;
    display: block;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(360deg);
}

.flip-card-front {
    backface-visibility: hidden;
    transform: rotateX(0deg);
}

.flip-card-front > img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

/*PRODUCT DETAIL*/

.product-img {
    margin-bottom: 20px;
}

.product-img img {
    width: 70%;
    border-radius: 20px;
}

.product-content {
    background-color: var(--color-bg-light);
    padding: 4rem 3rem;
    color: #000;
}

.product-content p,
.product-content h1,
.product-content h2,
.product-content h3,
.product-content h4,
.product-content h5,
.product-content h6 {
    margin-bottom: 1rem;
}

.product-detail .sidebar ul li {
    border: none;
}

/*ABOUT US*/
.cursor {
    display: inline-block;
    animation: blink 1.5s infinite;
    font-weight: normal;
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0;
    }
}

.parallax-window {
    min-height: 650px;
    background: transparent;
    background-size: cover;
}

.about-text {
    padding-inline: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.about-text p {
    margin-bottom: 1rem;
    text-align: justify;
}

.about-text p span {
    color: #adadad;
    font-size: 20px;
}

.about-slogan {
    height: 550px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    text-align: center;
}

.about-slogan::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: #000;
    opacity: .35;
}

.about-slogan .content {
    position: relative;
    z-index: 2;
}

.about-slogan h1 {
    font-size: 70px;
    font-weight: 700;
}

.about-item {
    color: #fff;
    padding: 3rem;
    background-size: cover;
    background-position: center;
    position: relative;
    height: 550px;
}

.about-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: .65;
    pointer-events: none;
}

.about-item .content {
    position: relative;
}

.about-item h1 {
    font-size: 140px;
    line-height: 50px;
    position: absolute;
    right: 10px;
    top: 10px;
    opacity: .5;
    font-weight: 800;
}

.about-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-item p {
    text-align: justify;
    margin-bottom: .75rem;
}

/*CAFE*/

.cafe-text p {
    margin-bottom: 1rem;
}

.cafe-text h2 {
    margin-bottom: 1rem;
}

.gallery-item {
    padding-inline: 10px;
    overflow: hidden;
}

.gallery-item a {
    display: block;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    transition: .6s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/*CONTACT*/
.contact-info {
    color: #fff;
    padding: 3rem;
}

.contact-bg {
    position: relative;
    background-size: cover;
    background-position: center;
}

.contact-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: .5;
}

.contact-info {
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    font-size: 25px;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
}

.contact-item i {
    color: var(--bg-yellow);
    font-size: 30px;
}

.contact-form {
    padding: 3rem;
}

.form-group {
    padding: .5rem;
    margin-bottom: 1rem;
}

.form-group input, textarea {
    width: 100%;
    border: 1px solid #bdbdbd;
    padding: .25rem .25rem .25rem .5rem;
    /*border-radius: 8px;*/
}

textarea {
    resize: none;
}

.contact-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    margin-bottom: 60px;
}

.gmap iframe {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/*HOMEPAGE*/

.intro-2 {
    background-color: var(--color-bg-coffee);
}

.intro-2 .text {
    padding-inline: 10%;
}

.intro-2 p {
    margin-bottom: .75rem;
    text-align: justify;
    color: #fff;
}

.intro-2 .text h1 {
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: #fff;
}


.border-radius-20 {
    border-radius: 20px;
    overflow: hidden;
}
