/* contacto.css - Estilos del formulario */

body {
    /* Mismo fondo que la web principal para continuidad */
    background: radial-gradient(circle at 50% 10%, #1a2e1a 0%, #0f1115 60%);
    min-height: 100vh;
}

/* Enlace de volver en la navbar */
.nav-link-back {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link-back:hover {
    color: var(--text-white);
}

/* Contenedor central */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 100px 20px 40px; /* Padding superior para librar la navbar */
}

/* Tarjeta de Cristal del Formulario */
.contact-card {
    width: 100%;
    max-width: 550px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h1 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 10px;
}

.contact-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.highlight {
    color: var(--primary-green);
    font-weight: 600;
}

/* Estilos de los inputs */
.olyvo-form .form-group {
    margin-bottom: 20px;
}

.olyvo-form label {
    display: block;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    margin-left: 5px;
}

.olyvo-form input,
.olyvo-form select,
.olyvo-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-family);
    outline: none;
    transition: all 0.3s ease;
}

.olyvo-form select {
    cursor: pointer;
    /* Icono personalizado para select */
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%234CAF50%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8rem auto;
}

.olyvo-form textarea {
    resize: vertical; /* Permite cambiar alto pero no ancho */
    min-height: 120px;
}

/* Efecto Focus (Cuando escribes) */
.olyvo-form input:focus,
.olyvo-form select:focus,
.olyvo-form textarea:focus {
    border-color: var(--primary-green);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.15);
}

/* Botón Enviar */
.btn-submit {
    width: 100%;
    padding: 16px;
    margin-top: 10px;
    background: linear-gradient(180deg, rgba(76, 175, 80, 0.8) 0%, rgba(76, 175, 80, 1) 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

.btn-submit:active {
    transform: scale(0.98);
}

/* Móvil */
@media (max-width: 600px) {
    .contact-card {
        padding: 25px;
    }
}