/* =============================================================================
   PAGES COMMON CSS — heikebielek.com
   Shared styles duplicated across content pages.
   Loaded after global.css on all pages except index (which has its own hero).
   ============================================================================= */

/* --- Purple Navbar --- */
.navbar {
    background: var(--dark-purple);
}
.navbar .nav-menu a {
    color: white;
}
.navbar .nav-menu a:hover {
    color: var(--cyan);
}
.navbar .logo-image {
    max-height: 60px;
    width: auto;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    *, *::before, *::after {
        max-width: 100vw;
        box-sizing: border-box;
    }
    .navbar .logo-image {
        max-height: 50px;
        width: auto;
    }
    .navbar .nav-menu {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .navbar .nav-menu.active {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 70px);
        background: var(--dark-purple);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        padding: 0;
        margin: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
    }
    body.menu-open {
        overflow: hidden;
        height: 100vh;
    }
    .navbar .nav-menu.active li {
        margin: 12px 0;
        list-style: none;
    }
    .navbar .nav-menu.active a {
        color: white;
        font-size: 1.4rem;
        text-decoration: none;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    .navbar .nav-menu.active a:hover {
        color: var(--cyan);
        transition: color 0.3s ease;
    }
}

/* --- Landing Buttons --- */
.landing-btn {
    color: white;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.landing-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
.btn-about {
    background: linear-gradient(135deg, var(--cyan) 0%, #1fc0d0 100%);
    color: var(--dark-purple);
}
.btn-about:hover {
    opacity: 0.85;
    box-shadow: 0 5px 15px rgba(34, 226, 226, 0.3);
}
.btn-projects {
    background: linear-gradient(135deg, var(--royal-blue) 0%, #5a7fe8 100%);
}
.btn-projects:hover {
    opacity: 0.85;
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.3);
}
.btn-portfolio {
    background: linear-gradient(135deg, var(--dark-purple) 0%, #5a3580 100%);
}
.btn-portfolio:hover {
    opacity: 0.85;
    box-shadow: 0 5px 15px rgba(63, 29, 103, 0.3);
}

/* --- Cyan Button Hover --- */
.btn-cyan:hover {
    background: var(--dark-purple);
    color: var(--cyan);
    transition: all 0.3s ease;
}

/* --- Scroll to Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--cyan);
    color: var(--dark-purple);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(34, 226, 226, 0.3);
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background: #1fc0d0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 226, 226, 0.4);
}
.scroll-to-top i {
    font-size: 20px;
}

/* --- Footer Social Icons Fix --- */
.footer-section .social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
@media (max-width: 768px) {
    .footer-section .social-icons {
        justify-content: center;
    }
}
