/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #003d82 0%, #0066cc 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.logo-container h1 {
    color: #003d82;
    font-size: 1.8em;
    margin-bottom: 5px;
}

.subtitle {
    color: #666;
    font-size: 1em;
}

.admin-link {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #666;
    color: white;
    padding: 4px 8px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 0.8em;
    transition: background-color 0.3s ease;
}

.admin-link:hover {
    background-color: #444;
}

/* Events Container */
.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Event Card Styles */
.event-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.65);
    z-index: 0;
    /* backdrop-filter: blur(2px); */
}

.event-card > * {
    position: relative;
    z-index: 1;
}

.event-card:hover:not(.disabled) {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.event-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.event-card h2 {
    color: #003d82;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-shadow: 
        2px 2px 4px rgba(255, 255, 255, 0.9),
        -2px -2px 4px rgba(255, 255, 255, 0.9),
        2px -2px 4px rgba(255, 255, 255, 0.9),
        -2px 2px 4px rgba(255, 255, 255, 0.9);
    font-weight: bold;
}

.event-details {
    margin-bottom: 30px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 10px;
    /* backdrop-filter: blur(2px); */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.event-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    color: #222;
    font-size: 1.1em;
    text-shadow: 
        1px 1px 2px rgba(255, 255, 255, 0.9),
        -1px -1px 2px rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.event-detail strong {
    color: #003d82;
    margin-right: 8px;
    font-weight: bold;
}

.disabled-badge {
    background-color: #ffc107;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Button Styles */
.btn-register {
    background: linear-gradient(135deg, #0066cc 0%, #003d82 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 1.3em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.btn-register:active {
    transform: scale(0.98);
}

.btn-register.disabled {
    background: linear-gradient(135deg, #999 0%, #666 100%);
    cursor: not-allowed;
    pointer-events: none;
}

/* Footer */
footer {
    text-align: center;
    color: white;
    padding: 20px;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-container h1 {
        font-size: 1.8em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .events-container {
        grid-template-columns: 1fr;
    }
    
    .event-card h2 {
        font-size: 1.5em;
    }
    
    .btn-register {
        padding: 15px 40px;
        font-size: 1.1em;
    }
}
