/* --- 1. Global Reset & Variables --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Calming/Professional Palette */
    --color-primary: #87CEEB; /* Dodger Blue - main accents/CTA */
    --color-secondary: #008080; /* Teal - navigation/headers */
    --color-text: #333;
    --color-white: #FFFFFF;
	--color-black: #000000;
    --color-crisis: #8B0000;
    --color-banner: #7FFFD4;
}

body {
    font-family: Verdana, 'Helvetica Neue', Arial, sans-serif; 
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

a {
  text-decoration: none;
}

h1.tagline{
	 color: var(--color-white); 
	font-size: 48px;
	text-align:left;
	 
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* **RESPONSIVE IMAGE STYLING for all images** */
img {
    max-width: 100%;
    height: auto;
    display: block;
	
}

/* Specific rule for the logo image to ensure responsiveness */
.logo img {
    max-width: 100%;
    height: auto;
    max-height: 50px; /* Limit height on desktop */
    width: auto;
	padding-right: 10px;
	margin-right: 10px;
}

/* --- 2. Prominent Location Banner --- */
.location-banner {
    background-color: #87CEFA; 
    color: #ffffff;
    padding: 0.75rem 0;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

/* --- 3. Header and Navigation --- */
header {
    background-color: var(--color-primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
padding-right: 100px;
	padding-left: 1px;
}

nav ul {
    list-style: none;
    display: flex; /* Desktop: horizontal navigation */
}

nav ul li a {
    text-decoration: none;
    color: var(--color-secondary);
    color: var(--color-secondary);
    padding: 1rem 1.1rem;
    display: block;
	font-size: 24px;
    transition: background-color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- 4. Home Page Hero Section --- */
.hero-image {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #c3e2f5; 
    z-index: 0;
    /* You would add your image here via background-image */
}

.hero-overlay {
    position: relative;
    z-index: 10;
    padding: 3rem 1rem;
    text-align: center;
    color: var(--color-black);
	background-image: url("background2.jpg");
	  background-size: contain; /* Scales the image to fit entirely within the element */
  background-size: cover;
  background-position: center;
    /*background-color: #ADD8E6; *//* Semi-transparent overlay */
    width: 100%;
}

.intro-imagine {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    font-weight: 300;
}

.tagline {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-banner); 
}

.mission-statement {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem 1rem;
    margin-bottom: 1px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
	font-size: 24px;
    transition: background-color 0.3s;
}

.cta-button.primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.cta-button.secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.or-divider {
    color: var(--color-white);
    margin: 0.5rem 0;
    font-weight: 600;
}

.services-intro {
    padding: 3rem 0;
    text-align: center;
}

/* --- 5. Footer & Repeated Elements --- */
footer {
    background-color: #f4f4f4;
    padding: 2rem 0;
    position: relative; 
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; 
}

/* Emergency Contact Styles */
.emergency-contact-block {
    flex-basis: 75%; 
    font-size: 0.85rem; 
    color: var(--color-crisis); 
    padding-right: 20px;
}

.emergency-contact-block p {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.emergency-contact-block ul {
    list-style: none;
    line-height: 1.5;
}

.legal {
    flex-basis: 20%;
    text-align: right;
    font-size: 0.75rem;
    color: var(--color-text);
}

/* Custom CSS Christian Cross Icon (Bottom Right) */
.cross-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 25px;
    height: 25px;
}

.cross-icon::before,
.cross-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-primary); 
    border-radius: 2px;
}

/* Vertical bar */
.cross-icon::before {
    width: 4px;
    height: 100%;
    left: 50%;
    margin-left: -2px;
}

/* Horizontal bar (placed higher to create the cross shape) */
.cross-icon::after {
    height: 4px;
    width: 80%; 
    top: 15%; 
    left: 10%;
    right: 10%;
}

/* --- 6. Media Query for Responsiveness (Mobile) --- */
@media (max-width: 768px) {
    
    header .container {
        flex-wrap: wrap; /* Allows logo and menu toggle to stack */
    }

    .logo {
        flex-grow: 1; /* Ensures logo takes available space on the left */
    }
    
    /* Hide the full navigation list by default on mobile */
    nav {
        display: none; 
        width: 100%; 
        order: 3;    /* Forces menu to appear below logo and toggle */
        background-color: var(--color-secondary);
    }

    /* Show the navigation when the 'nav-open' class is toggled by JS */
    header.nav-open nav {
        display: block; 
    }

    nav ul {
        flex-direction: column; /* Stack menu items vertically */
        padding: 0;
    }

    nav ul li {
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav ul li:first-child {
        border-top: none;
    }

    /* Show the hamburger icon */
    .menu-toggle {
        display: block;
    }

    /* Existing Mobile Styles */
    .location-banner p {
        font-size: 0.85rem;
    }
    
    .hero-overlay {
        padding: 2rem 1rem;
    }

    .tagline {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .emergency-contact-block {
        flex-basis: 100%;
        padding-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .legal {
        flex-basis: 100%;
        text-align: center;
    }
    
    .cross-icon {
        bottom: 5px; 
        right: 50%;
        transform: translateX(50%);
    }
}