/* START OF FILE: style.css */

/* --- THEME COLORS & CONSTANTS --- */
:root {
    --color-primary-accent: #6E260E;   /* Rich Brown for headings and main accents */
    --color-secondary-accent: #BDB76B;  /* Muted Gold for secondary accents and hovers */
    --color-dark-base: #3C2A21;      /* Espresso Brown for footer and some text */
    --color-background-warm: #FFF8DC;     /* Ivory Cream for main content backgrounds */
    --color-background-neutral: #f9f9f9; /* Light gray for the overall page background */
    --color-text-main: #333333;        /* Dark Charcoal for body text */
    --color-white: #fff;               /* Pure white */
    --color-border-light: #EAE3D2;    /* A light border color that complements the warm theme */
}

/* Basic Reset & Global Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-background-neutral);
}

h1, h2, h3 { font-family: 'Merriweather', serif; margin-bottom: 0.75em; }
h1 { font-size: 3em; color: var(--color-white); }
h2 { font-size: 2.2em; color: var(--color-primary-accent); text-align: center; margin-bottom: 1em; }
h3 { font-size: 1.5em; color: var(--color-secondary-accent); }
p { margin-bottom: 1em; }
.section-intro { text-align: center; max-width: 600px; margin: 0 auto 1em; color: #555; font-size: 1.1em; }
section { padding: 40px 20px; max-width: 1000px; margin: 0 auto; }

#navbar-placeholder { position: sticky; top: 0; z-index: 1000; }
.navbar { background-color: var(--color-white); box-shadow: 0 2px 4px rgba(0,0,0,0.1); padding: 0 20px; display: flex; justify-content: space-between; align-items: center; height: 70px; }
.nav-brand { font-family: 'Merriweather', serif; font-size: 1.5em; color: var(--color-dark-base); text-decoration: none; font-weight: 700; display: flex; align-items: center; }
.nav-logo { height: 45px; width: auto; margin-right: 12px; }
.nav-links { list-style: none; display: none; flex-direction: column; width: 100%; position: absolute; top: 70px; left: 0; background-color: var(--color-white); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.nav-links.nav-links-active { display: flex; }
.nav-links li { width: 100%; text-align: center; border-top: 1px solid #f0f0f0; }
.nav-links li a { display: block; padding: 20px 15px; text-decoration: none; color: var(--color-text-main); font-weight: 600; transition: color 0.3s, background-color 0.3s; }
.nav-links li a:hover { color: var(--color-white); background-color: var(--color-secondary-accent); }
.hamburger-menu { display: block; font-size: 1.8em; color: var(--color-dark-base); background: none; border: none; cursor: pointer; }
@media (min-width: 768px) { .hamburger-menu { display: none; } .nav-links { display: flex; flex-direction: row; position: static; width: auto; background-color: transparent; box-shadow: none; } .nav-links li { width: auto; border-top: none; } }

#hero { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero.png'); background-size: cover; background-position: center; color: var(--color-white); text-align: center; padding: 100px 20px; display: flex; justify-content: center; align-items: center; }
#hero .address { font-size: 1.2em; margin-bottom: 0.5em; }
#hero .tagline { font-size: 1.4em; font-style: italic; }

.page-header { padding-top: 60px; padding-bottom: 60px; }
#pastor-message { background-color: var(--color-background-warm); }
#pastor-message .pastor-content { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; text-align: left; }
.pastor-photo { border-radius: 50%; width: 200px; height: 200px; object-fit: cover; border: 5px solid var(--color-white); box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin: 0 auto 20px auto; }
.pastor-text { flex: 1; min-width: 300px; }

#service-times { background-color: var(--color-background-warm); }
.times-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; text-align: center; }
.time-item { background-color: var(--color-white); border: 1px solid var(--color-border-light); padding: 20px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

#connect { text-align: center; background-color: #ffffff; /* Kept light gray-blue for contrast, can be changed */ }
.connect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 800px; margin: 30px auto 0; }
.connect-button { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px 15px; text-decoration: none; border-radius: 8px; background-color: transparent; border: 2px solid var(--color-primary-accent); color: var(--color-primary-accent); transition: all 0.3s ease; }
.connect-button:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); background-color: var(--color-primary-accent); color: var(--color-white); }
.connect-button i { font-size: 2.5em; margin-bottom: 10px; }
.connect-button span { font-weight: 600; }

#directions { background-color: var(--color-background-warm); }
.map-container { position: relative; padding-bottom: 50%; height: 0; overflow: hidden; max-width: 100%; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

#downloads-page { background-color: var(--color-background-warm); }
.downloads-subtitle { text-align: center; margin-top: 40px; margin-bottom: 20px; color: var(--color-primary-accent); border-bottom: 2px solid var(--color-border-light); padding-bottom: 10px; }
.downloads-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.download-tile { background-color: var(--color-white); border: 1px solid var(--color-border-light); border-radius: 8px; padding: 25px; text-align: center; text-decoration: none; color: var(--color-text-main); box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.download-tile:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); }
.download-tile i { font-size: 2.5em; color: var(--color-primary-accent); margin-bottom: 15px; }
.download-tile i.fa-wpforms { color: var(--color-secondary-accent); }
.download-tile h3 { color: var(--color-dark-base); }
.download-tile p { font-size: 0.95em; line-height: 1.5; color: #555; margin-bottom: 0; }

footer { background-color: var(--color-dark-base); color: #ecf0f1; text-align: center; padding: 40px 20px; }
footer p { margin-bottom: 0.5em; font-size: 0.9em; }
.social-icons { margin-bottom: 20px; }
.social-icons a { color: var(--color-white); font-size: 1.8em; margin: 0 15px; text-decoration: none; transition: color 0.3s ease; }
.social-icons a:hover { color: var(--color-secondary-accent); }

@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 1.8em; }
    #hero { padding: 80px 20px; }
    .times-grid, .connect-grid, .downloads-grid { grid-template-columns: 1fr; }
}

/* END OF FILE: style.css */