/* /css/style.css */
:root {
    --primary-color: #2c5282; /* Professional Blue */
    --secondary-color: #dce6de; /* Light Gray Background */
    --text-color: #2d3748;
    --white: #ffffff;
    --accent: #ed8936;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

/* Header & Nav */
header {
    /* Use Granite Basin as the header background, visible behind nav/text */
    /* Center image horizontally; anchor bottom to bottom of header, cropping top as needed */
    background: url('../images/Granite_Basin.jpg') center center / cover no-repeat, var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Increase header height (approximately double typical nav height) */
    min-height: 250px;
    display: flex;
    align-items: center; /* center nav vertically within the header */
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Lighter overlay so it blends more with the background image */
    background: rgba(0, 0, 0, 0.25);
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e2e8f0; /* light gray for contrast on dark overlay */
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    /* Match the site title color for visibility over the header image */
    color: var(--white);
}

/* Subtle hover for better affordance on mobile/desktop dev tools */
.menu-toggle:hover {
    color: #e2e8f0;
}

/* Main Layout */
main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
    /* Match legacy site: subtle tinted background instead of pure white */
    background: rgba(220, 230, 222, 0.85); /* slight color similar to --secondary-color */
    padding: 2rem;
    border-radius: 8px;
    min-height: 60vh;
}

h1, h2, h3 {
    color: var(--primary-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.btn:hover {
    background-color: #1a365d;
}

/* Contact Form */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}