@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    /* Gradientul tău de fundal */
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    line-height: 1.6;
    color: #333;
    /* Aici este spațiul lăsat de la marginea de sus: */
    padding-top: 5rem; 
    padding-bottom: 5rem;
    min-height: 100vh;
}

/* Containerul principal stilizat modern */
.container {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease-out;
    position: relative;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

h1, h2, h3 { 
    text-align: center; 
    color: #1a1a1a; 
    margin-bottom: 1.5rem;
    font-weight: 700;
}

a { text-decoration: none; color: inherit; }

/* Grila și Cardurile de Eveniment (bazate pe designul tău .card) */
.events-grid { 
    display: flex; 
    gap: 2rem; 
    flex-wrap: wrap; 
    justify-content: center; 
    margin-top: 2rem; 
}

.event-card {
    width: clamp(200px, 40%, 280px);
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #3366cc;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.event-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.event-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-bottom: 2px solid #3366cc;
    transition: filter 0.4s ease;
}

.event-card:hover img {
    filter: brightness(110%);
}

.event-card h3 {
    padding: 1.5rem 1rem;
    margin: 0;
    font-size: 1.2rem;
    color: #3366cc;
}

/* Pagina Eveniment */
.event-details { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 30px; }
.event-info { flex: 1; min-width: 300px; font-size: 1.1rem; }
.event-image { flex: 1; min-width: 300px; text-align: center; }
.event-image img { 
    max-width: 100%; 
    border-radius: 1.5rem; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}

/* Butoane (Aici am pus designul tău pt .cta-button) */
.btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

/* Formularul modernizat */
form { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    max-width: 500px; 
    margin: auto; 
    margin-top: 20px; 
}

input, select, textarea { 
    padding: 15px; 
    border: 1px solid rgba(0,0,0,0.1); 
    border-radius: 10px; 
    font-size: 1rem; 
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3366cc;
    box-shadow: 0 0 10px rgba(51, 102, 204, 0.2);
    background-color: #fff;
}

table { width: 100%; border-collapse: collapse; margin-top: 20px; }
td, th { padding: 15px; border-bottom: 1px solid #eee; }