/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

/* Add background when scrolling down */
.header.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Logo styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo-svg {
    width: 28px;
    height: 30px;
}

.logo-text {
    font-size: 0.9rem;
    color: #b0b0b0;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-text:hover {
    color: #ffffff;
}

.email-icon {
    margin-right: 5px;
    font-size: 0.9rem;
}

/* Download CV button */
.download-cv-button {
    background-color: oklch(0.514 0.222 16.935);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.download-cv-button:hover {
    background-color: oklch(0.41 0.159 10.272);
    transform: translateY(-2px);
}

.download-cv-button:active {
    transform: translateY(0);
}

.download-cv-button i {
    font-size: 0.9rem;
}

/* Mobile header styles */
@media (max-width: 768px) {
    .header {
        padding: 0.8rem 1rem;
        background-color: rgba(18, 18, 18, 0.95);
    }

    /* Hide email on mobile */
    .header .logo-text {
        display: none;
    }

    /* Center logo */
    .logo-container {
        gap: 0;
    }

    .logo-svg {
        width: 35px;
        height: 35px;
    }

    /* Simplified download button */
    .download-cv-button {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Small phone adjustments */
@media (max-width: 480px) {
    .download-cv-button span {
        display: none;
        /* Hide "Download CV" text */
    }

    .download-cv-button {
        padding: 0.5rem;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .download-cv-button i {
        margin: 0;
    }
}

/* Mobile menu button (for future expansion) */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }
}