/*
Theme Name: UEMJ Fest
Description: Professional minimal theme for UEMJ Festival
Version: 1.0
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: #181a20;
    color: #e0e0e0;
}

/* Landing Page Styles */
.landing-container {
    display: flex;
    height: 100vh;
    position: relative;
}

.split-section {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: flex 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    overflow: hidden;
}

/* Sports Section */

.sports-section {
    background: linear-gradient(135deg, #232946 0%, #393e5c 100%);
    color: #e0e0e0;
}

.sports-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('sportsfest/assets/Sports/football.webp') center/cover;
    opacity: 0.25;
    z-index: 1;
}

/* Tech Section */

.tech-section {
    background: linear-gradient(135deg, #23232f 0%, #34344a 100%);
    color: #e0e0e0;
}

.tech-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('techfest/images/others/hero.jpg') center/cover;
    opacity: 0.25;
    z-index: 1;
}

/* Section Content */
.section-content {
    text-align: center;
    z-index: 3;
    position: relative;
    padding: 2rem;
    max-width: 500px;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.logo-container {
    margin-bottom: 2rem;
}

.section-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(40, 40, 50, 0.3);
    padding: 1rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.section-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    line-height: 1.8;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: rgba(40, 40, 50, 0.7);
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(80, 80, 100, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: rgba(60, 60, 80, 0.9);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Hover Effects */
.split-section:hover {
    flex: 1.4;
}

.split-section:not(:hover) {
    flex: 0.6;
}

.split-section:hover .section-content {
    transform: translateY(-10px);
}

.split-section:hover .section-logo {
    transform: scale(1.1) rotate(5deg);
}

/* Section Overlay for Subtle Effects */
.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.split-section:hover .section-overlay {
    opacity: 1;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(40, 40, 50, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 15px 30px;
    border: 1px solid rgba(80, 80, 100, 0.3);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
}

.nav-title {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .split-section {
        min-height: 50vh;
        flex: none;
    }
    
    .split-section:hover {
        flex: none;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    .floating-nav {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 20px;
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .section-content {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .section-logo {
        width: 80px;
        height: 80px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content > * {
    animation: fadeInUp 0.8s ease forwards;
}

.section-content > *:nth-child(1) {
    animation-delay: 0.1s;
}

.section-content > *:nth-child(2) {
    animation-delay: 0.2s;
}

.section-content > *:nth-child(3) {
    animation-delay: 0.3s;
}

.section-content > *:nth-child(4) {
    animation-delay: 0.4s;
}

/* Footer Styles */
.site-footer {
    display: none;
}

/* Hide default header */
.site-header {
    display: none !important;
}

/* Loading State */
body:not(.loaded) .section-content > * {
    opacity: 0;
    transform: translateY(30px);
}

body.loaded .section-content > * {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Hover States */
.hover-active {
    transform: translateY(-15px) !important;
}

.active-section .section-logo {
    transform: scale(1.15) rotate(10deg) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.active-section .cta-button {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Improved Gradient Overlays */
.sports-section .section-overlay {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
}

.tech-section .section-overlay {
    background: linear-gradient(45deg, rgba(240, 147, 251, 0.3), rgba(245, 87, 108, 0.3));
}

/* Professional Typography */
.section-title {
    background: none;
    color: #e0e0e0;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}

/* Accessibility Improvements */
.split-section:focus {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: -3px;
}

.cta-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Performance Optimizations */
.split-section {
    will-change: flex;
}

.section-content {
    will-change: transform;
}

.section-logo {
    will-change: transform;
}