/* ===== VARIABLES CSS ===== */
:root {
    /* Paleta de colores exacta del template Bambino */
    --primary-color: #978379;      /* Color principal texto */
    --secondary-color: #ea5f8a;    /* Rosa vibrante botones */
    --accent-color: #ecdad5;       /* Beige claro navegación */
    --success-color: #C8E6C9;      /* Verde menta suave */
    --warning-color: #FFE0B3;      /* Melocotón suave */
    --info-color: #E1F5FE;         /* Azul hielo claro */
    --light-color: #fdfaf5;        /* Crema de fondo principal */
    --dark-color: #392b27;         /* Marrón oscuro texto sombras */
    --brown-medium: #74544c;       /* Marrón medio */
    --brown-dark: #48322c;         /* Marrón oscuro secciones */
    --beige-light: #d2c3bd;        /* Beige claro texto sobre oscuro */
    --beige-medium: #ede4d5;       /* Beige medio cajas */
    --brown-text: #67564e;         /* Marrón texto sobre beige */
    --burgundy: #661c34;           /* Burgundy para títulos */
    --burgundy-dark: #722224;      /* Burgundy oscuro */
    
    /* Colores de fondo */
    --bg-primary: rgba(72, 50, 44, 1);          /* Marrón oscuro secciones */
    --bg-secondary: rgba(234, 95, 138, 0.9);    /* Rosa con transparencia */
    --bg-accent: rgba(237, 228, 213, 0.95);     /* Beige claro cajas */
    --bg-light: rgba(253, 250, 245, 0.95);      /* Crema principal */
    
    /* Efectos glass */
    --glass-bg: rgba(253, 250, 245, 0.9);
    --glass-border: rgba(151, 131, 121, 0.2);
    --blur-effect: blur(8px);
    
    /* Fuentes */
    --font-primary: 'Varela Round', sans-serif;
    --font-secondary: 'Varela Round', sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    
    /* Bordes redondeados */
    --border-radius: 5px;
    --border-radius-lg: 7px;
}

/* ===== ESTILOS GENERALES ===== */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--primary-color);
    background: url('../images/bg_body.gif') repeat;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.wrapper-holder {
    padding: 0 28px 20px 28px;
    box-shadow: 0px 0px 35px 15px #ebe4d8;
    max-width: 1170px;
    position: relative;
    background: var(--light-color);
    overflow: hidden;
    margin: 0 auto;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--dark-color);
}

/* Texto legible sobre fondos claros y oscuros */
.text-on-light {
    color: var(--dark-color) !important;
}

.text-on-dark {
    color: var(--accent-color) !important;
    text-shadow: 1px 1px 2px var(--dark-color);
}

.main-content {
    min-height: calc(100vh - 80px);
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--light-color) !important;
    border-bottom: 2px solid var(--glass-border);
    box-shadow: 0 2px 35px 15px #ebe4d8;
    transition: all 0.3s ease;
    z-index: 1060;
    position: fixed;
    top: 0;
    width: 100%;
}

.navbar-brand {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--dark-color) !important;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    border-radius: 8px;
}

.brand-text {
    color: var(--dark-color);
}

.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: var(--bg-primary);
    color: var(--light-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    backdrop-filter: var(--blur-effect);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--brown-dark);
    overflow: hidden;
    margin-top: 76px;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(72, 50, 44, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px var(--dark-color);
}

.hero-content p {
    background: var(--bg-accent);
    color: var(--brown-text);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    display: inline-block;
    margin: 20px 0;
    font-weight: 500;
    box-shadow: var(--shadow-md);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(184, 212, 240, 0.3);
    display: flex;
    align-items: center;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--brown-dark) !important;
    padding: 6rem 0 4rem;
    margin-top: 140px;
    padding-top: 8rem;
    z-index: 1;
    position: relative;
}

.page-header h1 {
    color: var(--beige-light);
    text-shadow: 1px 1px 2px var(--dark-color);
}

/* ===== BOTONES ===== */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

/* Botón WhatsApp en header */
.btn-success {
    background: #1db318 !important;
    border-color: #1db318 !important;
    color: white !important;
}

.btn-success:hover {
    background: #168a14 !important;
    border-color: #168a14 !important;
    color: white !important;
}

/* Botón Facebook */
.btn-facebook {
    background: #1877F2 !important; /* azul Facebook */
    border-color: #1877F2 !important;
    color: #ffffff !important;
}

.btn-facebook:hover {
    background: #145DBF !important; /* azul más oscuro al hover */
    border-color: #145DBF !important;
    color: #ffffff !important;
}

/* Botón Instagram (plano) */
.btn-instagram {
    background: #E4405F !important; /* rosa Instagram plano */
    border-color: #E4405F !important;
    color: #ffffff !important;
}

.btn-instagram:hover {
    background: #CC3452 !important; /* más oscuro al hover */
    border-color: #CC3452 !important;
    color: #ffffff !important;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--secondary-color);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    line-height: 40px;
    text-align: center;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--brown-medium);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== TARJETAS ===== */
.card, .feature-card, .service-card, .testimonial-card, .event-card, .package-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
    background: var(--bg-accent);
    backdrop-filter: var(--blur-effect);
    border: 1px solid var(--glass-border);
    color: var(--brown-text);
}

.card:hover, .feature-card:hover, .service-card:hover, .testimonial-card:hover, .event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-effect);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.feature-icon i {
    color: var(--secondary-color);
}

/* ===== SERVICIOS ===== */
.service-preview-card {
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
}

.service-preview-card:hover {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-effect);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.service-icon i {
    transition: all 0.3s ease;
}

.service-preview-card:hover .service-icon i {
    transform: scale(1.2);
}

/* ===== PAQUETES ===== */
.package-card {
    position: relative;
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    z-index: 10;
}

.price-tag {
    margin: 1rem 0;
}

/* ===== GALERÍA ===== */
.gallery-filters .btn {
    margin: 0.25rem;
    border-radius: var(--border-radius-lg);
}

.gallery-filters .btn.active {
    background: var(--primary-color);
    color: var(--dark-color);
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-card img {
    transition: all 0.3s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

/* ===== TESTIMONIOS ===== */
.testimonial-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: var(--blur-effect);
    border: 1px solid var(--glass-border);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--secondary-color);
    font-family: serif;
    line-height: 1;
}

.stars i {
    color: #FFD700;
    margin-right: 0.2rem;
}

.testimonial-author img {
    border: 3px solid var(--primary-color);
}

/* ===== ESTADÍSTICAS ===== */
.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-family: var(--font-secondary);
}

/* ===== FORMULARIOS ===== */
.form-control, .form-select {
    border: 2px solid #E9ECEF;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(135, 206, 235, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* ===== ACORDEÓN ===== */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    background: var(--glass-bg);
    backdrop-filter: var(--blur-effect);
    border: 1px solid var(--glass-border);
}

.accordion-button {
    background: transparent;
    border: none;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-color);
    border-radius: var(--border-radius);
}

.accordion-button:not(.collapsed) {
    background: var(--bg-primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background: #1db318;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: var(--blur-effect);
    border: 2px solid var(--glass-border);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 8px 25px rgba(29, 179, 24, 0.6);
    background: #168a14;
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-primary) !important;
    backdrop-filter: var(--blur-effect);
    margin-top: 5rem;
    z-index: 1;
    position: relative;
}

footer h5 {
    color: var(--secondary-color);
    font-family: var(--font-secondary);
    text-shadow: 1px 1px 2px var(--dark-color);
}

footer p, footer a {
    color: white;
}

footer .social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

footer .social-links a:hover {
    transform: translateY(-3px);
    color: var(--secondary-color) !important;
}

/* ===== FONDOS CON EFECTOS GLASS ===== */
.bg-gradient-primary {
    background: var(--bg-primary) !important;
    backdrop-filter: var(--blur-effect);
    color: var(--beige-light) !important;
    z-index: 1;
    position: relative;
}

.bg-gradient-secondary {
    background: var(--bg-primary) !important;
    backdrop-filter: var(--blur-effect);
    color: white !important;
    z-index: 1;
    position: relative;
}

/* Sección '¿Listo para celebrar?' */
.celebration-section h3,
.celebration-section h2,
.celebration-section .display-4,
.celebration-section .display-5 {
    color: var(--secondary-color) !important;
}

.celebration-section {
    background: var(--bg-primary) !important;
}

.bg-gradient-success {
    background: rgba(200, 230, 201, 0.9) !important;
    backdrop-filter: var(--blur-effect);
}

.bg-gradient-warning {
    background: rgba(255, 224, 179, 0.9) !important;
    backdrop-filter: var(--blur-effect);
}

.bg-gradient-info {
    background: rgba(225, 245, 254, 0.9) !important;
    backdrop-filter: var(--blur-effect);
}

/* Seccion 'about' */
.about-section h3,
.about-section h2,
.about-section .display-4,
.about-section .display-5 {
    color: var(--secondary-color) !important;
}

/* Seccion 'services' */
.services-section h3,
.services-section h2,
.services-section .display-4,
.services-section .display-5 {
    color: var(--secondary-color) !important;
}

/* Seccion 'gallery' */
.gallery-section h3,
.gallery-section h2,
.gallery-section .display-4,
.gallery-section .display-5 {
    color: var(--secondary-color) !important;
}

/* Seccion 'events' */
.events-section h3,
.events-section h2,
.events-section .display-4,
.events-section .display-5 {
    color: var(--secondary-color) !important;
}

/* Seccion 'testimonials' */
.testimonials-section h3,
.testimonials-section h2,
.testimonials-section .display-4,
.testimonials-section .display-5 {
    color: var(--secondary-color) !important;
}

/* ===== EFECTOS DE HOVER ===== */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-30px,0);
    }
    70% {
        transform: translate3d(0,-15px,0);
    }
    90% {
        transform: translate3d(0,-4px,0);
    }
}

.bounce {
    animation: bounce 1s ease infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        margin: 0.25rem;
        width: 100%;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }
    
    .page-header {
        padding: 5rem 0 3rem;
        margin-top: 40px;
        padding-top: 7rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* ===== UTILIDADES ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Comentado para evitar conflicto con Bootstrap
.bg-primary {
    background-color: var(--primary-color) !important;
}
*/

/* Footer específico con fondo marrón oscuro */
footer.bg-primary {
    background: var(--bg-primary) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-md);
}

.rounded-custom {
    border-radius: var(--border-radius);
}

.rounded-lg-custom {
    border-radius: var(--border-radius-lg);
}

/* Título específico de la tarjeta de información de contacto */
.contact-card h4 {
    color: var(--light-color) !important;
}
