.gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;;
}

.gradient-jpg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    transition: opacity 2s ease;
}
/**/

.banner-drink {
    position: absolute;
    bottom: 0;
    right: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    will-change: transform, opacity; /* Lepší výkon */
}

/* Animace odjezdu doprava */
.exit-right {
    transform: translateX(120%);
    opacity: 0;
}

/* Nový drink přijíždí zleva */
.enter-left {
    transform: translateX(-120%);
    opacity: 0;
}

.enter-active {
    transform: translateX(0);
    opacity: 1;
}

/********************************************/
.hero, .hero .container {
    position: relative
}

.hero .container {
    padding: 20px 20px 200px 20px;
}

.hero__content {
    max-width: 500px;
}

.hero .hero-img {
    margin-inline: auto;
    max-width: 560px
}

@media only screen and (max-width: 1080px) {
    .hero .hero-img {
        max-width: 100%
    }
}

.hero h1 {
    color: #fff;
    line-height: 100%;
    margin-top: 1rem;
    /*font-size: 100px;*/
    font-size: 80px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-under-h1 {
    font-family: BebasNeue, Serif;
    font-size: 30px;
    margin-bottom: 50px;
    color: #fff;
}

@media only screen and (max-width: 768px) {
    .hero h1 {
        align-items: center;
        display: flex;
        flex-direction: column
    }
}

.hero p {
    line-height: 24px;
    color: #fff;
}

@media only screen and (max-width: 768px) {
    .hero p {
        font-size: 1rem;
        margin-top: 2rem;
        max-width: 100%;
        text-align: center
    }
}

.gradient-img {
    margin-top: 62px;
    position: relative;
    width: 100%;
}

.gradient-img .banner-drink {
    position: absolute;
    right: 50px;
    bottom: calc(50% - 200px);
}

.hero__buttons {
    align-items: center;
    display: flex;
    gap: 1rem;
    margin-top: 250px;
    margin-inline: auto;
    width: -moz-fit-content;
    width: fit-content;
    margin-bottom: 0;
}

@media only screen and (max-width: 1024px) {
    .gradient-img .banner-drink {
        bottom: calc(50% - 150px);
        max-height: 300px;
    }

    .hero .container {
        padding: 0 20px 180px 20px;
    }
}
/**/
.hero__buttons .button--primary {
    margin-right: 20px;
}

.hero__buttons .button--primary,
.hero__buttons .button--secondary {
    position: relative;
    display: inline-block;
    color: #fff;
    cursor: pointer;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(13.5px);
    -webkit-backdrop-filter: blur(13.5px);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px #000;
}

/* gradientový rámeček */
.hero__buttons .button--primary::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px; /* tloušťka rámečku */
    border-radius: 20px;
    background: linear-gradient(90deg, #F7D855 0%, #E3403A 100%);
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none; /* aby neblokovalo kliknutí */
}

.hero__buttons .button--secondary::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px; /* tloušťka rámečku */
    border-radius: 20px;
    background: linear-gradient(90deg, #85CDDA 0%, #CDD84E 100%);
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none; /* aby neblokovalo kliknutí */
}

/* hover efekt */
.hero__buttons .button--primary:hover,
.hero__buttons .button--secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.parameters {
    display: flex;
    justify-content: space-between;
    margin-inline: auto;
    max-width: 723px;
    margin-top: 130px;
    margin-bottom: 60px;
}

@media only screen and (max-width: 768px) {
    .parameters {
        display: none;
    }
}

.parameters .parameter {
    align-items: center;
    background-color: #6bb5ff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    height: 152px;
    justify-content: center;
    position: relative;
    text-align: center;
    transition: all .25s ease-in-out;
    width: 152px
}

.parameters .parameter__value {
    font-size: 2.1875rem;
    font-style: italic;
    font-weight: 700;
    font-weight: 900;
    padding-inline: 4px;
    white-space: nowrap
}

.parameters .parameter__title {
    color: #fff
}

@media only screen and (max-width: 768px) {
    .parameters .parameter:nth-of-type(2) {
        transform: translateX(5rem)
    }

    .parameters .parameter:first-of-type, .parameters .parameter:last-of-type {
        transform: translateX(-5rem)
    }

    .parameters .parameter__value {
        font-size: 1.4rem;
    }
}

.where-to-buy {
    position: relative;
    text-align: center
}

.where-to-buy .ellipse {
    position: absolute;
    right: 0;
    top: 115px;
}

@media only screen and (max-width: 1080px) {
    .where-to-buy .ellipse {
        display: none
    }
}

.where-to-buy__background {
    left: 0;
    position: absolute;
    top: -330px;
    width: 100%;
    max-height: calc(100% + 610px);
    object-fit: cover;
    object-position: top;
}

@media only screen and (max-width: 1080px) {
    .where-to-buy__background {
        bottom: 0;
        top: auto
    }
}

.where-to-buy .container {
    display: flex;
    z-index: 10
}

@media only screen and (max-width: 1080px) {
    .where-to-buy .container {
        flex-direction: column
    }
}

.where-to-buy .left {
    display: flex;
    flex-direction: column;
    gap: 3rem
}

.where-to-buy h2 {
    font-weight: 400
}

@media only screen and (max-width: 768px) {
    .where-to-buy h2 {
        font-size: 5.625rem;
        line-height: 80px;
        margin-inline: auto;
        max-width: -moz-min-content;
        max-width: min-content
    }
}

.where-to-buy h2 span {
    font-family: Helvetica Now Display, sans-serif;
    font-size: 1.375rem
}

@media only screen and (max-width: 768px) {
    .where-to-buy h2 span {
        margin-top: 1.5rem
    }
}

.where-to-buy .store {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.where-to-buy .store__logo {
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
    width: 246px
}

.where-to-buy .store__description {
    font-size: 1rem;
    line-height: 25px;
    margin-inline: auto;
    max-width: 310px
}

.where-to-buy .store__description a {
    font-weight: 900
}

.where-to-buy .store .button {
    margin-top: 1rem
}

.where-to-buy__shops h4 {
    font-family: Helvetica Now Display, sans-serif;
    font-size: 15px
}

.where-to-buy__shops .shops-logos {
    align-items: center;
    display: grid;
    gap: 2.5rem;
    grid-template-columns:repeat(3, 1fr);
    justify-content: center;
    margin-top: 1.5rem
}

.where-to-buy__shops .shops-logos img {
    margin-inline: auto;
    max-height: 50px;
    width: auto
}

.where-to-buy__carousel {
    animation: rotateRight 15s linear infinite;
    top: 10%;
    max-height: 789px;
    max-width: 789px;
    position: absolute;
    right: -290px
}

@media only screen and (max-width: 1080px) {
    .where-to-buy__carousel {
        max-width: 100%;
        position: relative;
        right: 0;
    }
}

.social-media-title {
    font-family: Helvetica Now Display;
    font-style: italic;
    font-weight: 900;
    text-align: center;
}

.social-media {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem
}

@media only screen and (max-width: 768px) {
    .social-media {
        gap: 4rem
    }
}

.social-media a {
    text-decoration: none
}

.social-media a:hover svg path {
    fill: #000
}

.social-media svg {
    height: 53px;
    width: auto
}

.social-media svg path {
    fill: #6bb5ff
}

.social-top {
    padding-bottom: 70px;
}

@keyframes rotateRight {
    0% {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(1turn)
    }
}

.product-section {
    display: flex;
    gap: 5rem;
    justify-content: center;
    background-color: #EEFAFF;
}

.product-section--nealko {
    flex-direction: row-reverse;
    position: relative;
    z-index: 10
}

.product-section:first-of-type {
    margin-bottom: 2rem;
    margin-top: -600px;
    position: relative;
    z-index: 10
}

@media only screen and (max-width: 1080px) {
    .product-section {
        flex-direction: column;
        gap: 0
    }

    .product-section:first-of-type {
        margin-top: -1000px
    }

    .product-section .badge {
        margin-inline: auto;
        max-width: 230px
    }
}

.slider-wrapper {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-color: #9dff91 hsla(0, 0%, 100%, .3);
    scrollbar-width: thin;
    touch-action: pan-x;
    width: fit-content;
}

@media only screen and (min-width: 1801px) {
    .slider-wrapper {
        width: calc(100dvw - 500px)
    }
}

@media only screen and (max-width: 1080px) {
    .slider-wrapper {
        margin-left: auto;
        width: 100%
    }
}

.slider-wrapper::-webkit-scrollbar {
    height: 8px
}

.slider-wrapper::-webkit-scrollbar-track {
    background: hsla(0, 0%, 100%, .2);
    border-radius: 10px
}

.slider-wrapper::-webkit-scrollbar-thumb {
    background: #6ad96a;
    border-radius: 10px;
    cursor: pointer
}

.slider-wrapper::-webkit-scrollbar-thumb:hover {
    background: #9dff91
}

.slider-wrapper#alko-koktejly {
    scrollbar-color: #9dff91 hsla(0, 0%, 100%, .3)
}

.slider-wrapper#alko-koktejly::-webkit-scrollbar-thumb {
    background: #9dff91
}

.slider-wrapper#alko-koktejly::-webkit-scrollbar-thumb:hover {
    background: #70ff5e
}

.slider-wrapper#nealko-koktejly {
    scrollbar-color: #fea2a7 hsla(0, 0%, 100%, .3)
}

.slider-wrapper#nealko-koktejly::-webkit-scrollbar-thumb {
    background: #fea2a7
}

.slider-wrapper#nealko-koktejly::-webkit-scrollbar-thumb:hover {
    background: #fd7077
}

.product-slider {
    grid-gap: 0;
    -ms-overflow-style: none;
    display: grid;
    grid-auto-columns: minmax(300px, 1fr);
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: fit-content;
}

.product-slider::-webkit-scrollbar {
    display: none
}
/*
@media only screen and (min-width: 1801px) {
    .product-slider {
        width: calc(100dvw - 500px)
    }
}
*/
.product-slider .product {
    cursor: pointer;
    display: grid;
    gap: 19px;
    grid-template-rows:2fr 1fr;
    height: 780px;
    justify-content: start;
    padding-bottom: 2rem;
    scroll-snap-align: start;
    text-align: center;
    width: 250px
}

@media only screen and (max-width: 1080px) {
    .product-slider .product {
        height: 680px
    }
}

.product-slider .product img {
    align-self: end;
    height: 350px;
    margin-inline: auto;
    -o-object-fit: contain;
    object-fit: contain;
    transform-origin: bottom;
    transition: transform .25s ease-in-out;
    width: 301px
}

.product-slider .product__name {
    font-size: 1.875rem
}

.product-slider .product__description {
    font-size: .625rem;
    font-weight: 700;
    line-height: 140%;
    opacity: .15
}

.product-slider .product.active {
    gap: 1rem
}

.product-slider .product.active img {
    transform: scale(1.3)
}

@media only screen and (max-width: 1080px) {
    .product-slider .product.active img {
        transform: scale(1)
    }
}

.product-slider .product.active .product__description {
    font-size: 1rem;
    opacity: 1
}

@media only screen and (min-width: 1801px) {
    .product-section--nealko .product-slider {
        margin-left: auto;
        max-width: 1700px;
        width: calc(100dvw - 500px)
    }
}


/**************************************************** banner - lahve ****************************************************/
/* každá vrstva má svůj obrázek */
.layer1 {
    background-image: url('../img/homepage/banner-margarita/banner.jpg');
}
.layer2 {
    background-image: url('../img/homepage/banner-beach/banner.jpg');
}
.layer3 {
    background-image: url('../img/homepage/banner-mojito/banner.jpg');
}
.layer4 {
    background-image: url('../img/homepage/banner-blue-lagon/banner.jpg');
}

/******/



.scene {
    clip-path: ellipse(100% 55% at 50% 34%);
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    min-height: 1000px;
    position: relative;
}

.scene .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

@media only screen and (max-width: 1350px) {
    .scene .bg {
        background-position: 55% center;
    }
}

.scene .bg.active {
    opacity: 1;
    z-index: 0;
}

.custom-slider {
    position: absolute;
    right: 60px;
    bottom: calc(50% - 200px);
    width: 360px;
    height: 455px;
}

/* Skryjeme originální input */
.custom-slider input[type="range"] {
    position: absolute;
    width: 360px;
    height: 455px;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    z-index: 3; /* pro zachycení kliknutí */
}

.custom-slider #thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 268px;
    height: 455px;
    cursor: pointer;
    transition: left 0.8s ease;

}

.scene .thumb-drink {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.scene .thumb-drink.active {
    opacity: 1;
    z-index: 0;
}

@media screen and (min-width: 870px) {
    .custom-slider:hover .thumb-drink:nth-child(1) {
        content: url("/img/homepage/banner-margarita/drink-outline.png");
    }

    .custom-slider:hover .thumb-drink:nth-child(2) {
        content: url("/img/homepage/banner-beach/drink-outline.png");
    }

    .custom-slider:hover .thumb-drink:nth-child(3) {
        content: url("/img/homepage/banner-mojito/drink-outline.png");
    }

    .custom-slider:hover .thumb-drink:nth-child(4) {
        content: url("/img/homepage/banner-blue-lagon/drink-outline.png");
    }
}
.custom-slider #thumb:before,
.custom-slider #thumb:after {
    opacity: 0;
    transition: opacity 0.4s ease;
    content: "";
    width: 45px;
    height: 45px;
    background-image: url("../img/homepage/arrow.svg");
    background-size: 100%;
    position: absolute;
    top: calc(50% + 24px);
    filter: invert(1) brightness(2);
}

.custom-slider #thumb:before {
    transform: scaleX(-1);
    left: 25px;
}

.custom-slider #thumb:after {
    right: 25px;
}

.scene .hero .container:hover #thumb:before,
.scene .hero .container:hover #thumb:after {
    opacity: 1;
}

.scene .hero .container #thumb.first:before {
    opacity: 0;
}

.scene .hero .container #thumb.last:after {
    opacity: 0;
}

/* respo drink-header */
@media only screen and (max-width: 870px) {
    body {
        overflow-x: hidden;
    }

    .hero__content {
        margin: 0 auto;
        text-align: center;
    }

    .hero__buttons {
        flex-direction: column
    }

    .hero__buttons .button--primary {
        margin-right: 0;
    }

    .hero__buttons {
        margin-top: 410px;
    }

    .scene {
        height: 100%;
    }

    .gradient-img {
        margin-top: 230px;
    }

    .gradient-jpg {
        left: -30%;
    }

    .custom-slider {
        right: 0;
        width: 100%;
    }

    .custom-slider input#slider {
        display: none;
    }

    .custom-slider #thumb:before,
    .custom-slider #thumb:after {
        display: none;
    }

    .custom-slider #thumb {
        left: auto !important;
        right: 0;
        width: 100%;
        transform: translate(-10%, -50%);
    }
}

@media only screen and (max-width: 650px) {
    .hero h1 {
        font-size: 70px;
        margin-top: -30px;
    }

    .hero-under-h1 {
        font-size: 30px;
        margin-bottom: 0px;
    }

    .hero p {
        margin-top: 1rem;
    }

    .scene::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 200px;
        background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
        z-index: 1;
        pointer-events: none;
    }
}

/* countdown */
#countdown {
    display: flex;
    gap: 45px;
    margin-bottom: 70px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#countdown > div {
    color: #fff;
    text-align: center;
}

#countdown .hodnota {
    font-family: BebasNeue;
    font-weight: 400;
    font-size: 70px;
    line-height: 70px;
}

#countdown .jednotka {
    font-family: BebasNeue;
    font-weight: 400;
    font-size: 30px;
}

.do-leta-zbyva {
    margin-bottom: 15px;
}

@media screen and (max-width: 870px) {
    #countdown {
        justify-content: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    #countdown .hodnota {
        font-size: 60px;
        line-height: 60px;
    }

    #countdown .jednotka {
        font-size: 25px;
    }
}

/* drink slider */
.alko-drinky,
.nealko-drinky {
    background-color: #EEFAFF;
    position: relative;
    z-index: 10;
}

.alko-drinky .badge {
    float: left;
    margin-right: 60px;
    transform: translateY(50%);
}

.nealko-drinky .badge {
    float: right;
    margin-left: 60px;
    transform: translateY(50%);
}

.drink-box {
    display: block !important;
    height: 780px;
    padding-bottom: 2rem;
    padding-top: 100px;
    scroll-snap-align: start;
    text-align: center;
    max-width: 250px;
    margin: 0 auto;
}

.drink-box img {
    align-self: end;
    height: 350px;
    margin-inline: auto;
    object-fit: contain;
    transform-origin: bottom;
    transition: transform .25s ease-in-out;
}


.drink-box:hover img {
    transform: scale(1.3);
}


.drink-box h3 {
    font-size: 1.875rem;
}

.drink-box:hover .product__description {
    font-size: 1rem;
    opacity: 1;
}
.drink-box .product__description {
    font-size: .625rem;
    font-weight: 700;
    line-height: 140%;
    opacity: 0.5;
}

/* slick sipky */
.custom-arrows {
    position: relative;
}

.custom-arrows .arrow-prev-css,
.custom-arrows .arrow-next-css {
    z-index: 999;
    border: none;
    background: none;
    cursor: pointer;
    opacity: 0.5;
}

.custom-arrows .arrow-prev-css:hover,
.custom-arrows .arrow-next-css:hover {
    opacity: 1;
}

.custom-arrows .arrow-prev-css {
    position: absolute;
    top: 378px;
    transform: scaleX(-1);
    width: 45px;
    height: 45px;
    background-image: url("../img/homepage/arrow.svg");
    background-size: 100%;
    margin-left: 20px;
}

.custom-arrows .arrow-next-css {
    position: absolute;
    right: 0;
    top: 378px;
    width: 45px;
    height: 45px;
    background-image: url("../img/homepage/arrow.svg");
    background-size: 100%;
    margin-right: 20px;
}

.nealko-drinky .custom-arrows .arrow-next-css {
    right: 740px;
}

@media only screen and (max-width: 1400px) {
    .alko-drinky .badge,
    .nealko-drinky .badge{
        transform: translateY(111%);
        width: 400px;
    }

    .nealko-drinky .custom-arrows .arrow-next-css {
        right: 450px;
    }
}

@media only screen and (max-width: 980px) {
    .alko-drinky .badge,
    .nealko-drinky .badge {
        display: block;
        float: none;
        margin: 0 auto;
        transform: none;
    }

    .nealko-drinky .custom-arrows .arrow-next-css {
        right: 0;
    }
}

@media only screen and (max-width: 440px) {
    .alko-drinky .badge,
    .nealko-drinky .badge {
        padding-left: 15px;
        padding-right: 15px;
    }
}