/* ============================================
   SPLASH SCREEN - Profesionálny dizajn
   Advokátska kancelária SR
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    overflow: hidden;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* ============================================
   SPLASH CONTAINER
   ============================================ */
.splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-in-out;
}

.splash-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   BACKGROUND IMAGE
   ============================================ */
.splash-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.splash-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(20%) brightness(0.6);
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* ============================================
   OVERLAY
   ============================================ */
.splash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(17, 24, 39, 0.90) 0%,
        rgba(31, 41, 55, 0.82) 50%,
        rgba(17, 24, 39, 0.92) 100%
    );
    z-index: 1;
}

/* ============================================
   CONTENT
   ============================================ */
.splash-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    max-width: 900px;
    width: 100%;
}

/* ============================================
   LOGO
   ============================================ */
.splash-logo {
    margin-bottom: 50px;
    animation: fadeInDown 1.2s ease-out;
}

.logo-animation {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.2));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.2));
    }
    50% {
        filter: drop-shadow(0 15px 40px rgba(255, 255, 255, 0.4));
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TEXT CONTENT
   ============================================ */
.splash-text {
    margin-bottom: 60px;
}

.splash-title {
    font-size: 2.8rem;
    font-weight: 300;
    color: #FFFFFF;
    letter-spacing: 2px;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 4px 15px rgba(0, 0, 0, 0.6);
}

.splash-divider {
    width: 0;
    max-width: 180px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    margin: 30px auto;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: expandFromCenter 3s ease-out 0.8s forwards;
}

@keyframes expandFromCenter {
    from {
        width: 0;
    }
    to {
        width: 180px;
    }
}

.splash-subtitle {
    font-size: 1.6rem;
    color: #C0C0C0;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0.65;
}

.splash-tagline {
    font-size: 1.3rem;
    color: #EEEEEE;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 25px;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Fade In Animations */
.fade-in-up {
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.fade-in-up-delay {
    animation: fadeInUp 1.2s ease-out 0.6s both;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 1.2s ease-out 0.9s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .splash-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .splash-subtitle {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .splash-tagline {
        font-size: 1rem;
    }

    .logo-animation {
        max-width: 150px;
    }

    .splash-enter-btn {
        padding: 14px 40px;
        font-size: 1rem;
    }

    .splash-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .splash-title {
        font-size: 1.4rem;
    }

    .splash-subtitle {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }

    .splash-tagline {
        font-size: 0.9rem;
    }

    .logo-animation {
        max-width: 120px;
    }

    .splash-loader {
        max-width: 280px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
