/**
 * Men of the Forge - Homepage Specific Styles
 */

/* Enhanced hero for homepage */
.hero-section {
    background-image:
        radial-gradient(ellipse at 30% 80%, rgba(239, 122, 56, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 20%, rgba(239, 122, 56, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #1a0f0a 0%, #2d1810 50%, #0a0604 100%);
}

/* Ember glow effect */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to top, rgba(239, 122, 56, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* Animated entrance for hero content */
.hero-title {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
}

.hero-section .btn-forge {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.9s;
}

/* Brotherhood cards animation on scroll */
.brotherhood-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.brotherhood-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gathering cards hover effect */
.gathering-card {
    position: relative;
    overflow: hidden;
}

.gathering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 122, 56, 0.1), transparent);
    transition: left 0.5s ease;
}

.gathering-card:hover::before {
    left: 100%;
}

/* Scripture banner pulse effect */
.scripture-banner {
    position: relative;
}

.scripture-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--forge-orange);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* CTA section enhanced glow */
.cta-section {
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(239, 122, 56, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Responsive adjustments for homepage */
@media (max-width: 767.98px) {
    .brotherhood-card {
        opacity: 1;
        transform: none;
    }
}
/* Image Dividers */
.image-divider {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.image-divider-tall {
    height: 450px;
}

.image-divider-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.image-divider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(18, 18, 18, 0.8) 0%,
        rgba(10, 6, 4, 0.6) 50%,
        rgba(18, 18, 18, 0.8) 100%
    );
}

.image-divider-overlay-warm {
    background: linear-gradient(180deg,
        rgba(18, 18, 18, 0.7) 0%,
        rgba(239, 122, 56, 0.1) 50%,
        rgba(18, 18, 18, 0.7) 100%
    );
}

.image-divider-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section with Background Image */
.section-with-image {
    position: relative;
    padding: 8rem 0;
}

.section-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
}

.card-glass {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* CTA Section Images */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(239, 122, 56, 0.15) 0%, transparent 70%);
}

.scripture-block {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--forge-primary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.scripture-block blockquote {
    margin: 0;
}

.scripture-block p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    color: var(--gray-300);
}

.scripture-block cite {
    font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
}

.commitment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.commitment-list li {
    position: relative;
    padding: 1rem 0 1rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray-300);
    line-height: 1.6;
}

.commitment-list li:last-child {
    border-bottom: none;
}

.commitment-list li::before {
    content: '\F286';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--forge-primary);
    font-size: 1.1rem;
}

.position-relative {
    position: relative;
}

/* Responsive */
@media (max-width: 767px) {
    .image-divider {
        height: 200px;
    }

    .image-divider-tall {
        height: 300px;
    }

    .image-divider-bg,
    .section-image-bg {
        background-attachment: scroll;
    }

    .forge-title {
        font-size: 36px !important;
    }
}