/* landing.css */

/* Variables */
:root {
    --primary-color: #007bff;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

/* General */
body {
    padding-top: 56px; /* Altura del navbar fixed */
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background-image: url('../assets/bg/landing/hero-desktop.webp'); /* ← Desktop */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Cards */
.card {
    transition: transform 0.3s ease;
}

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

/* Congregaciones Hermanas */
.congregacion-logo {
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.congregacion-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.congregacion-link {
    text-decoration: none;
    display: inline-block;
}

/* Footer */
footer a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-section {
        height: 70vh;
        background-image: url('../assets/bg/landing/hero-mobile.webp'); /* ← Mobile */
        background-attachment: scroll;
    }
}




/*Estilos sección Nuestras Congregaciones*/
/* Oscurecer imágenes de cards */
.card-img-top {
    transition: filter 0.3s ease, transform 0.3s ease;
    filter: brightness(0.7); /* Oscurece un 30% */
}

/* Al hacer hover, se aclaran */
.card:hover .card-img-top {
    filter: brightness(1);
    transform: scale(1.05);
}

/* Opcional: Agregar overlay oscuro encima de la imagen */
.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%; /* Cubre solo la imagen, no el texto */
    background: rgba(0, 0, 0, 0.3); /* Capa negra 30% opacidad */
    z-index: 1;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 0; /* Se quita al hacer hover */
}

/* Asegurar que el texto esté por encima del overlay */
.card-body {
    position: relative;
    z-index: 2;
}





