:root {
    --text: #1a1a1a;
    --accent: #008080;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

/* NAV LOGO FIX (Crucial) */
.nav-logo { 
    height: 45px; 
    width: auto; 
}

.main-nav {
    display: flex;
    justify-content: space-between;
    padding: 25px 5%;
    align-items: center;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
}

/* HERO LAYOUT */
.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    padding: 60px 5%;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 50px;
}

.giant-range {
    font-size: clamp(6rem, 12vw, 12rem);
    font-weight: 900;
    line-height: 0.8;
    margin: 0;
    letter-spacing: -6px;
}

/* THE FIX FOR THE SUB-LINE */
.sub-line-v2 {
    display: flex;
    justify-content: space-between; /* This creates the perfect alignment */
    width: 100%;
    font-weight: 800;
    font-size: 1.4rem;
    margin-top: 10px;
    letter-spacing: normal; /* We let Flexbox handle spacing, not the font */
}

.hero-divider {
    height: 6px;
    background: var(--text);
    width: 380px;
    margin: 40px 0 20px 0;
}

.tagline {
    font-size: 1.6rem;
    font-weight: 500;
}

/* IMAGE CONSTRAINTS */
.mosaic-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

/* MOBILE FIX */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-divider { margin: 30px auto; }
    .sub-line-v2 { font-size: 1rem; }

    /* Add this to home.css, about.css, and services.css */
.nav-logo { 
    height: 45px !important; /* Forces the height regardless of other rules */
    width: auto; 
    max-width: 200px;
    display: block;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}
}
