/* styles/screen1.css - Splash Screen Specific Styles */

/* Screen 1 - Full Resolution Splash Design */
#screen1 {
    background: #273143;
    /* Replace with your actual background image */
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 0;
    display: block;
    transition: opacity 0.8s ease; /* Slower fade for screen1 */
}

/* Decorative Ellipses - Background Elements with Float Animation */
#screen1::before {
    content: '';
    position: absolute;
    width: 359px;
    height: 359px;
    left: -98px;
    top: -74px;
    background: radial-gradient(circle, rgba(255, 252, 248, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}



#screen1::after {
    content: '';
    position: absolute;
    width: 488px;
    height: 437px;
    left: -76px;
    top: 494px; 
    background: radial-gradient(circle, rgba(255, 252, 248, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite reverse;
}

/* Float Animation for Background Elements */
@keyframes float {
    0%, 100% { 
        transform: translate(0, 0); 
    }
    50% { 
        transform: translate(10px, -10px); 
    }
}

/* Logo Section - Centered Content */
.logo-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    padding: 0 20px;
    animation: logoFadeInUp 1s ease;
}

/* Logo Section Animation */
@keyframes logoFadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.s1-logo-img {
    width: 187px; /* Width of the logo from Figma */
    height: auto;
    margin-bottom: 25px;
}

@keyframes expandWidth {
    from { 
        width: 0; 
    }
    to { 
        width: 55px; 
    }
}

/* Subtitle Text */
.subtitle {
    font-family: 'Montserrat Alternates';
    font-weight: 600;
    font-size: clamp(18px, 5vw, 25px);
    line-height: 1.2;
    color: #FFFFFF;
    max-width: 326px;
    margin: 0 auto;
    text-align: center;
    animation: subtitleFadeIn 0.8s ease 0.8s both;
}

@keyframes subtitleFadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

/* Screen 1 specific content styling override */
#screen1 .screen-content {
    position: static;
    background: transparent;
    box-shadow: none;
    margin: 0;
    max-width: none;
    width: 100%;
}

/* Mobile Responsive for Screen 1 */
@media (max-width: 480px) {
    .logo-section {
        padding: 0 20px;
        max-width: 320px;
    }
    
    .logo-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .subtitle {
        font-size: 16px;
        max-width: 280px;
        line-height: 1.3;
    }
    
    .logo-underline {
        width: 45px;
        height: 2px;
        margin-bottom: 20px;
    }
    
    /* Adjust ellipses for mobile */
    #screen1::before {
        width: 280px;
        height: 280px;
        left: -120px;
        top: -100px;
    }
    
    #screen1::after {
        width: 380px;
        height: 340px;
        left: -100px;
        bottom: -250px;
    }
}

@media (max-width: 360px) {
    .logo-title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 14px;
        max-width: 250px;
    }
}