/* =========================================
   CSS Variables (Color Palette: "The Oasis")
   ========================================= */
:root {
    --primary-color: #1b4d3e;   /* Deep Forest Green */
    --secondary-color: #a8e6cf; /* Soft Mint/Sage */
    --accent-color: #ff8a5b;    /* Warm Sunset Orange */
    --text-color: #333333;      /* Standard Dark Gray for readability */
    --bg-color: #f0f7f4;        /* Pale green-tinted background */
    --white: #ffffff;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    scroll-behavior: smooth;
}

/* =========================================
   Google Fonts fallback note:
   Loaded via <link> in HTML head
   ========================================= */

/* =========================================
   Header & Navigation
   ========================================= */
header {
    background: var(--primary-color);
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

h1 {
    color: var(--white);
    margin-bottom: 6px;
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
}

.subtitle {
    font-style: italic;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2e7d5e 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h2 {
    color: var(--white);
    border-bottom: none;
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.hero .cta-button {
    margin-top: 30px;
    font-size: 1rem;
}

/* =========================================
   Main Layout & Bilingual Cards
   ========================================= */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.bilingual-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.lang-card {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(27,77,62,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lang-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(27,77,62,0.15);
}

h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h3 {
    color: var(--primary-color);
    margin: 20px 0 10px 0;
}

/* Section labels between content blocks */
.section-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
    margin-bottom: 16px;
}

ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

/* =========================================
   Photo Gallery Section
   ========================================= */
.gallery-section {
    text-align: center;
    margin-bottom: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.03); /* Slight zoom on hover */
}

/* =========================================
   Call to Action (CTA) Section
   ========================================= */
.cta-section { 
    text-align: center; 
    /* This adds the background image with a semi-transparent dark overlay for readability */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('images/gracious-giving.jpeg') no-repeat center center/cover;
    padding: 60px 20px; 
    border-radius: 8px; 
    margin-top: 40px; 
    color: var(--white); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.cta-section h2 {
    color: var(--white); 
    border-bottom: none; /* Removes the underline for a cleaner look over the image */
    margin-bottom: 15px;
}

.cta-button { 
    display: inline-block; 
    background: var(--accent-color); 
    color: var(--white); 
    padding: 15px 30px; 
    text-decoration: none; 
    font-weight: bold; 
    border-radius: 5px; 
    margin-top: 20px; 
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #e6754a; /* Darkens the button slightly when hovered */
    transform: translateY(-2px);
}

/* =========================================
   Footer
   ========================================= */
footer {
    background: var(--primary-color);
    color: var(--white);
    margin-top: 40px;
    padding: 40px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}

.footer-col .phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 16px;
    max-width: 1000px;
    margin: 0 auto;
}
