/* Real Utility, LLC - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-box: border-box;
}

:root {
    --primary-blue: #1e4d6b;
    --accent-gold: #2f694e;
    --text-dark: #3d3d3d;
    --text-medium: #555;
    --text-light: #666;
    --bg-light: #f8f8f8;
    --border: #e0e0e0;
}

body {
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #ffffff;
    font-weight: 400;
}

/* Header & Navigation - CONSISTENT across all pages */
header {
    background: #fff;
    border-bottom: 3px solid var(--primary-blue);
    padding: 1.5rem 0;  /* Matches the visual weight of overlay header */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: -0.5px;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
}

.logo img {
    height: 58px;
    width: auto;
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}

/* Overlaid Header for Homepage - REMOVES background but keeps same padding */
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    padding: 1.5rem 0;  /* SAME as standard header */
}

.header-overlay .logo {
    color: #fff;
    text-decoration: none;
}

.header-overlay .logo img {
    height: 58px;
    width: auto;
    display: block;
}

.header-overlay .nav-links a {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.header-overlay .nav-links a:hover,
.header-overlay .nav-links a.active {
    color: var(--accent-gold);
}

/* Page Banners - account for header height */
.page-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    margin-top: 76px; /* 1.5rem padding * 2 + approximate content height */
}

/* Mobile menu button for overlay */
.menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .page-banner {
        margin-top: 70px;
    }
}
/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent-gold);
    color: #fff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
}

.btn:hover {
    background: #6b510f;
}

.btn-light {
    background: #fff;
    color: var(--primary-blue);
}

.btn-light:hover {
    background: var(--primary-blue);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-blue);
}

/* FULL SCREEN HERO - Homepage */
.hero-full {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('hero-home.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 77, 107, 0.2);
}

.hero-full .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-full h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
}

.hero-full p {
    font-size: 1.4rem;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Page Banners */
.page-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    margin-top: 72px; /* Height of fixed header */
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 77, 107, 0.3);
}

.page-banner .banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 2rem;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Intro Sections */
.intro {
    padding: 5rem 0;
    background: var(--bg-light);
    text-align: center;
}

.intro h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: 300;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--text-medium);
    line-height: 1.8;
    font-weight: 300;
}

/* Service Grid */
.services {
    padding: 5rem 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 2.5rem;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card a {
    color: var(--accent-gold);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-card a:hover {
    text-decoration: underline;
}

/* Detail Sections */
.detail-section {
    padding: 5rem 0;
}

.detail-section:nth-child(even) {
    background: var(--bg-light);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.detail-content h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1px;
}

.detail-content p {
    margin-bottom: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.05rem;
}

.detail-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.detail-content li {
    margin-bottom: 0.75rem;
    color: var(--text-medium);
    font-size: 1.05rem;
}

.detail-image {
    height: 400px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

/* About Page Styles */
.about-intro {
    padding: 5rem 0;
    background: var(--bg-light);
    text-align: center;
}

.about-intro p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.3rem;
    color: var(--text-medium);
    line-height: 1.8;
    font-weight: 300;
}

.values {
    padding: 5rem 0;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-card h3 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.team {
    padding: 5rem 0;
    background: var(--bg-light);
}

.team-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-member {
    background: #fff;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.team-member:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.team-member h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-member .role {
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-member p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.contact-info {
    padding-top: 1rem;
}

.contact-info h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1px;
}

.contact-method {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.contact-method:last-of-type {
    border-bottom: none;
}

.contact-method h4 {
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.contact-method p {
    color: var(--text-dark);
    font-size: 1.15rem;
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-light);
    padding: 3rem;
}

.contact-form h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    background: #fff;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* CTA Sections */
.cta-section {
    background: var(--accent-gold);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background: #2c2c2c;
    color: #aaa;
    padding: 3rem 0 2rem;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-full h1 {
        font-size: 2rem;
    }

    .hero-full p {
        font-size: 1.1rem;
    }

    .page-banner {
        height: 50vh;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .detail-image {
        height: 300px;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .value-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    user-select: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        color: #1e4d6b;
    }
    
    .header-overlay .menu-toggle {
        color: #fff;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem 2rem;
        border-bottom: 3px solid var(--primary-blue);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .header-overlay .nav-links {
        background: rgba(30, 77, 107, 0.95);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
    
    .header-overlay .nav-links a {
        color: #fff;
    }
    
    .page-banner {
        margin-top: 70px;
    }
}
