/* Wall Ministries - Enhanced Homepage Styles
   Hero Section, About Section, Testimonies, Newsletter with Modern Design */

/* Hero Section - Enhanced */
.hero {
    height: 80vh;
    background-image: linear-gradient(rgba(26, 77, 46, 0.4), rgba(44, 110, 73, 0.4)), url('../images/main-banner.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 77, 46, 0.3), rgba(76, 149, 108, 0.2));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: heroFadeIn 1.5s ease-out;
}

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

.hero-content h2 {
    font-size: 3.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    line-height: 1.6;
}

/* Enhanced About Section */
.about {
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: var(--spacing-lg);
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200%;
    background: rgba(76, 149, 108, 0.03);
    transform: rotate(15deg);
    z-index: -1;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-top: var(--spacing-lg);
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(26, 77, 46, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light), var(--accent));
    z-index: 2;
}

.about-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(26, 77, 46, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    padding: var(--spacing-md);
}

.about-text h3 {
    color: var(--primary-medium);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light));
}

.about-text p {
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    font-size: 1rem;
}

/* Enhanced Testimonies Section */
.testimonies {
    background: linear-gradient(135deg, var(--light-accent), rgba(233, 237, 201, 0.7));
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

.testimonies::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 200px;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(-15deg);
    z-index: 1;
}

.testimonies .container {
    position: relative;
    z-index: 2;
}

.testimonies h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-dark);
    position: relative;
}

.testimonies h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light));
}

/* Couple Image Styling */
.couple-image {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.couple-image img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(26, 77, 46, 0.2);
    border: 5px solid var(--background-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.couple-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(26, 77, 46, 0.3);
}

.testimony-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.testimony {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(26, 77, 46, 0.08);
    border: 1px solid rgba(76, 149, 108, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.testimony::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimony:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(26, 77, 46, 0.15);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
}

.testimony:hover::before {
    opacity: 1;
}

.testimony h3 {
    text-align: center;
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.testimony h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light));
}

.testimony p {
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.testimony p:last-child {
    margin-bottom: 0;
}

/* Enhanced Doctrinal Statement Section */
.doctrinal-statement {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), rgba(255, 255, 255, 0.9));
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

.doctrinal-statement::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200%;
    background: rgba(26, 77, 46, 0.03);
    transform: rotate(15deg);
    z-index: 1;
}

.doctrinal-statement .container {
    position: relative;
    z-index: 2;
}

.doctrinal-statement h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
    position: relative;
}

.doctrinal-statement h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light));
}

.doctrinal-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    opacity: 0.9;
}

.doctrine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.doctrine-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(26, 77, 46, 0.06);
    border: 1px solid rgba(76, 149, 108, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.doctrine-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doctrine-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(26, 77, 46, 0.12);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.98));
}

.doctrine-item:hover::before {
    opacity: 1;
}

.doctrine-item h3 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.doctrine-number {
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
    color: var(--text-light);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.doctrine-item p {
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.doctrine-item p em {
    color: var(--primary-medium);
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Enhanced Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--primary-light) 100%);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(15deg);
    z-index: 1;
}

.newsletter .container {
    position: relative;
    z-index: 2;
}

.newsletter h2 {
    color: var(--text-light);
    font-size: 2.2rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.newsletter p {
    color: var(--text-light);
    font-size: 1.1rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.newsletter form {
    max-width: 500px;
    margin: var(--spacing-lg) auto 0;
    animation: slideUp 0.8s ease-out 0.3s both;
}

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

.newsletter .form-group {
    margin-bottom: var(--spacing-sm);
}

.newsletter .form-group input {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem;
    font-size: 1rem;
}

.newsletter .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter .form-group input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2);
}

.newsletter .btn {
    background: linear-gradient(135deg, var(--accent), #d4a373) !important;
    color: var(--text-dark) !important;
    margin-top: var(--spacing-sm);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(212, 163, 115, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter .btn:hover {
    background-color: var(--light-accent) !important;
    background: var(--light-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 163, 115, 0.4);
    color: var(--text-dark) !important;
}

/* Enhanced Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-image {
        order: -1;
        margin-bottom: var(--spacing-md);
    }
    
    .testimony-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 1024px) {
    .hero {
        height: 35vh !important;
        margin-top: 70px;
        background-image: linear-gradient(rgba(26, 77, 46, 0.4), rgba(44, 110, 73, 0.4)), url('../images/mobile-banner.jpg') !important;
        background-size: cover !important;
        background-position: center top !important;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about h2,
    .testimonies h2 {
        font-size: 2rem;
    }
    
    .couple-image img {
        width: 220px;
        height: 220px;
    }
    
    .testimony {
        padding: var(--spacing-md);
    }
    
    .newsletter h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
    
    .about h2,
    .testimonies h2 {
        font-size: 1.6rem;
    }
    
    .couple-image img {
        width: 180px;
        height: 180px;
    }
    
    .newsletter form {
        max-width: 100%;
    }
}