/* CSS Variables */
:root {
    --primary-color: #1a3a5a; /* Deep Blue */
    --secondary-color: #4a7c59; /* Muted Green */
    --accent-color: #f2a900; /* Yellow/Gold Accent */
    --bg-color: #f9f9f9;
    --text-color: #333333;
    --light-gray: #e0e0e0;
    --white-color: #ffffff;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Roboto', sans-serif;
}

/* Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent-color);
}

ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

img.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Header & Navigation */
.site-header {
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--heading-font);
    font-weight: 600;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 700; /* Bolder to indicate active page */
}

.nav-link:hover::before {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: all 0.3s ease-in-out;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    left: 0;
    transition: all 0.3s ease-in-out;
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Main Content & Sections */
main section {
    padding: 4rem 0;
}
main section:nth-child(even) {
    background-color: var(--white-color);
}

.subheadline {
    font-size: 1.2rem;
    max-width: 800px;
}

/* Home Page Specific */
.hero {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 6rem 0;
    text-align: center;
}
.hero h1 { color: var(--white-color); }
.hero .subheadline { margin: 1.5rem auto; }
.quick-info {
    margin-top: 2rem;
    font-family: var(--heading-font);
    font-weight: 600;
    opacity: 0.9;
}
.quick-info span {
    margin: 0 1rem;
    display: inline-block;
}

/* Services Page Specific */
.page-title-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3rem 0;
}
.page-title-section h1, .page-title-section .subheadline {
    color: var(--white-color);
}

.services-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 851px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-overview {
    background-color: var(--white-color);
}

.pricing-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
}

.pricing-column {
    flex: 1;
    min-width: 280px;
}

.pricing-column h3 {
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.price-point {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-point strong {
    font-size: 2.2rem;
}

.price-subtext {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 1rem;
}

.features-list,
.hauling-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li,
.hauling-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
}

.features-list .checkmark {
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.75rem;
    line-height: 1.4;
}

.hauling-list li strong {
    font-weight: 600;
    color: var(--primary-color);
}

.service-card, .pricing-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    flex-grow: 1;
}

.service-card.premium {
    border-left: 5px solid var(--accent-color);
}

.pricing-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.price-detail {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
}

.who-we-serve ul {
    columns: 2;
    list-style: none;
    padding-left: 0;
}

.who-we-serve li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.who-we-serve p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 2rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.client-card {
    background-color: var(--white-color);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    text-align: center;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    border: 1px solid var(--light-gray);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* About Us page specific */
.meet-founder {
    background-color: var(--white-color);
}
.founder-section {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
    text-align: center;
}
.founder-section h3 {
    margin-bottom: 1.5rem;
}
.founder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}
.founder-image-container {
    flex-shrink: 0;
    width: 200px;
}
.founder-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}
.founder-bio {
    flex-grow: 1;
}
.founder-bio h3 {
    margin-top: 0;
}
.linkedin-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.linkedin-link:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.founder-section-mobile {
    display: none;
}

/* Materials Page Specific */
.content-columns {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.column-text { flex: 1; }

.column-image { display: none; }

.highlight-box {
    background-color: #e8f0fe;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 4px;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 3rem 0;
}

.site-footer h3 {
    color: var(--white-color);
}

.site-footer a {
    color: var(--accent-color);
}

.site-footer a:hover {
    color: var(--white-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 850px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .main-nav.active {
        max-height: 500px; /* Arbitrary large value */
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-link:hover, .nav-link.active {
        background-color: var(--bg-color);
        color: var(--primary-color); /* Make text color consistent on hover */
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-link:hover::before, .nav-link.active::before {
        transform: scaleX(0); /* Disable the scale effect for mobile dropdown */
    }

    .nav-toggle { display: block; }

    .nav-toggle.active .hamburger {
        background-color: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .founder-section {
        display: none;
    }

    .founder-section-mobile {
        display: block; /* Show this version on mobile */
        padding: 2rem 0;
        background-color: var(--bg-color);
        border-radius: 8px;
        border: 1px solid var(--light-gray);
        text-align: center;
    }

    .founder-content-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1.5rem;
    }

    .founder-image-container-mobile {
        width: 120px;
        margin-bottom: 1.5rem;
    }

    .founder-image-mobile {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
    
    .founder-bio-mobile {
        max-width: 400px; /* Limits width on larger mobile screens */
    }

    .founder-section {
        display: none;
    }

    .founder-section-mobile {
        display: block; /* Show this version on mobile */
        padding: 2rem 0;
        background-color: var(--bg-color);
        border-radius: 8px;
        border: 1px solid var(--light-gray);
        text-align: center;
    }

    .founder-content-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1.5rem;
    }

    .founder-image-container-mobile {
        width: 120px;
        margin-bottom: 1.5rem;
    }

    .founder-image-mobile {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
    
    .founder-bio-mobile {
        max-width: 400px; /* Limits width on larger mobile screens */
    }

    .content-columns {
        flex-direction: column;
    }

    .who-we-serve ul {
        columns: 1;
    }
}

@media (min-width: 601px) and (max-width: 850px) {
    .founder-section {
        flex-direction: row; /* Horizontal layout for tablets */
        text-align: left;
    }

    .founder-image-container {
        flex-basis: 150px; /* Tablet-specific size */
        width: 150px;
        flex-shrink: 0;
    }

    .founder-bio {
        text-align: left;
    }
}

@media (min-width: 851px) {
    .header-container {
        position: relative;
    }
    .main-nav {
        flex-grow: 1; /* Allow nav to take up space */
    }

    .main-nav .nav-list {
        justify-content: center;
    }

    .header-container .logo-link {
        flex-shrink: 0; /* Prevent logo from shrinking */
    }
    .header-container .nav-toggle {
        visibility: hidden; /* Keep space but hide button */
        flex-shrink: 0; /* Prevent toggle from shrinking */
    }
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}