/* ===== MODULAR HEADER STYLES ===== */

/* Modular Navigation */
.modular-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    transform: translateY(-100%);
    opacity: 0;
}

.modular-nav.visible {
    transform: translateY(0);
    opacity: 1;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-center {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: "header1", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
}

.nav-link:hover {
    color: #0000ff;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #0000ff;
    background: rgba(0, 0, 255, 0.1);
    border: 1px solid rgba(0, 0, 255, 0.3);
}

.nav-link.active:hover {
    background: rgba(0, 0, 255, 0.2);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-logo {
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
    color: inherit !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.nav-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.nav-title-text {
    font-family: "header1", sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    position: relative;
}

.nav-subtitle-text {
    font-family: "header1", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.nav-title:hover .nav-title-text {
    animation: textGlitch 0.3s ease-in-out;
}

@keyframes textGlitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
        text-shadow: 2px 0 #ff0000, -2px 0 #00ffff;
    }
    40% {
        transform: translate(2px, -2px);
        text-shadow: -2px 0 #ff0000, 2px 0 #00ffff;
    }
    60% {
        transform: translate(-2px, -2px);
        text-shadow: 2px 0 #ff0000, -2px 0 #00ffff;
    }
    80% {
        transform: translate(2px, 2px);
        text-shadow: -2px 0 #ff0000, 2px 0 #00ffff;
    }
    100% {
        transform: translate(0);
    }
}

.nav-menu {
    display: flex;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 800px) {
    .nav-container {
        padding: 15px 20px;
    }

    .nav-logo img {
        height: 32px;
    }

    .nav-left {
        gap: 20px;
    }

    .nav-title-text {
        font-size: 1rem;
    }

    .nav-subtitle-text {
        font-size: 0.8rem;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .nav-left {
        gap: 15px;
    }

    .nav-title-text {
        font-size: 0.9rem;
    }

    .nav-subtitle-text {
        font-size: 0.7rem;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.7rem;
        padding: 5px 8px;
    }
}

/* Ensure the header doesn't interfere with existing tour-nav styles */
.tour-nav {
    display: none; /* Hide the old navigation when using modular header */
}

/* Ensure crosshair cursor on non-clickable header elements */
.modular-nav,
.nav-container,
.nav-center,
.nav-links,
.nav-left,
.nav-logo,
.nav-logo img,
.nav-title,
.nav-title-text,
.nav-subtitle-text,
.nav-menu {
    cursor: crosshair !important;
}

/* Clickable header elements should show cell cursor */
.nav-link {
    cursor: cell !important;
} 