@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


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



html {
    scroll-behavior: smooth;
}

a {
    text-decoration: inherit;
    color: #231D19;
}

section {

    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 70%;
    margin: 0 auto;
}

.main-button {
    padding: 1em 2.5em;
    background-color: white;
    display: inline-block;
    border-radius: 50px;
    font-weight: 600;
    background-color: #DEDACA;
    color: #231D19;
    transition: .2s;
}

.main-button:hover {
    background-color: #C4C0B2;
    transform: scale(1.03);
}

.second-button {
    padding: 0.8em 2em;
    display: inline-block;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid #DEDACA;
    color: #DEDACA;
    transition: .2s;
    font-size: 16px;
    margin-top: 20px;
}

.second-button:hover {
    background-color: #C4C0B2;
    transform: scale(1.03);
    color: #231D19;
}


/***********/

.hero {
    height: 100vh;
    background: url('img/background.jpg') no-repeat center center;
    background-size: cover;

}

.hero img {
    height: 90%;
    position: absolute;
    right: 10%;
    bottom: 0;
}


.hero h1 {
    width: 50%;
    color: white;
    font-size: 80px;
    margin-bottom: 30px;
    overflow: hidden;
}


.hero h1 span {
    display: block;
    opacity: 0;
    animation: reveal 1s cubic-bezier(0.77, 0, 0.175, 1) 0.5s;
    animation-fill-mode: forwards;
}

@keyframes reveal {
    0% {
        opacity: 0;
        transform: translate(0, 100%);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0);

    }
}

.hero p {
    color: #DEDACA;
    font-size: 20px;
    margin-bottom: 40px;
    display: block;
    opacity: 0;
    animation: reveal 1s cubic-bezier(0.77, 0, 0.175, 1) 0.5s;
    animation-fill-mode: forwards;
}


#text-span {
    display: inline-block;
    opacity: 0;
    animation: reveal 1s forwards;
}


/**************************************/



.more-about {
    height: 100vh;
    background: url('img/background-2.jpg') no-repeat center center;
    background-size: cover;
    padding-bottom: 5%;
}

.more-about .container {
    text-align: center;
    margin: 0 auto;
    width: 55%;
}

.more-about img {
    width: 3.5em;
}

.more-about h1 {
    font-size: 40px;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 0.5em;
    margin-top: 0.5em;

}

.more-about p {
    color: #271F18;
    font-size: 16px;
    line-height: 150%;

}

/************************************************/

.facts {
    background: rgb(39, 31, 24);
    background: linear-gradient(0deg, rgba(39, 31, 24, 1) 1%, rgba(68, 51, 39, 1) 100%);
    width: 100%;
}

.facts-hero {
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    background: url('img/mlinar.jpg') no-repeat center center;
    background-size: cover;
    margin: 0 auto;
    width: 90%;
    padding: 7%;
}

.facts-hero h1 {
    font-size: 40px;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    color: white;

}

.facts-hero p {
    color: #271F18;
    font-size: 20px;
    line-height: 150%;
    font-weight: 400;
    color: #E2DDCC;

}

.facts-container {
    display: flex;
    flex-direction: column;
    gap: 1em;
    transform: translateY(-2.5em);
    align-items: center;
}



.single-fact {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2.5em;
    border-radius: 10px;
    gap: 3em;
    background-color: #231D19;
    max-width: 1000px;

}

.single-fact h6 {
    color: #9B9A95;
    margin-bottom: 0.5em;
    font-size: 14px;

}

.single-fact h2 {
    color: #DEDACA;
    margin-bottom: 0.5em;
    font-size: 22px;

}

.single-fact p {
    width: 90%;
    color: #9B9A95;
    line-height: 150%;

}

.single-fact img {
    width: 40%;
    border-radius: 5px;

}

.reversed {
    flex-direction: row-reverse;
}



/**************************************************************/

.coffee {
    background: rgb(222, 218, 202);
    background: linear-gradient(0deg, rgba(222, 218, 202, 1) 0%, rgba(231, 226, 206, 1) 100%);
    padding-top: 3em;
    padding-bottom: 3em;
}

.coffee h1 {
    font-size: 70px;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    text-align: center;
    width: 60%;
    color: #271F18;

}

.coffee p {
    color: #271F18;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    width: 60%;
    margin: 0 auto;

}

.cofee-item-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 2em;
}

.item {

    background-color: white;
    text-align: center;
    padding: 2em;
    border-radius: 15px;
    flex: 1 0 32%;
    min-height: 150px;
    transition: .2s;


}

.item:hover {

    -moz-box-shadow: 0px 7px 20px -2px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 7px 20px -2px rgba(0, 0, 0, 0.2);
    transform: translateY(-0.2em);
}

.item img {
    width: 60%;
    border: 3px solid white;



}

.item p {
    width: 100%;
    color: #54524C;
    font-size: 14px;


}

.item h4 {
    margin-top: 10px;
    font-size: 20px;
    margin-bottom: 10px;
    color: #271F18;


}




.slider-wrapper {
    overflow: hidden;
}

.slider {
    position: relative;
    display: flex;
    transition: 0.5s;
    gap: 1em;
}

.slider-button-container {
    width: 50%;
    text-align: center;
    margin: 0 auto;
    padding: 1em;
    margin-bottom: 3em;
}

.slider-button-container .second-button {
    background-color: #D0CBB6;
    color: #271F18;
}

.slider-button-container .second-button:hover {
    cursor: pointer;
}



/**************************************************/

.ad {
    background: rgb(39, 31, 24);
    background: linear-gradient(0deg, rgba(39, 31, 24, 1) 1%, rgba(68, 51, 39, 1) 100%);
    padding-top: 5%;
    padding-bottom: 5%;
    position: relative;
}

.ad h1 {
    font-size: 50px;
    font-weight: 700;
    text-align: center;
    color: #DEDACA;
    padding-bottom: 1em;

}

.ad-video {
    width: 80%;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
}

.ad img {
    position: absolute;
    bottom: 0px;
    left: 50%;
    height: 10em;
    transform: translateX(-50%);
}




/**************************************************/



footer {
    text-align: center;

    display: flex;
    flex-direction: column;

    gap: 2em;
    padding: 2em;

    background: rgb(38, 66, 97);
    background: linear-gradient(0deg, rgba(38, 66, 97, 1) 0%, rgba(32, 51, 72, 1) 100%);
    color: white;
}

footer img {
    width: 200px;
    margin: 0 auto;
}

footer a {
    font-weight: 700;
    color: white;
}

footer p {
    width: 25%;
    color: #7F9AB6;
}

footer div {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}



/*********************************************/

/* Base styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s, color 0.3s;


}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2em;
    padding-bottom: 1em;
    background: transparent;
    color: white;
    width: 80%;

    border-radius: 20px;
    margin: 0 auto;



}

.nav-logo {
    width: 200px;
    transition: height 0.3s;
}

.nav-links a {
    margin: 0 15px;
    font-size: 14px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.607);
    transition: color 0.3s;
}

.nav-links a:hover {
    margin: 0 15px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: color 0.3s;
}



.nav-links {
    display: flex;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: background-color 0.3s;
}



/* Scroll styles */
.scrolled {
    background-color: rgba(255, 255, 255, 0.613);
    backdrop-filter: blur(20px);
    color: black;
    -moz-box-shadow: 0px 7px 20px -2px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 7px 20px -2px rgba(0, 0, 0, 0.2);
}

.scrolled .nav-logo {
    content: url('img/logo-1.png');
    /* Change this to the new logo path */
}

.scrolled .nav-links a {
    color: black;
}

.scrolled .bar {
    background-color: black;
}


/* Responsive Styles */
@media (max-width: 800px) {

    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    .scrolled {
        display: none;
    }


    .nav-container {

        width: 80%;
    }

    .nav-logo {
        width: 50%;
    }

    .nav-links {
        display: none;
    }

    .nav-links a {
        font-size: 12px;
        margin: 10px 0;
    }

    .hero {
        width: 100%;
        align-items: start;
        padding-top: 40%;

    }

    .hero h1 {
        width: 90%;
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    .mnore-about {
        width: 100%;
    }

    .more-about .container {
        width: 90%;
    }

    .more-about h1 {
        font-size: 30px;
    }

    .more-about p {
        font-size: 14px;
    }

    .facts-hero {
        height: 50vh;
        width: 100%;
    }

    .facts-hero h1 {
        font-size: 30px;
    }

    .facts-hero p {
        font-size: 16px;
    }

    .facts-container {
        transform: translateY(-1em);
        width: 100%;

    }

    .single-fact {
        flex-direction: column;
        gap: 1em;
        padding: 1.5em;
        width: 100%;
    }

    .single-fact h2 {
        font-size: 18px;
    }

    .single-fact p {
        font-size: 14px;
        width: 100%;
    }

    .single-fact img {
        width: 100%;
    }

    .coffee {
        width: 100%;
        display: none;
    }

    .coffee h1 {
        font-size: 40px;
    }

    .coffee p {
        font-size: 14px;
        width: 80%;
    }

    .cofee-item-container {
        flex-direction: column;

    }

    .slider-wrapper {
        width: 100%;
    }

    .item {
        flex: 1 0 80%;
        margin-bottom: 1em;
        width: 18%;
    }

    .item h4 {
        font-size: 18px;
    }

    .item p {
        font-size: 12px;
    }

    .ad {
        width: 100%;
    }

    .ad h1 {
        font-size: 30px;
        width: 100%;
    }

    .ad-video {
        width: 100%;
    }

    footer div {
        flex-direction: column;
        gap: 1em;
    }

    footer {
        padding: 1em;
    }

    footer p {
        width: 90%;
    }

    .hero img,
    .ad img {
        height: 50%;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
    }

    .container {
        width: 80% !important;
    }

    img,
    video {
        max-width: 100%;
        height: auto;
    }
}