/*
Home Page Only Styles - OntimeCP
Isolated for home/front-page - no impact on member views
Version: 1.0
*/

body.home,
body.front-page {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #000000;
}

.home-header.site-header {
    background-color: #2c3e50;
    padding: 4px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.home-header .site-branding {
    flex-shrink: 0;
}

.home-header .site-logo-link {
    display: block;
}

.home-header .site-logo {
    height: 58px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    display: block;
}

.home-header .ocp-clock {
    color: #ffffff;
    font-size: 0.9em;
    white-space: nowrap;
    margin-left: 10px;
    margin-right: 12px;
}

.home-header .main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.home-header .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-header .nav-menu li {
    margin: 0;
}

.home-header .nav-button {
    color: #000000;
    text-decoration: none;
    padding: 8px 12px;
    background-color: #ffffff;
    border: 1px solid #4169e1;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    transition: background-color 0.3s;
    min-width: 95px;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
    box-sizing: border-box;
}

.home-header .nav-button:hover {
    background-color: #e0e0e0;
}

.home-header .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #00ffcc;
    font-size: 1.6em;
    cursor: pointer;
    padding: 0 8px;
}

/* Mobile fallback */
@media (max-width: 1023px) {
    .home-header.site-header {
        padding: 6px 12px;
        height: auto;
        flex-wrap: wrap;
    }
    .home-header .nav-menu {
        display: none;
    }
    .home-header .ocp-clock {
        display: none;
    }
    .home-header .site-logo {
        height: 16px;
        max-width: 90px;
    }
    .home-header .menu-toggle {
        display: block;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Home hero & content - unchanged but scoped */
.home .hero {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
}

.home .hero h1 {
    font-size: 2.5em;
    margin: 0;
}

.home .hero p {
    font-size: 1.2em;
    margin: 10px 0;
}

.home .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 12px;
}

.home .cta-button:hover {
    background-color: #2980b9;
}

/* Footer - relative positioning */
.home .site-footer {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 12px 0;
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.home .footer-navigation ul {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.home .footer-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
}

.home .footer-navigation a:hover {
    text-decoration: underline;
}