/* Global Scrollbar styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #D1133B;
    border-radius: 6px;
}

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

/* Left Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100vh;
    background: #D1133B;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.header-logo-section {
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-logo {
    width: 100%;
    height: auto;
    filter: none;
}

.header-nav {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.brands-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 0 10px;
}

.brands-button:hover {
    background: #333333;
    color: #ffffff;
}

.brands-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    transform: rotate(180deg);
}

.stickers-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.stickers-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    transform: rotate(180deg);
    transition: color 0.3s ease;
}

.stickers-link:hover .stickers-text {
    color: #cccccc;
}

.states-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-top: 15px;
}

.states-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    transform: rotate(180deg);
    transition: color 0.3s ease;
}

.states-link:hover .states-text {
    color: #cccccc;
}

/* Menu container */
.menu-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.menu-dots {
    display: flex;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.menu-dots:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dot {
    width: 6px;
    height: 6px;
    background: #000000;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.menu-dots:hover .dot {
    background: #ffffff;
}

/* Dropdown menu */
.dropdown-menu {
    position: fixed;
    bottom: 5px;
    left: 90px;
    background: #000000;
    border: 1px solid #333333;
    border-radius: 8px;
    min-width: 180px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
}

.menu-link {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #333333;
}

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

.menu-link:hover {
    background: #D1133B;
    color: #ffffff;
}

.states-menu-link {
    display: none;
}

/* Adjust body to account for left header */
body {
    margin-left: 80px !important;
    padding-top: 0 !important;
}

@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    .header-logo-section {
        padding: 0;
        border: none;
        flex: 0 0 auto;
    }

    .header-logo {
        width: 32px;
        height: auto;
    }

    .header-nav {
        flex: 1;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0;
        gap: 15px;
    }

    .brands-button {
        width: 80px;
        height: 35px;
        margin: 0;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }

    .brands-text {
        font-size: 12px;
        transform: none;
    }

    .stickers-link {
        width: auto;
        height: auto;
        margin: 0;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }

    .stickers-text {
        font-size: 12px;
        transform: none;
    }

    .states-link {
        display: none;
    }

    .states-menu-link {
        display: block;
    }

    .menu-container {
        position: static;
        bottom: auto;
        left: auto;
        transform: none;
        flex: 0 0 auto;
    }

    .menu-dots {
        padding: 10px;
    }

    .dropdown-menu {
        position: absolute;
        top: 50px;
        right: 15px;
        left: auto;
        bottom: auto;
    }

    body {
        margin-left: 0 !important;
        padding-top: 60px !important;
    }
}
