/* ANIMATIONS */

@keyframes slide-in-left {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    75% {
        transform: translateX(5%);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    75% {
        transform: translateX(-5%);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* HERO CSS */

.hero {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 25%;
    scale: 100%;
    z-index: -1;
}

.hero-background img{
    width: 100%;
}

.hero-img {
    height: 100vh;
}

.hero-text {
    font-size: 8em;
    font-weight: 800;
    position: absolute;
    text-align: center;
    z-index: -1;
    top: 15%;
}

.hero-text-outline {
    font-size: 8em;
    font-weight: 800;
    position: absolute;
    text-align: center;
    -webkit-text-stroke-width: 3px;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-color: #fff;
    z-index: 2;
    top: 15%;
}

.hero-text .top-line {
    display: block;
    animation: slide-in-left 1s ease-out forwards;
}

.hero-text .bottom-line {
    display: block;
    animation: slide-in-right 1s ease-out forwards;
}

.hero-text-outline .top-line {
    display: block;
    animation: slide-in-left 1s ease-out forwards;
}

.hero-text-outline .bottom-line {
    display: block;
    animation: slide-in-right 1s ease-out forwards;
}

.hero-btn {
    position: absolute;
    z-index: 5;
    padding: 10px 20px;
    color: #000;
    text-decoration: none;
    background: #fff;
    border: solid 2px #000;
    top: 60%;
    font-size: 1.2em;
    transition: 0.3s ease-in-out;
}

.hero-btn:hover {
    color: #fff;
    background: #000;
}

/* HERO TEXT MEDIA QUERIES */

@media (max-width: 1245px) {
    .hero-text,
    .hero-text-outline {
        font-size: 6em;
    }

    .hero-btn {
        top: 50%;
    }
}

@media (max-width: 953px) {
    .hero-text,
    .hero-text-outline {
        font-size: 4em;
        top: 25%;
        -webkit-text-stroke-width: 1px;
    }

    .hero-btn {
        top: 50%;
    }
    
    .hero-background{
        scale: 200%;
    }
}

@media (max-width: 619px) {
    .hero-text,
    .hero-text-outline {
        font-size: 2.5em;
        top: 25%;
        -webkit-text-stroke-width: 0.5px;
    }

    .hero-img{
        height: 100vh;
    }

    .hero-btn {
        top: 45%;
        margin-top: 5px;
    }

    .hero-background{
        scale: 275%;
    }
}


/* COLLECTIONS CSS */

.collections{
    height: 100%;
    border-top: solid 20px #000;
    font-family: var(--header-font);
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 50px 0 50px;
    font-size: 2em;
    margin-bottom: 70px;
}

.collections h2{
    margin-bottom: 50px;
}

.collection-cards{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.collection-card{
    width: 400px;
    height: 642px;
    position: relative;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    overflow: hidden;
    background: #fff;
}

.collection-card:hover .collection-card-title{ 
    background-color: #000;
    color: #fff;
}

.collection-card:hover .collection-card-img{
    scale: 104%;
}

.collection-card-title{
    padding: 10px;
    background-color: #fff;
    width: 100%;
    transition: 0.3s ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
}

.collection-card-img{
    max-height: 570px;
    transition: 0.3s ease-in-out;
    
}

@media (max-width: 425px){
    .collection-card{
        width: 300px;
        height: 600px;
    }
}


/* BONUSES */

.bonuses{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-basis: 50%;
    gap: 30px;
    width: 100vw;
    height: fit-content;
    padding: 2em;
    background-color: #e0e0e0;
}

.bonus{
    display: flex;
    max-width: 400px;
    height: 120px;
    gap: 30px;
}

.bonus-icon img{
    width: 50px;
}

.bonus-title{
    text-transform: uppercase;
    font-weight: 600;
}

.bonuses-swiper{
    width: 100vw;
    display: none;
}

.slider {
    position: relative;
    width: 100vw;
    overflow: hidden;
    background: #fff;
    user-select: none;
}

.slides{
    display: flex;
    transition: transform 0.4s ease;
}

.slide{
    width: 100%;
    min-width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
}

.pagination{
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background: #e0e0e0;
}

.dot{
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active{
    background: #333;
}

@media (max-width: 944px){
    .bonuses{
        display: none;
    }

    .bonuses-swiper{
        display: block;
    }
}