/* ===========================================
   SHARED STYLES FOR ALL SUBPAGES
   Edit this file to update all subpages at once
   =========================================== */

:root {
    --bg-color: #F1F1F1;
    --text-color: #1E1E1E;
    --title-color: #1E1E1E;
    --text-muted: #555555;
    --font-main: 'Poppins', sans-serif;
    --container-width: min(1200px, 90vw);
}

/* --- GLASS NAVIGATION BAR (SUBPAGES) --- */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5000;
    background: rgba(241, 241, 241, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.glass-nav .nav-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.glass-nav .nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.glass-nav .nav-logo img {
    height: 28px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.glass-nav .nav-logo:hover img {
    opacity: 0.7;
}

.glass-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.glass-nav .nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
    padding: 6px 14px;
    border-radius: 50px;
}

.glass-nav .nav-links a:hover {
    color: var(--title-color);
}

.glass-nav .nav-links a.active {
    color: #fff;
    background: var(--title-color);
    padding: 8px 20px;
}

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

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--title-color);
    border-radius: 2px;
    transition: 0.3s;
}

/* --- FADE-UP ANIMATION (shared across all pages) --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* --- SHARED PAGE TITLE --- */
.page-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--title-color);
    line-height: 1;
    margin-bottom: 0;
}

.page-hero {
    padding-top: 120px;
    padding-bottom: 1rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.page-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* --- COMPACT FOOTER --- */
.compact-footer {
    background: var(--title-color);
    color: #fff;
    padding: 3rem 0 2rem;
    margin-top: 60px;
}

.compact-footer .footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.compact-footer .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.compact-footer .footer-cta h3 {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.compact-footer .footer-cta p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.5;
}

.compact-footer .footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.compact-footer .footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}

.compact-footer .footer-links a:hover {
    background: #fff;
    color: var(--title-color);
    border-color: #fff;
}

.compact-footer .footer-links a i {
    font-size: 0.75rem;
}

.compact-footer .footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.compact-footer .footer-bottom-bar p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.compact-footer .footer-bottom-bar .dev-credit {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.25);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .glass-nav .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: rgba(241, 241, 241, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem 24px;
        gap: 0;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        align-items: center;
        text-align: center;
    }

    .glass-nav .nav-links.open {
        display: flex;
    }

    .glass-nav .nav-links li {
        width: 100%;
    }

    .glass-nav .nav-links a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        text-align: center;
    }

    .nav-hamburger {
        display: flex;
    }

    .page-hero {
        padding-top: 90px;
        padding-bottom: 0.5rem;
    }

    .page-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .compact-footer .footer-top {
        flex-direction: column;
    }

    .compact-footer .footer-bottom-bar {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
