/* --- Variables for Easy Branding --- */
:root {
    --primary-green: #044709;
    --secondary-blue: #28B2D5;
    --dark-navy: #12364E;
    --light-gray: #f4f7f6;
    --white: #ffffff;
    --text-color: #333333;
    --transition: all 0.3s ease;
}

/* --- Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden; /* Prevents horizontal scrolling on mobile */
}

/* --- Typography --- */
h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* --- Layout Containers --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* --- Navigation --- */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    padding: 15px 0;
    text-align: center;
}

.logo-container img {
    max-height: 60px;
    width: auto;
}

nav {
    background: var(--primary-green);
    padding: 10px 0;
}

nav { 
    display: flex; 
    flex-direction: column; /* Stack title and menu vertically */
    align-items: center; 
    background: #f8f9fa; 
    padding: 10px; 
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
    padding: 0; 
    margin: 0; 
}
.container .gallery-header.text-center {
	background-color: #C5CFB4;
	text-align: center;
	color: #044709;
}
body strong {
}
body strong {
}
body h1 {
	color: rgba(51,153,79,1.00);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-links { 
        display: none; /* Hide by default on mobile */
        flex-direction: column; 
        width: 100%; 
        text-align: center;
        background-color: #2f9c51;
        padding: 15px 0;
        border-top: 1px solid #ddd;
    }

    /* This class is toggled by JS */
    .nav-links.show { 
        display: flex !important; 
    }

    .menu-toggle { 
        display: block; /* Show button only on mobile */
        margin: 10px auto;
        padding: 8px 15px;
        background-color: var(--primary-color);
        color: white;
        border-radius: 4px;
    }

    .title-img {
        max-width: 80%; /* Ensure title image doesn't bleed off screen */
    }
}


.menu-toggle {
    display: none; /* Hidden on desktop */
    margin: 0 auto;
    background: none;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 5px 15px;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(4, 71, 9, 0.8), rgba(4, 71, 9, 0.8)), 
                url('../images/hero-bg.jpg') center/cover; /* Ensure you have a background image */
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background: var(--secondary-blue);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    border: none;
}

/* --- Services Grid --- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    border-bottom: 4px solid var(--primary-green);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-top: 15px;
}

/* --- Contact Form --- */
form {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

/* --- Footer --- */
footer {
    background: var(--dark-navy);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Tablets (Portrait) and Phones */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none; /* Hide menu by default on mobile */
        flex-direction: column;
        gap: 0;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links.show {
        display: flex; /* Shown via JavaScript toggle */
    }

    .nav-links li {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .container {
        width: 95%;
    }
}

/* Smaller Phones */
@media (max-width: 480px) {
    .hero {
        padding: 60px 10px;
    }
    
    .card img {
        height: 150px;
    }
}
