/* Simple reset for consistent spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Varela Round', sans-serif; /* Varela Round font */
    line-height: 1.5;
    background-color: #FFFFFF;
}

/* YELLOW BANNER STYLES - using F1B24A */
.top-banner {
    background-color: #F1B24A; /* warm gold */
    padding: 0.75rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* left side: contact info */
.banner-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    font-weight: 500;
    color: #164A41; /* dark green */
    font-size: 1.1rem;
    margin-left: 0;
    padding-left: 0;
}

.banner-contact span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: 'Varela Round', sans-serif;
}

/* subtle separator between phone and address */
.contact-phone::after {
    content: "•";
    margin-left: 1.2rem;
    color: #4D774E; /* medium green */
    font-weight: bold;
    display: inline-block;
}

/* right side: facebook link */
.facebook-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFFb3;
    padding: 0.3rem 0.7rem 0.3rem 0.5rem;
    border-radius: 40px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
    border: 1px solid #4D774E;
    font-family: 'Varela Round', sans-serif;
}

.facebook-link:hover {
    background-color: #FFFFFF;
    transform: scale(1.02);
    border-color: #3b5998;
}

/* main content area */
main {
    max-width: 1200px;
    margin: 2rem auto 0.5rem 2rem;
    padding: 0 1rem;
}

h1 {
    color: #164A41;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    text-align: left;
    font-family: 'Varela Round', sans-serif;
}

/* FULL-WIDTH NAVIGATION BAR - using 164A41 */
.full-width-nav {
    width: 100%;
    background-color: #164A41; /* dark green */
    margin: 1rem 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

/* Church name left aligned */
.church-name {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    font-family: 'Varela Round', sans-serif;
}

/* Horizontal navigation - right aligned */
.horizontal-nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.horizontal-nav li {
    height: 100%;
    display: flex;
    align-items: center;
}

.horizontal-nav li a {
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    text-decoration: none;
    font-weight: 500;
    height: 100%;
    transition: background-color 0.2s;
    font-family: 'Varela Round', sans-serif;
}

/* Hover for nav items - using 4D774E */
.horizontal-nav li a:hover {
    background-color: #4D774E; /* medium green */
}

/* DROPDOWN STYLES */
.dropdown {
    position: relative;
    height: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #164A41;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-top: 1px solid #4D774E;
    height: auto !important;
    font-family: 'Varela Round', sans-serif;
}

.dropdown-content a:hover {
    background-color: #4D774E;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* IMAGE STYLES - with overlay container */
.image-wrapper {
    width: 100%;
    margin: 2rem 0;
    padding: 0;
}

.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.church-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border: none;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4); /* semi-transparent overlay */
    color: white;
    text-align: center;
    padding: 2rem;
}

.overlay-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Times New Roman', Times, serif; /* Times New Roman as requested */
    max-width: 800px;
}

.overlay-verse {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Varela Round', sans-serif; /* Varela Round */
    font-style: italic;
    max-width: 600px;
}

.overlay-button {
    display: inline-block;
    background-color: transparent;
    color: white;
    text-decoration: none;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    border: 2px solid white;
    font-size: 1.3rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Varela Round', sans-serif; /* Varela Round */
}

.overlay-button:hover {
    background-color: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

/* THREE COLOR BLOCK OPTIONS SECTION */
.color-blocks-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.block {
    flex: 1 1 250px;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.block:hover {
    transform: translateY(-5px);
}

.block h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Varela Round', sans-serif;
}

.block p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-family: 'Varela Round', sans-serif;
}

.block-btn {
    display: inline-block;
    background-color: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    border: 2px solid white;
    transition: background-color 0.3s;
    font-family: 'Varela Round', sans-serif;
}

.block-btn:hover {
    background-color: rgba(255,255,255,0.3);
}

.block-new-here {
    background-color: #F1B24A; /* warm gold */
}

.block-who-we-are {
    background-color: #9DC88D; /* light green */
}

.block-service-times {
    background-color: #4D774E; /* medium green */
}

/* WHITE SPACE MESSAGE */
.white-space-message {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    text-align: center;
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 3px solid #F1B24A;
}

.white-space-message h2 {
    font-size: 2.2rem;
    color: #164A41;
    margin-bottom: 1rem;
    font-family: 'Varela Round', sans-serif;
}

.white-space-message p {
    font-size: 1.3rem;
    color: #4D774E;
    font-style: italic;
    font-family: 'Varela Round', sans-serif;
}

/* FOOTER SECTION */
.church-footer {
    background-color: #164A41;
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #F1B24A;
    font-family: 'Varela Round', sans-serif;
}

.footer-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Varela Round', sans-serif;
}

.footer-info i {
    color: #F1B24A;
    width: 20px;
}

.footer-social h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #F1B24A;
    font-family: 'Varela Round', sans-serif;
}

.footer-facebook {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #4D774E;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    transition: background-color 0.3s;
    font-family: 'Varela Round', sans-serif;
}

.footer-facebook:hover {
    background-color: #9DC88D;
    color: #164A41;
}

.footer-facebook i {
    font-size: 1.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid #4D774E;
}

.footer-bottom p {
    font-family: 'Varela Round', sans-serif;
}

/* VISITORS SECTION STYLES */
.visitors-content {
    max-width: 1000px;
    margin: 2rem auto 2rem 2rem;
    padding: 0 2rem 2rem 2rem;
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #F1B24A;
}

.visitors-content h2 {
    color: #164A41;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    padding-top: 2rem;
    border-bottom: 3px solid #F1B24A;
    padding-bottom: 0.5rem;
    font-family: 'Varela Round', sans-serif;
}

.visitors-content h3 {
    color: #164A41;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
    color: #4D774E;
    font-family: 'Varela Round', sans-serif;
}

.welcome-message {
    font-size: 1.3rem;
    color: #164A41;
    background-color: #9DC88D30;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    font-weight: 500;
    border-left: 5px solid #4D774E;
    font-family: 'Varela Round', sans-serif;
}

.info-section {
    margin-bottom: 2rem;
}

.info-section p {
    font-size: 1.1rem;
    color: #164A41;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    padding-left: 1rem;
    font-family: 'Varela Round', sans-serif;
}

.closing {
    font-size: 1.2rem;
    font-weight: 500;
    color: #164A41;
    background-color: #F1B24A30;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 2px solid #F1B24A;
    font-family: 'Varela Round', sans-serif;
}