/* ==========================================================================
   ESTILOS GENERALES Y PALETA PT ENRIQUECIDA - SANTA ANA MAYA 2024-2027
   ========================================================================== */
:root {
    --pt-rojo: #E30613;
    --pt-rojo-oscuro: #9E000A;
    --pt-amarillo: #FFED00;
    --pt-negro: #1A1A1A;
    --pt-gris-suave: #F4F6F8;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--pt-negro);
    overflow-x: hidden;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Clases de utilidad para color */
.bg-pt-red {
    background-color: var(--pt-rojo) !important;
}

.text-pt-red {
    color: var(--pt-rojo) !important;
}

.bg-pt-yellow {
    background-color: var(--pt-amarillo) !important;
}

.text-pt-yellow {
    color: var(--pt-amarillo) !important;
}

.bg-dark-red {
    background-color: var(--pt-rojo-oscuro) !important;
}

/* Hero Video Limpio */
.hero-header-video {
    background-color: #000;
}

.hero-video-overlay-subtle {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Sección Santa Ana Maya con Difuminado fondo1.jpg */
.section-sam-bg {
    background: url('../img/fondo1.jpg') no-repeat center center / cover;
    position: relative;
}

.bg-diffuse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
}

.bg-white-75 {
    background-color: rgba(255, 255, 255, 0.92) !important;
}

/* Transición Redes Sociales y Colores */
.section-social-transition {
    background: linear-gradient(135deg, var(--pt-rojo) 0%, var(--pt-rojo-oscuro) 100%);
}

.bg-gradient-soft-pt {
    background: linear-gradient(180deg, #F9FAFB 0%, #EAEFF5 100%);
}

/* Card Hover Effects */
.card-sam-hover,
.card-service-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-sam-hover:hover,
.card-service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(227, 6, 19, 0.18) !important;
}

/* Banner Parallax */
.banner-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}

/* Fondos Auxiliares */
.bg-pink-light {
    background-color: rgba(227, 6, 19, 0.1);
}

.bg-yellow-light {
    background-color: rgba(255, 237, 0, 0.25);
}

.bg-orange-light {
    background-color: rgba(255, 140, 0, 0.15);
}

.max-w-700 {
    max-width: 700px;
}

.max-w-800 {
    max-width: 800px;
}

.hover-shadow:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Pinned Scroll Section */
.pinned-section-wrapper {
    position: relative;
}

.pinned-card {
    transition: all 0.5s ease;
}

/* ==========================================================================
   AJUSTE DE IMÁGENES COMPLETAS PARA SLIDER CONSEJO MUNICIPAL
   ========================================================================== */
.consejo-img-wrapper {
    min-height: 320px;
    max-height: 580px;
    width: 100%;
    background-color: #0d0d0d;
}

.consejo-slide-img {
    max-height: 520px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    /* Ajusta la imagen completa a su tamaño original sin recortar */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .consejo-img-wrapper {
        min-height: 250px;
        max-height: 380px;
    }

    .consejo-slide-img {
        max-height: 350px;
    }
}

/* ==========================================================================
   AJUSTE Y CENTRADO DEL FEED DE FACEBOOK (FIX DEFINITIVO)
   ========================================================================== */
.fb-card-container,
.fb-card-fit {
    width: 100% !important;
    max-width: 540px !important;
    min-height: 720px !important;
    margin: 0 auto !important;
}

.fb-page-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    width: 100% !important;
    min-height: 700px !important;
}

.fb-page,
.fb-page span,
.fb-page iframe {
    width: 100% !important;
    min-width: 280px !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    display: block !important;
}



