/**
 * Estilos mejorados para la página de contacto
 * Gestión dinámica desde el admin
 */

.contacto-page {
    background: #f8f9fa;
}

.contact-hero {
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    color: white;
    padding: 4rem 0 !important;
}

.contact-hero h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.contact-hero .lead {
    font-size: 1.2rem;
    opacity: 0.95;
}

.contact-info {
    padding: 4rem 0;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.contact-icon {
    display: inline-block;
}

.contact-icon i {
    color: #8B0000;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon i {
    transform: scale(1.1);
}

.contact-item h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-item a {
    color: #8B0000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #660000;
    text-decoration: underline;
}

/* Formulario de contacto */
.contact-form-section {
    padding: 4rem 0;
    background: white;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-form-container h2 {
    color: #8B0000;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #8B0000;
    box-shadow: 0 0 0 0.2rem rgba(139, 0, 0, 0.1);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.contact-form .form-check-input:checked {
    background-color: #8B0000;
    border-color: #8B0000;
}

/* Información adicional */
.additional-info {
    padding: 4rem 0;
}

.additional-info h3 {
    color: #8B0000;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.schedule-list {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item .day {
    font-weight: 600;
    color: #333;
}

.schedule-item .time {
    color: #8B0000;
    font-weight: 600;
}

/* Redes sociales */
.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    font-weight: 600;
}

.social-link:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    color: white;
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.whatsapp:hover {
    background: #25d366;
}

.social-link i {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: white;
}

.faq-section h2 {
    color: #8B0000;
    font-weight: 700;
    margin-bottom: 3rem;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.accordion-button {
    font-weight: 600;
    color: #333;
    background: white;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    color: #666;
    line-height: 1.7;
    background: #f8f9fa;
}

/* Notificaciones */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    font-weight: 600;
}

.notification-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-toast.alert-success {
    background: linear-gradient(135deg, #28a745 0%, #20923d 100%);
    color: white;
    border: none;
}

.notification-toast.alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
}

/* Botón de edición para admin */
.admin-edit-link {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 0 !important;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero .lead {
        font-size: 1rem;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .contact-info,
    .additional-info,
    .faq-section {
        padding: 3rem 0;
    }
    
    .notification-toast {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .social-link {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-form .btn-primary {
        width: 100%;
        padding: 1rem;
    }
}
