/* Main Page Style Header & Footer for Subpages */

/* Header Styles - Matching Main Page */
.main-header {
    background: white;
    border-bottom: 1px solid rgba(28, 28, 28, 0.15);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.main-header__logo {
    grid-column: 2;
    text-align: center;
}

.main-header__logo img {
    max-width: 50px;
    height: auto;
}

.main-header__primary-nav {
    grid-column: 1;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-header__secondary-nav {
    grid-column: 3;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-end;
}

.main-header__nav-link {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 400;
    transition: opacity 0.2s;
}

.main-header__nav-link:hover {
    opacity: 0.7;
}

.main-header__icon {
    width: 24px;
    height: 24px;
    color: #2c2c2c;
}

/* Footer Styles - Matching Main Page */
.main-footer {
    background: #f8f8f8;
    padding: 3rem 1.5rem 2rem;
    margin-top: 4rem;
}

.main-footer .container {
    max-width: 1400px;
    margin: 0 auto;
}

.main-footer__inner {
    display: grid;
    grid-template-columns: 180px 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.main-footer__logo-col img {
    max-width: 180px;
    height: auto;
}

.main-footer__col h3 {
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.main-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer__col li {
    margin-bottom: 0.5rem;
}

.main-footer__col a {
    color: #666;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.2s;
}

.main-footer__col a:hover {
    color: #2c2c2c;
}

.main-footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.8em;
    color: #999;
    text-align: center;
}

.main-footer__bottom a {
    color: #666;
    text-decoration: none;
}

.main-footer__bottom a:hover {
    color: #2c2c2c;
}

/* Mobile Responsive */
@media (max-width: 1000px) {
    .main-header .container {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }
    
    .main-header__logo {
        grid-column: 1;
    }
    
    .main-header__primary-nav {
        grid-column: 2;
        justify-content: center;
        font-size: 0.85em;
        gap: 1rem;
    }
    
    .main-header__secondary-nav {
        grid-column: 3;
        gap: 1rem;
    }
    
    .main-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
    
    .main-footer__logo-col {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .main-header__primary-nav {
        display: none;
    }
    
    .main-header .container {
        grid-template-columns: 1fr auto;
    }
    
    .main-footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .main-footer__col h3 {
        margin-top: 1.5rem;
    }
}
