/* Color palette inspired by Athos Silicon */
:root {
    --athos-bright-blue: #2a95ff;
    --athos-dark-blue: #355e6e;
    --athos-dark-blue-transparent: #355e6eDD;
    --athos-yellow: #eadc96;
    --athos-light-blue-href-color: rgb(162, 230, 255);
    --header-height: 40px;
    --scroll-arrow: "❮";
}

/* Font definitions */
@font-face {
    font-family: 'Trueno';
    src: url('../fonts/truenolt.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Trueno';
    src: url('../fonts/truenorg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Trueno';
    src: url('../fonts/truenosbd.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Trueno', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

a {
    color: var(--athos-light-blue-href-color);
    text-decoration: underline;
}

a:hover {
    color: #ffffff;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: #000;
    z-index: 1000;
    padding: 0 1rem 0 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Trueno', sans-serif;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 24px;
    width: auto;
    margin-right: 15px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--athos-bright-blue);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;  
    transition: all 0.2s ease;
}

.logo:hover {
    transform: scale(1.025);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-nav {
    display: flex;
    align-items: center;
    margin-left: 2rem;
    gap: 1.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--athos-bright-blue);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--athos-bright-blue);
}

.social-icon img {
    filter: brightness(1.3);
}

/* Hamburger Menu */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 0px;
    z-index: 2000;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background: var(--athos-bright-blue);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    position: absolute;
    top: 0;
    right: 1rem;
    width: 220px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

@media (max-width: 768px) and (pointer: coarse) {
    .nav-menu {
        top: var(--header-height);
    }
}

.nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .nav-link {
    font-size: 0.95rem;
    text-transform: uppercase;
    padding: 0.8rem 1.2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu .nav-link:last-child {
    border-bottom: none;
}

.nav-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Dark theme scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--athos-bright-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

/* Mobile responsiveness for header */
@media (max-width: 768px) {
    .header {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1rem;
    }

    .social-icons {
        gap: 10px;
    }
}