/*
Theme Name: Schultz Engineering Associates, Inc.
Author: [Your Name]
Description: A professional nautical theme for Schultz Engineering Associates, Inc.
Version: 1.1
*/

/* --- CSS Variables (Your Nautical Color Palette) --- */
:root {
    --navy-blue: #0A2F5B;
    --sky-blue: #0077BE;
    --pure-white: #FFFFFF;
    --light-gray-bg: #f0f4f8;
    --dark-text: #333333;
    --light-text: #f8f9fa;
}

/* --- Global Styles --- */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    background-color: var(--light-gray-bg);
    color: var(--dark-text);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--navy-blue);
    font-weight: 700;
}

a {
    color: var(--sky-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--navy-blue);
}

.button {
    display: inline-block;
    background-color: var(--sky-blue);
    color: var(--pure-white);
    padding: 12px 30px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: var(--navy-blue);
    color: var(--pure-white);
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--pure-white);
    padding: 1rem 0;
    border-bottom: 3px solid var(--sky-blue);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.site-logo img {
    max-height: 70px; /* Adjust logo height */
    width: auto;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--navy-blue);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav .current-menu-item a {
    border-bottom: 2px solid var(--sky-blue);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--navy-blue);
    color: var(--light-text);
    padding: 3rem 0;
    font-size: 0.9rem;
}

.site-footer .container {
    text-align: center;
}
.site-footer a {
    color: var(--pure-white);
}


/* --- Front Page Specific --- */
.hero {
    background: var(--navy-blue) url('') no-repeat center center/cover;
    color: var(--pure-white);
    text-align: center;
    padding: 8rem 1.5rem;
    position: relative;
}
.hero::before { /* Dark overlay for readability */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 47, 91, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: 3.5rem;
    color: var(--pure-white);
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}
.service-item {
    background: var(--pure-white);
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.service-item .icon { font-size: 3rem; color: var(--sky-blue); } /* For icon fonts */

/* --- Page & Post Styles --- */
.page-header {
    background: var(--pure-white);
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.page-header h1 { margin: 0; }

.page-content, .post-content {
    background: var(--pure-white);
    padding: 2.5rem;
    margin-top: 2rem;
    border: 1px solid #ddd;
}
.post-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .site-header .container { flex-direction: column; gap: 1rem; }
    .hero h1 { font-size: 2.5rem; }
}