/* Base Styles */
:root {
    --primary-color: #3a8bbb; /* Light blue */
    --secondary-color: #2e3b4e; /* Darker blue */
    --accent-color: #f5c542; /* Gold accent */
    --light-color: #f8f9fa; /* Off-white */
    --dark-color: #333; /* Dark gray */
    --text-color: #4a4a4a; /* Medium gray for text */
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: auto;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    overflow-y: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
    margin: 5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: clamp(18px, 1.5vw, 24px);
    margin-bottom: 0;
    color: var(--primary-color);
}

.logo-text p {
    font-size: clamp(12px, 1.2vw, 14px);
    margin-bottom: 0;
    color: var(--secondary-color);
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
    background-color: rgba(58, 139, 187, 0.1);
}

.nav-links li a i {
    margin-right: 5px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/praise3.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px; /* Account for fixed header */
    width: 100%;
    max-width: 100vw;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    margin-top: 30px;
}

/* Section Styling */
section {
    padding: 80px 0;
    width: 100%;
    max-width: 100vw;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
}

.divider {
    height: 3px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 15px auto;
}

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

.section-header.light .divider {
    background-color: white;
}

/* Welcome Section */
.welcome-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.welcome-text {
    flex: 1;
}

.welcome-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Services Section */
.service-times {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    flex: 1;
    min-width: 250px;
    transition: var(--transition);
}

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

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}


.event-info {
    margin-top: 100px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    /* max-width: 1000px; */
    width: 100%;
    text-align: center;
  }

.event-info iframe {
    border: 1px solid #ccc;
    border-radius: 12px;
    width: 100%;
    max-width: 1000px;
    height: 700px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    justify-self: center;
  }

/* Radio Preview Section */
.radio-preview {
    background: linear-gradient(rgba(46, 59, 78, 0.9), rgba(46, 59, 78, 0.9)), url('../images/radiobg.jpg') center/cover no-repeat;
    color: white;
    width: 100%;
    max-width: 100vw;
}

.radio-player {
    max-width: 600px;
    margin: 0 auto;
}

.player-container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
}

.player-controls {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.play-button {
    background-color: var(--accent-color);
    color: var(--dark-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    margin-right: 20px;
    border: none;
    transition: var(--transition);
}

.play-button:hover {
    transform: scale(1.1);
}

.player-info {
    flex: 1;
}

.player-info h3 {
    color: white;
    margin-bottom: 5px;
}

/* Events Preview Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}

.event-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-date {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.event-date .day {
    font-size: 24px;
    font-weight: bold;
}

.event-date .month {
    font-size: 14px;
}

.event-details {
    padding: 20px;
    flex: 1;
}

.event-details h3 {
    margin-bottom: 10px;
}

.event-details p {
    margin-bottom: 5px;
    font-size: 14px;
}

.event-details i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    background-color: #f9f9f9;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    animation: fadeEffect 1s;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeEffect {
    from {opacity: 0.7;}
    to {opacity: 1;}
}

.testimonial-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 30px;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    margin-top: 20px;
    color: var(--secondary-color);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-button,
.next-button {
    background-color: white;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--primary-color);
    transition: var(--transition);
}

.prev-button:hover,
.next-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.slider-dots {
    display: flex;
    margin: 0 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(58, 139, 187, 0.9), rgba(58, 139, 187, 0.9)), url('../images/congregation.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    /* height: 60px; */
    max-width: 150px;
    margin: 0 auto;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 14px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after,
.footer-contact h3:after,
.footer-social h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .welcome-content {
        flex-direction: column;
    }
    
    .welcome-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .logo {
        margin-bottom: 15px;
        justify-content: center;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        top: 25px;
        right: 25px;
    }
    
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .service-card {
        min-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links h3:after,
    .footer-contact h3:after,
    .footer-social h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content {
        padding: 20px;
    }
}
