/* 
   ==========================================================================
   GLOBAL RESET & BASE STYLES
   ========================================================================== 
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 
   ==========================================================================
   LANDING PAGE (index.php)
   ========================================================================== 
*/
.main-container {
    min-height: 100vh;
    background: radial-gradient(circle at center, #003366 0%, #001a4d 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    flex-wrap: wrap;
}

/* Left Section */
.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 300px;
}

.logo-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

.main-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.illustration-wrapper {
    width: 100%;
    max-width: 500px;
    position: relative;
}

.runners-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Right Section */
.right-section {
    flex: 1;
    min-width: 300px;
}

.event-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 3rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    background: linear-gradient(to right, #fff, #00aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: #00aaff; /* Fallback */
}

/* Buttons Grid */
.buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.action-btn:hover {
    background: linear-gradient(135deg, #0056b3, #003366);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.4);
    border-color: transparent;
}

/* Social Footer */
.social-footer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    padding-bottom: 2rem;
}

.social-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.8rem;
    transition: all 0.3s;
}

.social-icon:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Animations */
.slide-in-left {
    animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 1s ease-out forwards;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .left-section, .right-section {
        width: 100%;
    }

    .logo-wrapper {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .event-title {
        font-size: 2rem;
    }
    
    .buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .main-logo {
        width: 100px;
        height: 100px;
    }
}
