/* Minimal Responsive Styles */

/* Mobile Navigation */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
    z-index: 1001;
    position: fixed;
    top: 20px;
    right: 20px;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
    position: absolute;
    transition: transform 0.15s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    left: 0;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

/* Active state */
.hamburger.active .hamburger-inner {
    background: transparent;
}

.hamburger.active .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-color);
        padding: 6rem 2rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transition: right 0.3s ease-in-out;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .nav-menu a {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 0;
        color: var(--light-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .nav-menu a:hover {
        color: var(--secondary-color);
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Scroll down button styles are now in style.css */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Mobile styles for scroll down button */
@media (max-width: 768px) {
    .scroll-down-center {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        z-index: 5; /* Lower than buttons but above content */
    }
    
    .hero-cta {
        position: relative;
        z-index: 10; /* Higher than scroll down button */
    }
    
    .hero-content {
        position: relative;
        z-index: 1;
        padding-bottom: 100px; /* Extra space for mobile */
    }
}

/* Restore 'Hi, my name is' color */
.hero .intro {
    color: var(--secondary-color);
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: block;
}
