/* 
 * NORTHMARK PROPERTY INSPECTIONS 
 * Global Stylesheet (style.css)
 * 
 * Color Palette based on logo:
 *   Teal: #176B87 
 *   Golden Yellow: #EEA014
 *   Dark Teal (Body Text): #0A2F3D
 *   Light Gray (Alt Background): #F4F8F9
 *   White (Primary Background): #FFFFFF
 */

/* General Reset & Accessibility */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-teal: #176B87;
    --secondary-gold: #EEA014;
    --dark-text: #0A2F3D;
    --alt-bg: #F4F8F9;
    --white: #FFFFFF;
}

body {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);
}

/* Common Layout Elements */
header, footer, main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 0.8rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

/* Links & Buttons */
a {
    text-decoration: none;
    color: var(--primary-teal);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-gold);
}

.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-teal);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: center;
}

.button:hover {
    background-color: #114F60; /* Darker teal hover */
    color: var(--white);
}

.button-alt {
    background-color: var(--secondary-gold);
    color: var(--white);
}

.button-alt:hover {
    background-color: #BF7B10; /* Darker gold hover */
    color: var(--white);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: relative;
    border-bottom: 2px solid #EEE;
}

.logo img {
    max-height: 150px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    font-weight: 700;
    color: var(--primary-teal);
    text-transform: uppercase;
    font-size: 0.95rem;
}

nav a:hover, nav a.active {
    color: var(--secondary-gold);
}

/* Main Content Area */
main {
    padding: 40px 20px;
}

.section-hero {
    background-color: var(--alt-bg);
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
}

.section-cta {
    background-color: var(--primary-teal);
    color: var(--white);
    padding: 50px 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
}

.section-cta h2, .section-cta p {
    color: var(--white);
}

/* Multi-column Services Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    border: 1px solid #EEE;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Image styling */
.img-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--alt-bg);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #AAA;
    font-size: 1.2rem;
    border: 2px dashed #CCC;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--alt-bg);
    border-top: 2px solid #EEE;
    padding: 40px 20px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-nav a {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-details, .copy-info {
    font-size: 0.95rem;
    color: #666;
}