:root {
    --bg-crema: #fdfaf3;
    --text-primary: #2a2a2a;
    --accent-gold: #c5a676;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

body {
    background-color: var(--bg-crema);
    font-family: 'Cormorant Garamond', serif; /* Tipografía elegante para títulos */
    color: var(--text-primary);
}

/* Header */
.navbar {
    background-color: var(--bg-crema); /* Asumiendo que definiste esta variable */
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-links {
    display: flex; /* Enlaces en fila en desktop */
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Hero Section */
.hero-bg {
    background-image: url('../img/hero-blur.png'); /* Imagen de luz de sol/ventana */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Añade una ligera capa extra de suavizado si el texto aún se pierde */
.hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 250, 243, 0.2); /* Tono crema muy transparente */
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* Cards (Testimonios y Santos) */

/* public/assets/css/style-web.css */
/* ... (reglas previas) ... */
.img-santo-card {
    height: 200px;
    object-fit: cover; /* Mantenemos cover para que llene el espacio */
    object-position: top; /* <--- ¡ESTA ES LA SOLUCIÓN! */
    width: 100%;
}
/* ... (resto del código) ... */

.card-custom {
    background: #fff;
    border: none;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
}

.img-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    display: block;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: white;
    border-radius: 25px;
    padding: 8px 25px;
    font-size: 1.2rem;
    border: none;
}

.btn-gold:hover {
    background-color: #b08e5a;
    color: white;
}

/* Botón Flotante WhatsApp */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /*background: #84c5e6; /* Color azul suave del diseño */
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    z-index: 1000;
}

/* Ocultar el botón hamburger en pantallas grandes */
.menu-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: all 0.3s ease-in-out;
}

/* --- MEDIA QUERY PARA MOBILE (pantallas < 992px, punto de quiebre de Bootstrap lg) --- */
@media screen and (max-width: 991px) {
    
    /* Mostrar hamburger */
    .menu-hamburger {
        display: block;
    }

    /* Menú vertical oculto */
    .nav-links {
        display: none; /* Oculto por defecto */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; /* Justo debajo de la navbar */
        left: 0;
        background-color: var(--bg-crema);
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex; /* Mostrar cuando tenga la clase active */
    }

    .nav-item {
        margin: 10px 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 10px;
        width: 100%;
    }
}

.card-transparente {
    /* El último valor (0.8) es la opacidad: 0 es invisible, 1 es sólido */
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(5px); /* Opcional: añade un efecto de desenfoque muy elegante */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tarjeta Horizontal Personalizada */
.card-horizontal-custom {
    background-color: rgba(255, 255, 255, 0.7) !important; /* Semi-transparente */
    backdrop-filter: blur(8px); /* Efecto cristal */
    transition: transform 0.2s ease;
}

.card-horizontal-custom:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.9) !important;
}

/* Personalización del Paginador */
.pagination .page-link {
    color: var(--text-primary);
    border: none;
    margin: 0 3px;
    border-radius: 5px;
}

.pagination .page-item.active .page-link {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

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

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

/* Estilos para el Footer Público */
.footer-public {
    background-color: rgba(255, 252, 240, 0.8); /* Crema traslúcido */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(184, 134, 11, 0.15); /* Borde dorado muy suave */
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #6c757d; /* Gris suave */
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px; /* Efecto sutil al pasar el mouse */
}

.text-gold {
    color: #b8860b !important;
}

.btn-outline-gold {
    color: #b8860b;
    border-color: #b8860b;
}

.btn-outline-gold:hover {
    background-color: #b8860b;
    color: #ffffff;
    border-color: #b8860b;
}