/* Estilos personalizados - Banquetes Palomo - VERSIÓN FINAL */

:root {
    --primary-gold: #C6A96C;
    --primary-light: #F5F2EA;
    --secondary-beige: #E8D9C0;
}

/* ===== TIPOGRAFÍA ===== */
body {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.font-serif,
.font-elegant,
.hero-brand {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.font-elegant,
.hero-brand,
.hero-section h1 {
    font-weight: 700;
}

.font-sans,
body,
p,
a,
button,
input,
select,
textarea,
.nav-link {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ===== HERO SLIDER - VERSIÓN FINAL SOLO BLUR ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

/* Overlay con gradiente suave */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(198,169,108,0.2) 100%);
    z-index: 2;
}

/* Contenedor de texto - SOLO BLUR, sin fondo negro */
.hero-text-container {
    padding: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Texto con sombra para legibilidad */
.hero-text-container h1,
.hero-text-container p,
.hero-text-container .font-elegant {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Banquetes Palomo en dorado */
.hero-text-container .font-elegant {
    color: var(--primary-gold);
    display: inline-block;
    padding: 0.5rem 2.5rem;
    margin-bottom: 1rem;
}

/* Botones con su estilo original */
.hero-text-container .btn-primary,
.hero-text-container .btn-secondary {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ===== SLIDER CONTROLS ===== */
.slider-controls {
    z-index: 30;
}

.slider-dot {
    transition: all 0.3s ease;
}

.slider-dot:hover,
.slider-dot.active {
    background-color: var(--primary-gold) !important;
}

.slider-dot:hover {
    transform: scale(1.2);
}

.slider-dot.active {
    transform: scale(1.1);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

/* ===== BOTONES ===== */
.btn-primary {
    background-color: var(--primary-gold);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: #b5955c;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(198, 169, 108, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-gold);
    transform: translateY(-2px);
}

/* ===== CARDS DE SERVICIO ===== */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -10px rgba(198, 169, 108, 0.3);
}

/* ===== GALERÍA ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 2rem;
    background: rgba(198, 169, 108, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    opacity: 0;
    z-index: 10;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(198, 169, 108, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1001;
    border: 2px solid var(--primary-gold);
}

.close-lightbox:hover {
    background: var(--primary-gold);
    transform: rotate(90deg);
}

/* ===== TESTIMONIOS ===== */
.testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PROCESO ===== */
.process-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.process-circle:hover {
    transform: scale(1.1);
}

/* ===== FORMULARIO ===== */
.input-field:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(198, 169, 108, 0.3);
}

/* ===== SOCIAL ICONS ===== */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: #b5955c;
    box-shadow: 0 10px 15px -3px rgba(198, 169, 108, 0.4);
}

/* ===== MENÚ DE NAVEGACIÓN ===== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== FOOTER OPTIMIZADO ===== */
footer .container {
    max-width: 1280px;
    margin: 0 auto;
}

footer .footer-logo {
    max-height: 160px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    footer .footer-logo {
        max-height: 120px;
    }
}

/* ===== RESPONSIVE GENERAL ===== */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .lightbox-content {
        max-width: 95vw;
        max-height: 80vh;
    }

    .hero-text-container {
        padding: 1.5rem;
        margin: 0 1rem;
        backdrop-filter: blur(3px);
    }

    .hero-text-container .font-elegant {
        padding: 0.4rem 1.5rem;
        font-size: 1.5rem;
    }
}