* {
    margin: 0;
    padding: 0%;
    box-sizing: border-box;
    font-size: 10px;
    font-family: "Playfair Display", serif;


}

body {
    background-color: #14236e;
    padding: 1.2rem 0 1.2rem 0rem;


}

main {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    position: relative;
    animation: fadeIn 0.5s ease-in;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*  */
.popup {
    width: 72rem;
    height: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    z-index: 200;
}

.popup-img {



    background-color: rgb(78, 72, 167);
    border: 1px solid black;
    box-shadow: 10px 10px 20px black;
    padding: 1rem;
    border-radius: 1.2rem;
    gap: 0.4rem;

}

.popup-img img {
    padding: 1rem;
    width: 100%;
    height: auto;
    box-shadow: 0px 0px 30px 0px rgba(208, 203, 207, 0.622);

}

.close-btn {
    float: right;
    width: 4.2rem;
    height: 3rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.close-btn i {
    font-size: 2rem;
    background-color: transparent;
}

.close-btn:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(10, 13, 83);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
    cursor: pointer;
    border: 2px solid rgb(20, 20, 20);

}


/*  */
.hero {
    width: 100%;
    max-width: 140rem;
    height: 60rem;
    margin: auto;
    border-radius: 1rem;
    display: flex;
    box-shadow: 0px 10px 40px black;

}

.hero-left {
    width: 75%;
    height: 100%;
    position: relative;

}

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: #070f38;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    clip-path: polygon(100% 0, 75% 100%, 0 100%, 0 0);

}

.navbar {
    width: 100%;
    height: 10rem;
    display: flex;
}

.top-ten {
    width: 33%;
    height: auto;
}

.logo {
    width: 55%;
    height: auto;

}

.top-ten p {
    width: 70rem;
    max-width: 100%;
    border-top-right-radius: 2rem;
    box-shadow: 9px 1px 10px 9px rgb(115, 116, 117);
    font-size: 3rem;
    font-family: "Lobster", "sans-serif";
    padding: 1rem;
    color: white;
    text-align: right;
}

.hamburger-btn {
    display: none;
}

/* Nav bar */
.right {
    width: 60%;
    height: max-content;
    padding-top: 5rem;
    display: flex;

}

.right ul {
    display: flex;
    align-items: center;
    border-top-right-radius: 2.4rem;
    border-bottom-left-radius: 2.4rem;
    box-shadow: 9px 1px 10px 9px rgb(115, 116, 117);
    background: linear-gradient(90deg, rgba(110, 25, 69, 1) 0%, rgba(6, 18, 115, 1) 83%, rgba(255, 255, 255, 1) 100%);
}

.right li {
    list-style: none;


}

.right li a {
    text-decoration: none;
    border: none;

    padding: 1rem 2.5rem 1rem 2.5rem;
    display: flex;
    gap: 1.4rem;
    position: relative;

}


.right li a::after {
    content: "";
    width: 0%;
    height: 2px;
    background-color: rgb(255, 255, 255);
    position: absolute;
    top: 50px;
    left: 20px;
    transition: width 0.2s ease-in-out;

}

.right li a:hover::after {
    width: 90%;
    height: 2px;

}


.right span {
    font-size: 2.3rem;
    letter-spacing: -1.2px;
    font-weight: bold;
    color: #ebd9dd;
}

.menut img {
    width: 3rem;
    height: 3rem;
    display: inline-block;
    transform: rotate(0deg);
}

.menut img:hover,
.menut:hover img {
    animation: spin 3s linear infinite;

}


.social-icon {
    width: 3.2rem;
    height: 3.2rem;
    justify-content: center;
    align-items: center;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}






/* YENİ ÇIKANLAR CONTAİNER */
.hero-right {
    width: 25%;
    height: auto;
    background-color: #070f38;
    position: relative;
    padding-top: 5rem;
}

.new-product {
    width: 100%;
    height: auto;

    /* background: linear-gradient(205deg,
            #020202,
            transparent);  */
    /* border: 0.3rem solid #14236e; */
    /* box-shadow: 0px 0px 10px 2px  white;  */
    border-radius: 0.2rem;
    position: relative;
    display: grid;
    gap: 3rem;
}

.new-product-text {
    width: 100%;
    text-align: center;
}

.new-product-text p {
    font-size: large;
    font-family: " Bodoni Moda";
    font-weight: 700;
    font-style: italic;
    height: auto;
    color: white;
}

.hero-video {
    display: none;
}


/*  YENi çıkanlar */

.imgHype {
    width: auto;
    height: auto;
    overflow: hidden;
    position: absolute;
    transition: opacity 4s ease-in-out;
    opacity: 0;

    /* box-shadow: 2px 0px 10px 5px rgb(240, 108, 64); */
    display: grid;
    gap: 1rem;
}

.imgHype img {

    width: 70%;
    height: auto;
    margin: auto;
    border: 0.2rem dotted #ffffff;
}

.imgHype.active {
    opacity: 1;
}

.imgHype p {
    font-size: 2.3rem;
    text-align: center;
    color: rgb(255, 255, 255);
    /* background-color: rgb(33, 73, 69); */
    font-family: "Bodoni Moda", "sans-serif";
    font-weight: 500;
}



/*  middle  */


.middle {
    width: 100%;
    max-width: 130rem;
    height: auto;
    display: flex;
    justify-content: space-between;
    margin: auto;

    border-radius: 1rem;
    border: 3px solid #858eba;
    padding-left: 1rem;



}

.middle-right {
    width: 37%;
    height: auto;
    /* background-color:antiquewhite; */
    padding: 3rem 3.5rem;
    box-shadow: 1px 0px 30px 1px rgb(238, 230, 166);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: url(/img/danicupsdesign.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.middle-right h1 {
    font-size: 3rem;
    color: #282a29;
    text-align: center;
    background-color: #e3e3e3;
    border-radius: 1rem;
    padding: 1rem;
}

.middle-right p {
    color: #ffffff;
    font-size: 2.2rem;
    text-align: center;
    text-transform: capitalize;
    line-height: 3.8rem;
    letter-spacing: 0.2rem;
    font-family: "Lilita", "sans-serif";
    font-weight: 300;
}

.middle-right a{
    width: fit-content;
    padding: 0.5rem;
    text-decoration: none;
    font-size: 2.5rem;
    color: #0a1447;
    background-color: #F6F0D7;
    border-radius: 0.5rem;
}



.middle-left {
    width: 23%;
    height: auto;
    background-color: rgb(31, 14, 95);
    border-right: 1px dotted white;
    box-shadow: -5px 0px 30px 1px rgb(238, 230, 166);

}

.carousel-container {
    width: 100%;
    max-width: 144rem;
    margin: auto;
}

.dani-movement {
    width: 100%;
    height: 100%;
    margin: auto;
    /* background-color: rgba(49, 5, 5, 0.527); */
    display: flex;
    gap: 3rem;
    padding: 10rem 1rem 10rem 1rem;
    border-bottom: 2px solid rgb(30, 19, 15);
    border-radius: 1rem;
}


.carousel {

    width: 80rem;
    height: auto;

    display: flex;

}

.text-carousel {
    width: 50%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 3rem;
    border: 1px solid rgb(37, 79, 121);
    border-radius: 2rem;
    justify-content: center;
}

.text-carousel p {
    font-size: 3rem;
    color: rgb(252, 252, 252);
    text-shadow: 10px 10px 20px rgb(71, 15, 15);
    font-family: "Lilita", "sans-serif";
    font-weight: 500;
    text-align: center;
    line-height: 4rem;
    letter-spacing: 0.1rem;

}

.text-carousel span {
    font-size: 3rem;
    color: rgb(252, 252, 252);
    text-shadow: 10px 10px 20px rgb(71, 15, 15);
    font-family: "Bodoni Moda", "sans-serif";
    font-weight: 400;
    font-style: italic;
    text-align: center;
    line-height: 4rem;
    text-transform: capitalize;
    letter-spacing: 0.1rem;

}

.card {
    flex: 1;
    height: 35rem;

    object-fit: cover;
    border-radius: 1.6rem;
    transition: all 1s ease-in-out;
    opacity: 1;
    display: block;
    /* padding: 0rem; */

}

/* ORTA */
.card.center-img {
    z-index: 3;
    opacity: 1;
    transform: translate(0%, 0%) scale(1.3);
}

/* SOL */
.card.left-img {
    z-index: 2;
    transform: translate(-10%, 0%) scale(0.9);
}

/* SAĞ */
.card.right-img {
    z-index: 2;
    transform: translate(10%, 0%) scale(0.9);
}



/*  Ara img CSS  */

/* .img-second {
    width: 90%;
    height: auto;
    margin: auto;

}
.img-second img{
    width: 100%;
    margin: auto;
} */




/* Coffee bg */
.coffee-details {
    width: 100%;
    max-width: 140rem;
    height: auto;
    border: 1px solid rgb(66, 66, 66);
    box-shadow: 1px 1px 3px lightseagreen;
    position: relative;
    background: url(/img/Adsız\ tasarım\(1\).jpg);
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0rem auto 0 auto;
    border-radius: 1rem;
}

.coffee-details-h {
    position: relative;
    top: 50rem;
    left: 2rem;
    padding: 1rem 0 1rem 1rem;
}

.coffee-details-h h1 {
    width: 40rem;
    font-size: 4rem;
    color: #032c31;
    font-family: "Lilita", "sans-serif";
    font-weight: 700;
    text-transform: capitalize;
    text-align: left;
    line-height: 3ch;
    text-shadow: 1px 1px 3px white;
    border-bottom: 2px solid black;
}

.coffee-bg {
    width: auto;
    height: auto;
    /* background-color: #020202; */
}

.coffee-bg :first-child {
    position: relative;
    left: 53.66%;
    top: 15rem;
    width: 15%;
    z-index: 10;
}

.coffee-bg :last-child {

    width: 10%;
    height: auto;
    /* z-index: 120; */
    position: relative;
    top: 14rem;
    left: 35%;
    transform: rotate(195deg);
}

/*  Shape part */
.custom-shape-divider-bottom-1767394814 {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1767394814 svg {
    width: 150rem;
    height: 110px;
}

.custom-shape-divider-bottom-1767394814 .shape-fill {
    fill: #F6F0D7;
}

/*  */


.coffee-header-container {
    width: 100%;
    height: auto;
    background-color: #F6F0D7;
    padding: 3rem;
}

.logo-coffee {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 4rem;
}

.logo-coffee img {
    width: 15rem;

}


.coffee-nav {
    width: 70%;
    height: 5rem;
    background-color: #02071d;
    margin: auto;
    border: 2px solid white;
    box-shadow: 0px 2px 0px 8px #02071d;
    display: flex;


}

.coffee-nav-text {
    width: 33%;
    height: auto;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}

.coffee-nav-text p {
    height: auto;
    font-size: 2rem;
    color: white;

}

.coffee-nav-img {

    width: 33%;
    height: auto;
}

.coffee-nav-img img {
    width: 100%;
    height: auto;
}



/*  Kahve Metinleri  - Coffee Detail Container*/

.coffee-details-text-icon {
    width: 100%;
    max-width: 155rem;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: #02071d;
    gap: 24rem;
    padding: 2rem;

}

.right-area,
.left-area {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;

}

.right-area .icons {

    justify-content: flex-end;
}

.icons {
    width: auto;
    height: 8rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    text-align: center;
    box-shadow: 1px 1px 10px rgb(255, 255, 255);
    /* background-color: #e3a258; */
    border-radius: 1rem;
}

.icons img {

    width: 7rem;
    height: auto;
    padding: 2rem;
    background: #e3e3e3;
    /* border: 10px solid rgb(200, 117, 29); */
    clip-path: polygon(49% 0, 95% 25%, 50% 100%, 5% 25%);
}

.icons p {
    width: 70%;
    display: flex;
    align-items: center;
    color: rgb(233, 223, 199);
    font-size: 2rem;

}



footer {
    width: 100%;
    height: auto;
    background-color: #14236e;
    display: flex;
    align-items: center;

}

.footer-text {
    width: 100%;
    height: auto;

}

.footer-text p {
    font-size: 1.5rem;
    text-align: center;
    color: #F6F0D7;
    font-family: 'Times New Roman', Times, serif;
}


/* ============== BREAKPOINTS - DESKTOP FIRST ============== */

/* BÜYÜK DESKTOP - 1200px ve altı */
@media (max-width: 1200px) {
    * {
        font-size: 9.5px;
    }

    .popup-img {
        width: 65rem;
    }

    .hero {
        height: 55rem;
    }

    .carousel {
        width: 80rem;
    }
}

/* TABLET - 1024px ve altı */
@media (max-width: 1024px) {
    * {
        font-size: 9px;
    }

    .popup {
        width: 60rem;
    }

    .hero {
        max-width: 102rem;
        height: 45rem;
    }

    /* .hero-left {
        width: 70%;
    }

    .hero-right {
        width: 30%;
    } */

    .top-ten p {
        font-size: 2rem;
    }

    .right ul {
        width: 95%;
        height: max-content;
        gap: 2rem;
    }



    .right li a::after {
        top: 30px;
        left: 17px;
    }

    .right li a {
        gap: 1rem;
    }

    .right span {
        font-size: 1.5rem;
    }

    .menut img {
        width: 2rem;
        height: 2rem;
    }

    .social-icon {
        width: 2rem;
        height: 2rem;
    }

    .imgHype img {
        width: 60%;

    }

    /*  */
    .custom-shape-divider-bottom-1767394814 svg {
        width: 100%;
        height: 10%;
    }

    .coffee-details {
        max-width: 102rem;
    }

    .coffee-details-h {
        top: 40rem;
    }

    .coffee-details-h h1 {
        font-size: 2.5rem;
    }

    .icons p {
        width: 80%;
        font-size: 1.8rem;
    }

    .middle {
        max-width: 102rem;
    }

    .middle-left {
        width: 23.5%;
    }

    .middle-left img {
        width: 100%;
    }

    .middle-center {
        width: 37%;
    }

    .middle-center img {
        width: 100%;
    }


    .dani-movement {
        gap: 2rem;
    }

    .carousel {

        width: 60rem;


    }

    .card {
        height: 30rem;
    }

    .text-carousel p {
        font-size: 2rem;
    }

    .text-carousel span {
        font-size: 2rem;
    }
}





/* MOBİLE - 480px ve altı */
@media (max-width: 480px) {

    @keyframes slideInRight {
        from {
            transform: translateX(100%);
            opacity: 0;
            max-height: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
            max-height: 50rem;
        }
    }

    @keyframes slideOutRight {
        from {
            transform: translateX(0);
            opacity: 1;
            max-height: 50rem;
        }

        to {
            transform: translateX(100%);
            opacity: 0;
            max-height: 0;
        }
    }

    body {
        padding: 0.5rem 0;
    }

    main {
        gap: 2rem;
    }

    .popup {
        width: 30rem;
        top: 5%;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .popup-img {
        width: 100%;
        gap: 0.2rem;
        border-radius: 0.5rem;
    }

    .close-btn {
        width: 2rem;
        height: 1.8rem;
        margin-bottom: 0;
    }

    .close-btn i {
        font-size: 1.5rem;
    }

    .hero {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .hero-left {
        width: 100%;
        height: auto;
        min-height: 26rem;
    }

    .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
    }

    .hero-bg img {
        width: 100%;
        height: auto;
        clip-path: none;
    }

    .navbar {
        position: relative;
        z-index: 10;
        height: 10rem;
        flex-direction: column;
    }

    .top-ten {
        width: 100%;
    }

    .logo {
        width: 30%;
        height: auto;
    }

    .top-ten p {
        width: 60%;
        font-size: 1.8em;
        border-top-right-radius: 1.5rem;
        padding: 0.4rem;
    }

    .navbar {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    /* HAMBURGER MENU */
    .hamburger-btn {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        padding: 0.5rem 1rem;
        position: absolute;
        right: 0;
        top: 1rem;
        z-index: 100;
    }

    .hamburger-btn i {
        font-size: 2rem;
        transition: transform 0.3s ease-in-out;
    }


    .right {
        width: 45vw;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        padding: 0 !important;
        position: fixed;
        top: 5rem;
        right: 0rem;
        transform: none;
        background-color: #14236e;
        z-index: 50;
    }

    .right.active {
        padding: 1rem !important;
        animation: slideInRight 0.3s ease-in-out forwards;
    }

    .right ul {
        width: 100% !important;
        flex-direction: column !important;
        gap: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: none !important;
        height: auto !important;
    }

    .right li {
        width: 100%;
    }

    .right li a {
        padding: 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        gap: 1rem !important;
    }

    .right li a::after {
        display: none;
    }

    .right span {
        font-size: 1.2rem !important;
    }


    .hero-right {
        width: 100%;
        height: auto;
        background-color: transparent;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        /* Metin yukarıda kalsa da görseller alt hizalı olsun */
        padding: 0 1rem 3rem 1rem;
        gap: 1rem;
    }

    .new-product {
        flex: 1;
        /* Eşit genişlik */
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        /* İçeriği alta yasla */
    }

    .new-product-img {
        width: 100%;
        height: auto;
        display: grid;
        /* Grid Stacking Yöntemi */
        grid-template-columns: 1fr;
    }

    .imgHype {
        /* Absolute yerine Grid ile üst üste bindirme */
        grid-row: 1;
        grid-column: 1;
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
        display: flex;
        /* Resmi ortalamak için */
        align-items: center;
        justify-content: center;
    }

    .new-product-text p {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        margin-top: 2rem;
    }

    .imgHype p {
        display: block;
        position: absolute;
        bottom: 0rem;
        left: 0;
        width: 100%;
        padding: 0.5rem;
        background: rgba(7, 15, 56, 0.641);
        /* Temaya uygun yarı saydam lacivert */
        color: white;
        text-align: center;
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
    }




    .hero-video-container {
        flex: 1;
        /* Eşit genişlik */
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
    }

    .hero-video {
        display: block;
        width: 100%;
        /* Kapsayıcının tamamını kaplasın */
        height: 100%;
        object-fit: cover;
        /* Görüntü oranını koruyarak doldur */
        border-radius: 1rem;
        aspect-ratio: 9/16;
        /* Videonun dikey oranını koruması için (isteğe bağlı) */
    }

    .imgHype img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 1rem;
        border: none;
        /* Masaüstündeki border'ı kaldır */
        aspect-ratio: 9/16;
        /* Videoyla aynı yükseklikte olması için oranı zorla */
    }


    .custom-shape-divider-bottom-1767394814 svg {
        width: 100%;
        height: 10%;

    }

    .coffee-details {
        max-width: 40rem;
    }

    .coffee-details-h {
        top: 18rem;
    }

    .coffee-details-h h1 {
        width: 22rem;
        font-size: 1.5rem;
    }

    .coffee-bg :first-child {
        top: 4em;
    }

    .coffee-bg :last-child {
        top: 3em;

    }

    .logo-coffee {
        padding-top: 3rem;
        padding-right: 0rem;
    }

    .logo-coffee img {
        width: 12rem;
    }



    .coffee-nav {
        width: 100%;
    }

    .coffee-nav-text {
        width: 100%;
    }

    .coffee-nav-text p {
        font-size: 1.5rem;
    }

    .coffee-nav-img {
        width: 100%;
    }

    .coffee-nav-img img {
        width: 100%;
    }

    .coffee-details-text-icon {
        max-width: 48rem;
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }

    .icons p {
        width: 80%;
        font-size: 1.4rem;
    }

    .middle {
        max-width: 40rem;
        display: block;
    }

    .middle-left {
        width: 100%;
        height: 30vw;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .middle-left img {
        transform: rotate(90deg);
        width: 50%;
        height: auto;
    }

    .middle-center {
        width: 100%;
    }

    .middle-center img {
        width: 100%;
    }
.middle-right{
    width: 100%;
}






    .dani-movement {
        gap: 2rem;
        display: grid;
        grid-template-columns: repeat(1, 1fr);

    }

    .carousel {

        width: 40rem;


    }

    .card {
        height: 20rem;
    }
    .text-carousel{
        width: 100%;
    }
    .text-carousel p {
        font-size: 2rem;
    }

    .text-carousel span {
        font-size: 2rem;
    }

}