/*
 * Base Styles and Typography V2
 */
body {
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ecf0f1;
    color: #2c3e50;
    line-height: 1.6;
    box-sizing: border-box;
    overflow-y: auto;
}

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

/*
 * Hero Section for Contact Page
 */
.hero-contact {
    position: relative;
    background: linear-gradient(135deg, #3004E1, #A601B3);
    color: #ecf0f1;
    padding: 80px 20px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1;
}

.hero-contact h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    margin: 0 0 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-contact p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/*
 * Main Content Section
 */
.content-section {
    padding: 50px 0;
    text-align: center;
}

.content-section h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.8em;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

/*
 * Contact Form Styles
 */
.contact-form-container {
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
}

.contact-form-container:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    font-weight: 500;
    color: #2c3e50;
    margin-top: 5px;
    font-size: 0.95em;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1 1 45%;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1em;
    box-sizing: border-box;
    background-color: #fcfcfc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3004E1;
    box-shadow: 0 0 0 4px rgba(166, 1, 179, 0.25);
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 18px;
    background-color: #3004E1;
    color: #ecf0f1;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-form button:hover {
    background-color: #A601B3;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Alert and Error Message Styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: -10px;
    margin-bottom: 5px;
    display: block;
}

.contact-info {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
    color: #555;
}

.contact-info a {
    color: #3004E1;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-media {
    padding: 60px 0;
    text-align: center;
}

.social-media h2 {
    font-size: 2.5em;
    color: #3004E1;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-links a {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #34495e;
    position: relative;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.social-links img {
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    filter: brightness(0) invert(1);
}

.social-links a.facebook:hover {
    background-color: #3b5998;
}

.social-links a.instagram:hover {
    background-color: #e1306c;
}

.social-links a.tiktok:hover {
    background-color: #000;
}

.social-links a.spotify:hover {
    background-color: #1DB954;
}

/* Google Map Section */
.google-map-section {
    background: linear-gradient(135deg, #3004E1, #A601B3);
    color: #ecf0f1;
    padding: 80px 0;
    text-align: center;
    margin-top: 50px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.google-map-section h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.google-map-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

.map-container {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    margin: 0 auto;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-contact {
        padding: 60px 15px;
    }

    .hero-contact h1 {
        font-size: 2.5em;
    }

    .hero-contact p {
        font-size: 1.1em;
    }

    .contact-form-container {
        padding: 25px;
    }

    /* Cambio clave: los campos de formulario se apilan en una sola columna */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        width: 100%;
    }

    .social-links {
        gap: 15px;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 20px;
    }

    .contact-form button {
        padding: 15px;
    }
}