

/* Insight Ministries Custom Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section with Eagle Background */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    background-image: url('../../images/1920_eagle_blue_black.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

/* Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(113, 0, 252, 0.45), 
        rgba(0, 0, 0, 0.45)
    );
}

/* Hero Content Container */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-section {
    margin-top: 0;
    padding-top: 0;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    overflow: hidden;
}

.hero-text p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 0;
    text-align: center;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #7100FC, #8000FF);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(113, 0, 252, 0.4);
}

/* Content Section with Radial Gradient Background */
.content-section {
    background: radial-gradient(circle at center, 
        #8000FF 0%, 
        #3C0461 45%, 
        #000000 100%
    );
    padding: 80px 20px;
    color: white;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.content-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    color: white;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Additional Content Sections */
.content-section.alt {
    background: radial-gradient(circle at center, 
        #3C0461 0%, 
        #8000FF 45%, 
        #000000 100%
    );
}

/* Fully Transparent Sticky Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 25px 0 10px 0;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    height: clamp(100px, 5vw, 150px);
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.main-nav a:hover {
    color: #8000FF;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* White Contrast Section */
.contrast-section {
    background: white;
    padding: 60px 20px;
    text-align: center;
}

.contrast-container {
    max-width: 800px;
    margin: 0 auto;
}

.contrast-section h2 {
    color: #333;
    font-size: clamp(2rem, 5vw, 4rem);
    white-space: nowrap;
    margin-bottom: 2rem;
}

.contrast-section p {
    color: #666;
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    padding: 0 2rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Call to Action Banner with Mountains */
.cta-banner {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    background-image: url('../../images/1920_mountains-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(113, 0, 252, 0.45), 
        rgba(0, 0, 0, 0.45)
    );
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 20px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.contact-card h3 {
    color: #8000FF;
    margin-bottom: 1rem;
}

/* Pastor Selorm Image Carousel */
.image-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.image-caption {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    color: #8000FF;
}

.image-details {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(128, 0, 255, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: rgba(128, 0, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

.carousel-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
    flex-wrap: wrap;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail.active {
    border-color: #8000FF;
    opacity: 1;
    transform: scale(1.1);
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 10;
}

/* Events Carousel Styles */
.events-carousel {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.events-carousel .carousel-slide {
    min-width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    margin: 0 10px;
}

.events-carousel .carousel-slide h3 {
    color: #8000FF;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.events-carousel .carousel-slide p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #8000FF;
}

.events-carousel .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(128, 0, 255, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.events-carousel .carousel-arrow:hover {
    background: rgba(128, 0, 255, 1);
}

.events-carousel .carousel-arrow.prev {
    left: 20px;
}

.events-carousel .carousel-arrow.next {
    right: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        background-attachment: scroll;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .content-section {
        padding: 60px 15px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-nav.active {
        display: block;
    }

    .hero-section, .cta-banner {
        background-attachment: scroll;
    }

    .cta-banner {
        height: 50vh;
        min-height: 350px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .contrast-section {
        padding: 40px 15px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }

    .thumbnail {
        width: 50px;
        height: 50px;
    }

    .image-overlay {
        padding: 1.5rem 1rem 1rem;
    }

    .image-caption {
        font-size: 0.9rem;
    }
}

/* Two-Column Layouts - Mobile Stacking */


@media (max-width: 768px) {
    .content-section .pastor-profile-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }
}


@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .carousel-wrapper {
        padding-bottom: 75%;
    }

    .carousel-thumbnails {
        gap: 8px;
    }

    .thumbnail {
        width: 45px;
        height: 45px;
    }
}

/* Ensure no horizontal scroll */
html, body {
    overflow-x: hidden;
}