/* ============================================
   CONTACTO SECTION - ELISAY CODE
   Estilos para la sección de contacto y formulario
   ============================================ */

.contacto {
    background: var(--second-bg-color);
}

/* ========== Contacto Container ========== */
.contacto-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== Contacto Form ========== */
.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ========== Form Group ========== */
.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem 1.5rem 1.5rem 5rem;
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(0, 217, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--main-color);
    background: rgba(26, 31, 58, 0.8);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.form-group i {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--main-color);
    pointer-events: none;
}

.form-group textarea + i {
    top: 2rem;
    transform: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ========== Submit Button ========== */
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: var(--gradient-1);
    border: none;
    border-radius: var(--radius-xl);
    color: white;
    font-size: 1.7rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========== Contacto Info ========== */
.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: rgba(26, 31, 58, 0.6);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--main-color);
    transition: var(--transition-normal);
}

.info-item:hover {
    background: rgba(26, 31, 58, 0.8);
    transform: translateX(10px);
}

.info-item i {
    font-size: 2.5rem;
    color: var(--main-color);
    margin-top: 0.5rem;
    min-width: 2.5rem;
}

.info-item div {
    flex: 1;
}

.info-item h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: var(--font-weight-semibold);
}

.info-item p,
.info-item a {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    line-height: var(--line-height-normal);
}

.info-item a:hover {
    color: var(--main-color);
}

/* ========== Responsive Contacto ========== */
@media (max-width: 991px) {
    .contacto-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 450px) {
    .form-group input,
    .form-group textarea {
        padding: 1.2rem 1.2rem 1.2rem 4.5rem;
    }
    
    .form-group i {
        left: 1.5rem;
        font-size: 1.8rem;
    }
    
    .info-item {
        padding: 1.5rem;
        gap: 1.5rem;
    }
}
