/**
 * Modern Design for Biblia Abierta Homepage
 * Inspired by 2026 church website trends
 */

/* ================================
   FULL-SCREEN LAYOUT RESET
   ================================ */

/* Remove any default WordPress/theme padding/margins */
.biblia-abierta-home {
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

.biblia-abierta-home .site-main {
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
}

.biblia-abierta-home .site-content {
    padding-top: 0 !important;
    margin-top: var(--header-height) !important;
}

/* When logged in (admin bar visible) */
.admin-bar .biblia-abierta-home .site-content {
    margin-top: calc(var(--header-height) + 32px) !important;
}

@media screen and (max-width: 782px) {
    .admin-bar .biblia-abierta-home .site-content {
        margin-top: calc(var(--header-height) + 46px) !important;
    }
}

/* Prevent horizontal overflow on all sections */
.biblia-abierta-home section {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ================================
   MODERN HERO SECTION
   ================================ */

.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2f5e 0%, #1E3A8A 50%, #2563EB 100%);
    width: 100%;
    max-width: 100vw;
}

/* Animated geometric patterns */
.modern-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(232, 185, 35, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.06) 0%, transparent 35%);
    opacity: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Multiple gradient orbs for depth */
.hero-background::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -8%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(37, 99, 235, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: gentleFloat 25s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 185, 35, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(70px);
    animation: gentleFloat 20s ease-in-out infinite reverse;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-30px, 40px) scale(1.05);
    }
    66% {
        transform: translate(20px, -30px) scale(0.95);
    }
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(30, 58, 138, 0.1) 0%,
        rgba(30, 58, 138, 0.4) 100%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    padding: 0 2rem;
    text-align: center;
}

.logo-container {
    margin-bottom: 1.5rem;
    animation: logoEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes logoEntrance {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-logo {
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 15px 40px rgba(0,0,0,0.4));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-logo-animated {
    /* Animation handled by logo-container */
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 1.75rem;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
    letter-spacing: -0.03em;
    animation: titleEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

@keyframes titleEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title .highlight {
    background: linear-gradient(135deg, #E8B923 0%, #FCD34D 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.15);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    color: rgba(255,255,255,0.95);
    margin-bottom: 3.5rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: titleEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 160px;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(232, 185, 35, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FCD34D 0%, #E8B923 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.75rem;
    text-shadow: none;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.95);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: titleEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 2.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    transform: translateX(0);
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: linear-gradient(135deg, #E8B923 0%, #FCD34D 50%, #E8B923 100%);
    background-size: 200% 100%;
    background-position: left;
    color: #1a2f5e;
    box-shadow: 0 12px 35px rgba(232, 185, 35, 0.45);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(232, 185, 35, 0.65);
    background-position: right;
}

.btn-secondary {
    background: rgba(255,255,255,0.12);
    color: white;
    border: 2px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(15px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    display: none;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.scroll-indicator a:hover {
    opacity: 1;
}

.scroll-indicator svg {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ================================
   QUICK INFO BAR
   ================================ */

.quick-info-bar {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem 0;
    position: relative;
    z-index: 10;
}

.quick-info-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(30, 58, 138, 0.1) 50%, transparent 100%);
}

.info-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 16px;
    background: white;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E3A8A 0%, #2563EB 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.15);
    border-color: rgba(30, 58, 138, 0.1);
}

.info-item:hover::before {
    transform: scaleX(1);
}

.info-item svg {
    width: 48px;
    height: 48px;
    padding: 12px;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: white;
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.info-item:hover svg {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.info-item div {
    flex: 1;
}

.info-item h4 {
    font-size: 1.125rem;
    color: #1E3A8A;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.info-item p {
    margin: 0;
    color: #6B7280;
    font-size: 0.9375rem;
    line-height: 1.6;
    font-weight: 500;
}

/* ================================
   SECTION HEADERS
   ================================ */

.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #E8B923 0%, #FCD34D 100%);
    color: #2C3E50;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header.light .section-tag {
    background: rgba(255,255,255,0.2);
    color: white;
}

.section-header h2 {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 800;
    color: #2C3E50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header.light h2 {
    color: white;
}

.section-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto 1rem;
    line-height: 1.8;
}

.header-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #E8B923 0%, #FCD34D 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.section-header:not(.center) .header-line {
    margin: 0;
}

/* ================================
   ABOUT SECTION
   ================================ */

.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 0;
}

.about-section.compact {
    padding: 3rem 0;
}

/* Pastor Compact Card */
.pastor-compact-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 3rem auto 0;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.pastor-compact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.pastor-image .image-wrapper {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
}

.pastor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 1;
}

.image-decoration {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #F59E0B 0%, #FCD34D 100%);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(40px);
    z-index: 0;
}

.experience-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 2;
}

.experience-badge .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #1E3A8A;
    line-height: 1;
}

.experience-badge .label {
    display: block;
    font-size: 0.75rem;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.pastor-info h3 {
    font-size: 2rem;
    color: #1E3A8A;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.pastor-info .title {
    font-size: 1.1rem;
    color: #2563EB;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pastor-info .description {
    font-size: 1rem;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.pastor-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-item svg {
    color: #F59E0B;
    flex-shrink: 0;
}

.highlight-item span {
    color: #1F2937;
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-link:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    color: white;
}

.btn-link svg {
    transition: transform 0.3s ease;
}

.btn-link:hover svg {
    transform: translateX(3px);
}

/* ================================
   MISSIONS SECTION
   ================================ */

.missions-section {
    position: relative;
    background: linear-gradient(135deg, #4A5F9D 0%, #8B7BB8 100%);
    padding: 6rem 0;
}

.missions-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(232, 185, 35, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.mission-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mission-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-card:hover .mission-image img {
    transform: scale(1.1);
}

.mission-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 2rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-card:hover .mission-overlay {
    transform: translateY(0);
}

.mission-name {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

/* ================================
   BLOG SECTION
   ================================ */

.blog-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    padding: 6rem 0;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.blog-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 58, 138, 0.05);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E3A8A 0%, #2563EB 50%, #E8B923 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15);
    border-color: rgba(30, 58, 138, 0.1);
}

.blog-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
    filter: brightness(1);
}

.blog-date {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #1E3A8A;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: 2px solid rgba(30, 58, 138, 0.1);
}

.blog-content {
    padding: 2rem 2rem 2.5rem;
    position: relative;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
}

.blog-title a {
    color: #1E3A8A;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.blog-title a:hover {
    color: #2563EB;
}

.blog-excerpt {
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563EB;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.blog-link::before {
    content: '';
    position: absolute;
    bottom: 0.3rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #E8B923 0%, #FCD34D 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-link:hover::before {
    width: calc(100% - 1.5rem);
}

.blog-link:hover {
    gap: 0.75rem;
    color: #1E3A8A;
}

.blog-link svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-link:hover svg {
    transform: translateX(3px);
}

/* Empty state */
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #6B7280;
    font-size: 1.1rem;
}

/* Blog CTA */
.blog-cta {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.blog-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.25);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.blog-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E8B923 0%, #FCD34D 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-cta .btn span,
.blog-cta .btn svg {
    position: relative;
    z-index: 1;
}

.blog-cta .btn:hover::before {
    opacity: 1;
}

.blog-cta .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(30, 58, 138, 0.35);
    border-color: rgba(232, 185, 35, 0.3);
    color: #2C3E50;
}

.blog-cta .btn svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-cta .btn:hover svg {
    transform: translateX(4px);
}

/* ================================
   CONTACT SECTION
   ================================ */

.contact-section {
    background: #ffffff;
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 100%;
    overflow: hidden;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.info-block {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-block:hover .icon-circle {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.25);
}

.icon-circle svg {
    color: white;
}

.info-block h4 {
    font-size: 1.25rem;
    color: #1E3A8A;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.info-block p,
.info-block a {
    color: #4B5563;
    line-height: 1.8;
    font-size: 1rem;
}

.info-block a {
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.info-block a:hover {
    color: #1E3A8A;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-list li {
    padding: 0.5rem 0;
    color: #4B5563;
    line-height: 1.8;
}

.schedule-list strong {
    color: #1E3A8A;
    font-weight: 700;
}

.contact-map {
    position: sticky;
    top: 2rem;
}

.map-wrapper {
    height: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.map-wrapper iframe {
    max-width: 100%;
    display: block;
}

.map-wrapper:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* ================================
   RESPONSIVE
   ================================ */

/* Desktop enhancements */
@media (min-width: 1025px) {
    .modern-hero {
        min-height: calc(100vh - var(--header-height));
        max-height: calc(100vh - var(--header-height));
    }

    .hero-container {
        padding: 7rem 2rem 2rem;
        max-height: calc(100vh - var(--header-height));
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .logo-container {
        margin-bottom: 0.5rem;
    }

    .hero-logo {
        max-width: 240px;
    }

    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 2.5rem;
        margin-bottom: 2rem;
    }

    .stat-item {
        padding: 1rem 1.5rem;
        min-width: 130px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-actions {
        margin-bottom: 0;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .stat-item:nth-child(1) {
        animation: statEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s backwards;
    }

    .stat-item:nth-child(2) {
        animation: statEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s backwards;
    }

    .stat-item:nth-child(3) {
        animation: statEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s backwards;
    }

    @keyframes statEntrance {
        from {
            opacity: 0;
            transform: translateY(30px) scale(0.9);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 1024px) {
    .pastor-compact-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .pastor-image .image-wrapper {
        height: 300px;
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-map {
        position: static;
    }

    .map-wrapper {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        min-height: 75vh;
        padding: 2rem 0;
    }

    .hero-container {
        padding: 3rem 1.5rem 0;
    }

    .logo-container {
        margin-top: 0;
        margin-bottom: 0;
    }

    .hero-logo {
        max-width: 200px;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 2vw, 1.2rem);
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    .hero-actions .btn,
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary,
    .hero-actions .btn-large {
        display: inline-flex !important;
        flex: 1 1 auto !important;
        max-width: 48% !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 0.7rem 0.5rem !important;
        font-size: 0.85rem !important;
    }

    .quick-info-bar {
        padding: 1.5rem 0;
        margin-top: 0;
    }

    .info-items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-item {
        padding: 1.25rem;
    }

    .info-item svg {
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .info-item h4 {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }

    .info-item p {
        font-size: 0.875rem;
    }

    .missions-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 0;
    }

    .pastor-compact-card {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .pastor-image .image-wrapper {
        height: 300px;
    }

    .pastor-info h3 {
        font-size: 1.5rem;
    }

    .pastor-info .title {
        font-size: 1rem;
    }

    .btn-link {
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .modern-hero {
        min-height: 70vh;
        padding: 1.5rem 0;
    }

    .hero-container {
        padding: 3.5rem 1rem 0;
    }

    .logo-container {
        margin-top: 0;
        margin-bottom: 0;
    }

    .hero-logo {
        max-width: 160px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-actions {
        gap: 0.625rem !important;
        flex-wrap: nowrap !important;
    }

    .hero-actions .btn,
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary,
    .hero-actions .btn-large {
        padding: 0.6rem 0.5rem !important;
        font-size: 0.8rem !important;
        max-width: 48% !important;
    }

    .quick-info-bar {
        padding: 1.25rem 0;
    }

    .info-items {
        gap: 0.875rem;
    }

    .info-item {
        padding: 1rem;
        gap: 1rem;
    }

    .info-item svg {
        width: 32px;
        height: 32px;
        padding: 7px;
    }

    .info-item h4 {
        font-size: 0.9375rem;
        margin-bottom: 0.25rem;
    }

    .info-item p {
        font-size: 0.8125rem;
    }

    .missions-grid {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        height: 350px;
    }

    .btn-link {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
}

/* ================================
   UTILITIES
   ================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: #E8B923;
    color: #2C3E50;
}
