﻿





.gothic-menu-container {
    position: relative;
    display: inline-block;
    margin: 1px;
}

/* Hamburger button styling */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1001;
}

    .hamburger-btn .bar {
        height: 3px;
        width: 100%;
        background-color: var(--gothic-red, #8B0000);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Animate into "X" when active */
    .hamburger-btn.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

/* Menu styling */
.gothic-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--dark-bg, #1a1a1a);
    border: 1px solid var(--gothic-border, #600);
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
    min-width: 180px;
    padding: 0.5rem 0;
    z-index: 1000;
}

    .gothic-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .gothic-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

        .gothic-menu li:last-child {
            border-bottom: none;
        }

    .gothic-menu a {
        display: block;
        padding: 0.5rem 1rem;
        color: #ddd;
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease;
    }

        .gothic-menu a:hover {
            background-color: rgba(139,0,0,0.15);
            color: var(--gothic-red, #8B0000);
        }

/* Hidden class for toggle */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .hamburger-btn {
        width: 35px;
        height: 25px;
    }
}
