@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
}

.container {
    max-width: 70rem;
    padding: 0 2rem;
    margin: 0 auto;
}

header {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

header:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 25;
}

.big-title {
    position: absolute;
    z-index: 30;
    line-height: 4rem;
    top: calc(50% - 2rem);
    width: 100%;
    text-align: center;
    font-size: 5rem;
    font-weight: 600;
    color: #fff;
}

section {
    width: 100%;
    background-color: #151515;
    position: relative;
}

section .container {
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

section img {
    width: 100%;
}

section .container>* {
    margin: 2rem;
}

.content {
    color: #fff;
    transform: translateY(0);
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.shadow {
    position: absolute;
    bottom: 100%;
    height: 300px;
    width: 100%;
    left: 0;
    z-index: 20;
    background: linear-gradient(to top, #151515, transparent);
}

.opacity {
    opacity: 0;
}

.text {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 100%;
}

/* Footer */
#footer {
    background-color: #000000;
    border-top: 2px solid #ffffff;
}

#footer .footer {
    min-height: 50px;
    flex-direction: column;
    padding: 12px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#footer p {
    color: white;
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

#footer .powered-by {
    font-size: 0.8rem;
    opacity: 0.7;
}

#footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease, color 0.3s ease;
}

#footer a:hover {
    opacity: 1;
    color: #f0f0f0;
    text-decoration: underline;
}

/* End Footer */

/* Modern Slideshow Styles */
.modern-slideshow {
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: black;
    z-index: 5;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.slide.prev {
    transform: translateX(-100%);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 3rem 2rem 2rem;
    transform: translateY(100%);
    transition: transform 0.6s ease;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Progress Bar */
.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress {
    height: 100%;
    background: black;
    width: 0%;
    transition: width 0.1s linear;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-slideshow {
        height: 100dvh;
        margin: 0;
        border-radius: 0;
    }

    .slide-content {
        padding: 2rem 1.5rem 1.5rem;
    }

    .slide-content h3 {
        font-size: 1.4rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }

    .nav-btn svg {
        width: 16px;
        height: 16px;
    }

    .prev-btn {
        left: 15px;
    }

    .next-btn {
        right: 15px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .modern-slideshow {
        height: 100dvh;
        border-radius: 0;
    }

    .slide-content h3 {
        font-size: 1.2rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 850px) {
    section .container {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 600px) {
    .big-title {
        font-size: 3rem
    }

    .text {
        font-size: .8rem;
    }
}