/* Splash Screen Styles */
.splash-hidden #splash_screen {
    display: none !important;
}

#splash_screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1a1a1a;
    background-color: var(--herobackground);
    background-image: url('../Assets/Hero-images/HeroBG.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 70% 100%;
    animation: splash_screen 10s cubic-bezier(.67, .16, .38, .82) forwards;
    transform-origin: center center;
}

.splash_screen_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #ffffffd7;
    backdrop-filter: blur(10px);
}

@keyframes splash_screen {
    0% {
        background-position: 40% 100%;
    }

    100% {
        background-position: 70% 100%;
    }
}

#screen_1 {
    text-align: center;
}

.splash_content_container {
    width: 100%;
    max-width: 600px;
    padding: 0 40px;
    text-align: center;
    position: relative;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.splash_screen_content {
    position: absolute;
    width: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 15px;
    pointer-events: none;
    /* Deactivate by default */
}

.splash_screen_content.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Animations classes */
.fade-line {
    opacity: 0;
    transform: translateY(20px);
    margin: 0;
}

.splash_screen_content p {
    font-size: clamp(40px, 4vw, 35px);
    color: var(--herotext);
    font-weight: 200;
    max-width: 450px;
    line-height: 1;
}

.splash_screen_content h1 {
    font-size: clamp(60px, 8vw, 35px);
    color: var(--herotext);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 5px;
    line-height: 1;
}

.logo-screen img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
}

/* Buttons */
.splash-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    justify-content: center;
}

.splash-btn {
    padding: 16px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    letter-spacing: 0.5px;
    min-width: 140px;
}

.splash-btn-primary {
    background-color: var(--primary-light);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.splash-btn-primary:hover {
    background-color: #000;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.splash-btn-secondary {
    background-color: var(--secondary);
    border: 1.5px solid #eee;
    color: #1a1a1a;
}

.splash-btn-secondary:hover {
    border-color: #1a1a1a;
    transform: translateY(-4px);
}

.splash_close {
    margin-top: 40px;
}

/* Transitions */
#splash_screen.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* Responsiveness */
@media (max-width: 680px) {
    .splash-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .splash-btn {
        width: 100%;
    }
}