/* --- Reseteo Básico y Variables --- */
:root {
    --primary-color: #e53935; /* Un rojo rockero */
    --dark-color: #121212;
    --light-color: #f4f4f4;
    --grey-color: #333;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-color);
    color: var(--light-color);
    background-image: url('https://images.unsplash.com/photo-1524368535928-5b5e00ddc76b?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    line-height: 1.6;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.85); /* Overlay más oscuro para legibilidad */
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeIn 1.5s ease-in-out;
}

/* --- Header y Tipografía --- */
.logo {
    font-family: var(--font-heading);
    font-size: 5rem;
    letter-spacing: 3px;
    color: var(--light-color);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.logo span {
    color: var(--primary-color);
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-top: -1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.subtitulo {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* --- Cuenta Regresiva --- */
.countdown-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: normal;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.time-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    min-width: 90px;
    border: 1px solid var(--grey-color);
}

.time-box span {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
}

.time-box small {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Formulario de Contacto --- */
.contact-section p {
    margin-bottom: 1.5rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    gap: 1rem;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--grey-color);
    border-radius: 5px;
    color: var(--light-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#contact-form input::placeholder, #contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#contact-form input:focus, #contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(229, 57, 53, 0.5);
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-submit:hover {
    background-color: #c62828; /* Rojo más oscuro */
    transform: scale(1.05);
}

.form-message {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 5px;
    display: none; /* Se mostrará con JS */
}

.form-message.success {
    background-color: rgba(46, 125, 50, 0.8);
    color: #fff;
    display: block;
}

.form-message.error {
    background-color: rgba(211, 47, 47, 0.8);
    color: #fff;
    display: block;
}

/* --- Footer y Redes Sociales --- */
footer {
    margin-top: 2.5rem;
    border-top: 1px solid var(--grey-color);
    padding-top: 1.5rem;
}

.social-icons {
    margin: 1rem 0;
}

.social-icons a {
    color: var(--light-color);
    font-size: 1.5rem;
    margin: 0 0.75rem;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.copyright {
    font-size: 0.8rem;
    color: #aaa;
}

/* --- Animaciones y Responsividad --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .logo { font-size: 4rem; }
    h2 { font-size: 2rem; }
    .form-group { flex-direction: column; }
}

@media (max-width: 480px) {
    .container { padding: 1rem; }
    .logo { font-size: 3rem; }
    h2 { font-size: 1.5rem; }
    .countdown { gap: 0.5rem; }
    .time-box { min-width: 70px; padding: 0.5rem; }
    .time-box span { font-size: 2rem; }
}