/* Estilos generales */
.contact-header {
    background: linear-gradient(rgba(0, 119, 182, 0.9), rgba(0, 119, 182, 0.8)),
                url('https://images.alphacoders.com/131/1311351.jpeg');
    background-size: cover;
    background-position: center;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-top: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo {
    width: 180px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.contact-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    color: #0077b6;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.contact-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,119,182,0.1);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,119,182,0.15);
    border-left: 4px solid #FF6B35;
}

.icon-container {
    background: #FF6B35;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(255,107,53,0.25);
}

.contact-detail h3 {
    color: #0077b6;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-detail p, .contact-detail a {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-detail a:hover {
    color: #FF6B35;
    text-decoration: underline;
}

.social-media-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,119,182,0.1);
}

.social-media-container h3 {
    color: #0077b6;
    margin-bottom: 1.2rem;
    text-align: center;
    font-size: 1.3rem;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0077b6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,119,182,0.2);
}

.social-label {
    color: #555;
    font-size: 0.9rem;
    font-weight: bold;
}

.social-icon:hover i {
    background: #FF6B35;
    transform: scale(1.1) rotate(5deg);
}

.social-icon:hover .social-label {
    color: #FF6B35;
}

.map-container {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,119,182,0.1);
    margin-top: 1.5rem;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,119,182,0.1);
    margin-bottom: 2rem;
}

.contact-form h3 {
    color: #0077b6;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
    position: relative;
}

.contact-form h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0077b6, #FF6B35);
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: bold;
}

input, textarea, select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255,107,53,0.2);
}

.submit-btn {
    background: linear-gradient(135deg, #FF6B35, #FF8E53);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(255,107,53,0.2);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255,107,53,0.3);
}

.inspiration-banner {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,119,182,0.1);
    height: 250px;
}

.inspiration-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.inspiration-banner:hover .inspiration-image {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 119, 182, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 2rem;
    text-align: center;
}

.banner-overlay h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-overlay p {
    font-size: 1.2rem;
    max-width: 600px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.contact-testimonial {
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,119,182,0.1);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    color: #FF6B35;
    font-size: 1.5rem;
    opacity: 0.5;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: #555;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    margin-right: 1rem;
    background-image: url('https://randomuser.me/api/portraits/women/65.jpg');
    background-size: cover;
    background-position: center;
}

.author-name {
    font-weight: bold;
    color: #0077b6;
    margin-right: 1rem;
}

.testimonial-stars {
    color: #FFD700;
    margin-left: auto;
}

.contact-footer {
    background: #0077b6;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* Ajustes para el menú activo */
.menu-content li.active .material-symbols-outlined {
    background: #FF6B35;
    color: white;
    box-shadow: 0 0 15px rgba(255,107,53,0.3);
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-interactive {
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .inspiration-banner {
        height: 200px;
    }
    
    .banner-overlay h3 {
        font-size: 1.5rem;
    }
    
    .banner-overlay p {
        font-size: 1rem;
    }
    
    .social-icon i {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .social-media {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    .social-icon {
        margin-bottom: 1rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .icon-container {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}