/* 
   Activation Church - Main Stylesheet
   Colors: Medium Yellow (#FFD700), White (#FFFFFF), Black (#000000)
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.underline {
    height: 4px;
    width: 70px;
    background-color: #FFD700;
    margin: 0 auto;
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #FFD700;
    color: #000;
    border: 2px solid #FFD700;
}

.btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.btn-secondary {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background-color: #000;
    color: #fff;
}

.btn-tertiary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-tertiary:hover {
    background-color: #FFD700;
    color: #000;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #000;
}

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

.nav-links a {
    margin-left: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
}

.nav-links a:hover {
    color: #FFD700;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #000;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-buttons .btn-secondary {
    color: #fff;
    border-color: #fff;
}

.hero-buttons .btn-secondary:hover {
    background-color: #fff;
    color: #000;
}

/* About Section */
.about {
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #000;
}

.about-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Sermons Section */
.sermon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.sermon-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sermon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.sermon-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.sermon-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.sermon-card:hover .sermon-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    color: #000;
    font-size: 1.5rem;
}

.sermon-details {
    padding: 20px;
}

.sermon-details h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #000;
}

.sermon-date, .sermon-speaker {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 5px;
}

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

/* Announcements Section */
.announcements {
    background-color: #000;
    color: #fff;
}

.announcements .section-header h2 {
    color: #fff;
}

.announcement-slider {
    position: relative;
    overflow: hidden;
}

.announcement {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.announcement-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.announcement-content {
    flex: 1;
}

.announcement-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #FFD700;
}

.announcement-date {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 20px;
}

.announcement-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.announcement-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #FFD700;
}

/* Ministries Section */
.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.ministry-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.ministry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ministry-icon {
    width: 80px;
    height: 80px;
    background-color: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ministry-icon i {
    font-size: 2rem;
    color: #000;
}

.ministry-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #000;
}

.ministry-card p {
    margin-bottom: 20px;
    color: #666;
}

/* Location Section */
.location {
    background-color: #f9f9f9;
}

.location-content {
    display: flex;
    gap: 50px;
}

.map {
    flex: 3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-times {
    flex: 2;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-times h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #000;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
    margin-top: 30px;
}

.service-times h3:first-child {
    margin-top: 0;
}

.service-times p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #FFD700;
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.social-media {
    flex: 1;
}

.social-media h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #000;
}

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

.social-icon {
    width: 50px;
    height: 50px;
    background-color: #f9f9f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon i {
    font-size: 1.2rem;
    color: #000;
}

.social-icon:hover {
    background-color: #FFD700;
}

.newsletter {
    margin-top: 40px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    border-color: #FFD700;
    outline: none;
}

.newsletter-form button {
    padding: 12px 20px;
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #FFD700;
}

.footer-logo p {
    font-size: 1rem;
    color: #ccc;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #FFD700;
}

.footer-column a,
.footer-column p {
    display: block;
    margin-bottom: 10px;
    color: #ccc;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #777;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .about-content,
    .announcement,
    .location-content,
    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .sermon-grid,
    .ministry-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}