/* landing.css */

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



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


/* Menú secundario sticky DEBAJO del navbar superior */
.menu.sticky-top {
    position: sticky;
    top: 56px; /* altura del navbar superior */
    z-index: 1030;
}




/* 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);
    line-height: 90%;
}

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

}






/* Cards */

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

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

/* Wrapper de imagen con overlay */
.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover .card-img-wrapper::after {
    opacity: 0;
}

.card-img-top {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}




/* 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: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-section {
        height: 70vh;
        background-image: url('../assets/bg/landing/hero-mobile.webp'); /* ← Mobile */
        background-attachment: scroll;
    }
}









/* === PANTALLAS GRANDES (proyectores, 1920px+) === */
@media (min-width: 1920px) {
  .hero-title  { font-size: 6rem; }
  .hero-subtitle { font-size: 2.8rem; }
  .hero-section { height: 100vh; }
}

/* === 2K / 4K === */
@media (min-width: 2560px) {
  .hero-title  { font-size: 9rem; }
  .hero-subtitle { font-size: 4rem; }
}




