/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f4f4f4;
}

/* Header Section */
header {
    background: #333;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    text-align: center;
}

/* Logo Positioned at the Left */
.logo-container {
    width: 100%;
    display: flex;
    justify-content: center; /* Center the logo */
    padding-left: 0; /* Remove left alignment */
}

.logo-container img {
    height: 60px;
}

/* Church Name */
h1 {
    margin: 10px 0;
    font-size: 24px;
}

/* Navigation */
nav {
    margin-top: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* Hero Section */
#hero {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Slider */
.slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Make the active image visible */
.slide.active {
    opacity: 1;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-controls button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
}

/* Sections */
section {
    padding: 40px 20px;
    background: white;
    margin: 10px auto;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-top: 20px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 10px;
}

/* Facebook Link */
footer a {
    color: #3b5998;
    font-weight: bold;
    text-decoration: none;
}

.social-icon {
    width: 24px; /* You can adjust this size */
    height: 24px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .logo-container {
        padding-left: 10px;
    }

    .logo-container img {
        height: 50px;
    }

    #hero {
        height: 250px;
    }

    .slider-controls button {
        font-size: 16px;
        padding: 8px;
    }

    section {
        padding: 20px 10px;
    }
}
