
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    
}


body {
    background-color: #0f0f0f;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


header {
    padding: 20px 40px;
    border-bottom: 1px solid #1f1f1f;
}

header h1 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* .site-header {
    background: #0f0f0f;
    color: #fff;
    padding: 18px 40px;
} */

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


.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(15, 15, 15, 0.9); /* transparent dark */
    backdrop-filter: blur(8px);

    transition: background 0.3s ease, padding 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 40px;
}


.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #e0e0e0;
    border-radius: 2px;
}

.site-content {
    padding-top: 80px;
}


/* .logo {
    font-size: 26px;
    letter-spacing: 1px;
} */


.logo img {
    height: 20px;        
    width: auto;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
}


.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #ddd;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.main-nav a.active {
    color: #5fb3b3;
    position: relative;
    font-weight: 600;
}


.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #5fb3b3;
    border-radius: 2px;
}

/* .main-nav a.active {
    color: #fff;
    background: rgba(95, 179, 179, 0.15);
    padding: 6px 12px;
    border-radius: 8px;
} */


.main-nav a:hover {
    color: #5fb3b3;
}


main {
    padding: 40px;
    flex: 1;
    padding-bottom: 0;
}


.section-divider {
    width: 100%;
    height: 1px;
    /* margin: 60px 0 60px; */
    margin-top: 80px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.12),
        transparent
    );
}


footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 12px;
}


.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 16px;      /* slightly smaller than header */
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}


@media (max-width: 940px) {

    .logo img {
        height: 16px;        
    }

    .header-inner {
        padding: 10px 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(8px);
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .main-nav li {
        border-top: 1px solid #1f1f1f;
    }

    .main-nav a {
        display: block;
        padding: 14px 20px;
        font-size: 16px;
    }

    .main-nav a.active::after {
        display: none; /* cleaner on mobile */
    }
}


@media (max-width: 500px) {

    .logo img {
        height: 12px;        
    }
}