/* ===== CSS VARIABLES — DARK THEME ===== */
:root {
    --bg-primary: #F5F5F5;
    --bg-card: #FFFFFF;
    --bg-elevated: #E8E8E8;
    --bg-overlay: rgba(245, 245, 245, 0.95);
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
    --accent: #00BFFF;
    --accent-bright: #00BFFF;
    --accent-dim: rgba(0, 191, 255, 0.2);
    --accent-border: #000000;
    --border-subtle: #000000;
    --border-light: #000000;
    --shadow-card: 4px 4px 0px #000000;
    --shadow-elevated: 8px 8px 0px #000000;
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET & GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Mono', monospace;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
    border-bottom: 2px solid #000;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-bright);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-bright);
}

.hamburger {
    display: none;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-primary);
    text-align: center;
    padding-top: 100px;
    padding-bottom: 2rem;
    z-index: 1;
    overflow: hidden;
    border-bottom: 4px solid #000;
}

/* Hero Title Animation */
.hero h1 {
    animation: heroTitleIn 1.2s ease-out both;
}

.hero p {
    animation: heroTitleIn 1.2s ease-out 0.3s both;
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 12px;
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    width: 60%;
    max-width: 500px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.hero-btn {
    background: var(--accent-bright);
    border: none;
    padding: 15px 40px;
    font-size: 1.3rem;
    cursor: pointer;
    border-radius: 5px;
    animation: heroTitleIn 1.2s ease-out 0.6s both;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(229, 189, 9, 0.4);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #FFF;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 0;
    position: relative;
    padding: 30px;
    box-shadow: 8px 8px 0 #000;
    border: 2px solid #000;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Modal Navigation Buttons */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 20;
    transition: background var(--transition-normal), transform var(--transition-fast);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
}

.modal-nav-btn:hover {
    background: rgba(212, 168, 75, 0.8);
    color: #000;
}

.modal-prev {
    left: -80px;
}

.modal-next {
    right: -80px;
}

/* Responsive arrows */
@media (max-width: 900px) {
    .modal-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        padding: 10px;
        background: rgba(0, 0, 0, 0.8);
    }

    .modal-prev {
        left: 10px;
        top: 50%;
    }

    .modal-next {
        right: 10px;
        top: 50%;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 30;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    gap: 30px;
    align-items: center;
    overflow-y: auto;
}

.modal-img-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-radius: 0;
    padding: 20px;
    max-height: 70vh;
    border: 2px solid #000;
    box-shadow: 4px 4px 0 #000;
}

.modal-img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.modal-info {
    flex: 1;
    color: var(--text-primary);
    text-align: left;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--accent-bright);
    margin-bottom: 10px;
}

.modal-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.modal-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Modal — Serving Suggestion */
.modal-serving {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.modal-serving span {
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent);
}

/* Modal — Pairing Suggestion */
.modal-pairings {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-subtle);
}

.modal-pairings h4 {
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.modal-pairings .pairing-item {
    display: inline-block;
    padding: 5px 14px;
    margin: 4px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-pairings .pairing-item:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

/* Modal — Flavor Tags */
.modal-flavors {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.modal-flavors .flavor-tag {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flavor-tag.smoky {
    background: rgba(255, 100, 50, 0.15);
    color: #ff8a50;
    border: 1px solid rgba(255, 100, 50, 0.3);
}

.flavor-tag.sweet {
    background: rgba(255, 200, 50, 0.15);
    color: #ffc832;
    border: 1px solid rgba(255, 200, 50, 0.3);
}

.flavor-tag.fruity {
    background: rgba(100, 220, 100, 0.15);
    color: #64dc64;
    border: 1px solid rgba(100, 220, 100, 0.3);
}

.flavor-tag.spicy {
    background: rgba(255, 80, 80, 0.15);
    color: #ff6464;
    border: 1px solid rgba(255, 80, 80, 0.3);
}

.flavor-tag.floral {
    background: rgba(200, 100, 255, 0.15);
    color: #c864ff;
    border: 1px solid rgba(200, 100, 255, 0.3);
}

.flavor-tag.marine {
    background: rgba(80, 180, 255, 0.15);
    color: #50b4ff;
    border: 1px solid rgba(80, 180, 255, 0.3);
}

.flavor-tag.woody {
    background: rgba(180, 130, 60, 0.15);
    color: #b4823c;
    border: 1px solid rgba(180, 130, 60, 0.3);
}

.flavor-tag.default {
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid var(--accent-border);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }

    .modal-img-container {
        width: 100%;
        max-height: 40vh;
    }

    .modal-title {
        font-size: 2rem;
        text-align: center;
    }

    .modal-price {
        font-size: 1.5rem;
        text-align: center;
    }

    .modal-info {
        text-align: center;
    }
}

/* ===== SUB-FILTERS ===== */
.sub-filters {
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sub-filters button {
    font-size: 0.85rem;
    padding: 6px 16px;
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.sub-filters button:hover {
    border-color: var(--accent-bright);
    color: var(--text-primary);
}

.sub-filters button.active {
    background: var(--accent-dim);
    border-color: var(--accent-bright);
    color: var(--accent-bright);
}

/* Sub-Nav button styles */
.sub-nav-buttons button {
    background: transparent;
    border: 1px solid var(--accent-border);
    color: rgba(212, 168, 75, 0.8);
    font-size: 1rem;
    padding: 10px 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sub-nav-buttons button:hover {
    background: var(--accent-dim);
    border-color: var(--accent-bright);
    color: var(--accent-bright);
    transform: translateY(-2px);
    transition: all var(--transition-normal);
}

/* ===== ALCOHOL ===== */
.alcohol-container {
    padding: 20px 60px;
    margin-top: 0;
}

.alcohol-category {
    margin-top: 7.5rem;
}

.alcohol-category:first-of-type {
    margin-top: 0;
}

.category-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#whisky .category-title {
    color: var(--text-primary);
}

/* ===== TOOLBAR (Search + Sort + View Toggle) ===== */
.toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    padding: 0 20px;
}

/* Search Bar */
.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    background: #FFF;
    border: 2px solid #000;
    border-radius: 0;
    color: #000;
    font-size: 1rem;
    font-family: 'Roboto Mono', monospace;
    outline: none;
    transition: all var(--transition-fast);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    border-color: var(--accent-bright);
    box-shadow: 4px 4px 0 #000;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}

/* Autocomplete dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #FFF;
    border: 2px solid #000;
    border-radius: 0;
    max-height: 300px;
    overflow-y: auto;
    z-index: 500;
    display: none;
    box-shadow: 4px 4px 0 #000;
}

.search-dropdown.active {
    display: block;
}

.search-result-item {
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast);
    border-bottom: 1px solid var(--border-subtle);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--accent-dim);
}

.search-result-name {
    color: var(--text-primary);
    font-weight: 600;
}

.search-result-category {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sort Controls */
.sort-controls {
    display: flex;
    gap: 6px;
}

.sort-btn {
    background: #FFF;
    border: 2px solid #000;
    color: #000;
    padding: 8px 14px;
    border-radius: 0;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.sort-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.sort-btn.active {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 0;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
}

.view-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 14px;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.view-toggle-btn.active {
    background: var(--accent-dim);
    color: var(--accent);
}

.view-toggle-btn:hover {
    color: var(--accent);
}

/* ===== FILTERS ===== */
.filters {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filters button {
    padding: 8px 16px;
    border-radius: 0;
    border: 2px solid #000;
    background: #FFF;
    color: #000;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    position: relative;
}

.filters button:hover {
    background: var(--accent-dim);
}

.filters button.active {
    background: var(--accent-bright);
    color: #000;
    box-shadow: 4px 4px 0 #000;
    transform: translate(-2px, -2px);
}

/* ===== GRID ===== */
.alcohol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* ===== LIST VIEW ===== */
.alcohol-grid.list-view {
    grid-template-columns: 1fr;
    gap: 2px;
}

.alcohol-grid.list-view .alcohol-card {
    height: auto;
    min-height: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 20px;
}

.alcohol-grid.list-view .alcohol-card:hover {
    transform: none;
    background: var(--bg-elevated);
}

.alcohol-grid.list-view .alcohol-img {
    display: none;
}

.alcohol-grid.list-view .price-tag {
    position: static;
    order: 3;
    margin-left: auto;
    background: transparent;
    color: var(--accent-bright);
    padding: 4px 0;
    font-size: 1rem;
}

.alcohol-grid.list-view .alcohol-title-overlay {
    position: static;
    order: 1;
    background: none;
    width: auto;
    padding: 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 1 !important;
    flex: 1;
}

.alcohol-grid.list-view .alcohol-info {
    display: none;
}

.alcohol-grid.list-view .list-meta {
    display: flex;
    order: 2;
    gap: 16px;
    margin: 0 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Regular grid hides list-meta */
.alcohol-grid:not(.list-view) .list-meta {
    display: none;
}

/* ===== CARD ===== */
.alcohol-card {
    position: relative;
    height: 400px;
    border-radius: 0;
    overflow: hidden;
    background: #FFF;
    border: 2px solid #000;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    opacity: 0;
    animation: cardFadeIn 0.5s ease forwards;
}

.alcohol-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 #000;
}

/* Staggered card animation */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Flavor tags on cards */
.card-flavors {
    position: absolute;
    top: 55px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 5;
}

.card-flavors .flavor-tag {
    padding: 3px 8px;
    border: 1px solid #000;
    border-radius: 0;
    background: #FFF;
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 2px 2px 0 #000;
}

.alcohol-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 40px 20px 80px 20px;
    transition: transform 0.5s ease;
}

.alcohol-card:hover .alcohol-img {
    transform: scale(1.05);
}

/* ===== PRICE ===== */
.price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FFF;
    border: 2px solid #000;
    color: #000;
    padding: 8px 15px;
    border-radius: 0;
    font-weight: 700;
    z-index: 5;
    box-shadow: 2px 2px 0 #000;
}

/* ===== TITLE OVER IMAGE ===== */
.alcohol-title-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    text-align: center;
    background: #000;
    border-top: 2px solid #000;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-bright);
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    transition: background var(--transition-normal), color var(--transition-normal);
}

.alcohol-card:hover .alcohol-title-overlay {
    background: var(--accent-bright);
    color: #000;
}

/* ===== INFO (Hidden to keep street layout clean on hover, modal handles details) ===== */
.alcohol-info {
    display: none;
}

/* ===== TAGS ===== */
.alcohol-specs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.alcohol-specs span {
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ===== RECIPE TEXT IN CARDS ===== */
.alcohol-info .recipe {
    font-size: 0.85rem;
    color: #aaa;
    font-style: italic;
    line-height: 1.4;
}

/* ===== FOOTER ===== */
footer {
    background: #000;
    padding: 40px;
    text-align: center;
}

.footer-logo {
    color: var(--accent-bright);
    font-size: 2rem;
    margin-bottom: 15px;
}

/* ===== MAIN NAVIGATION STYLES ===== */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: transparent;
    padding: 1rem 0 0 0;
    margin-bottom: 0;
    border-bottom: none;
    transition: background var(--transition-normal);
}

.main-nav-buttons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Adjust Sub-Nav for Sticky Container */
.sub-nav-buttons {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 1rem 0.8rem 1rem;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity var(--transition-normal), padding 0.4s ease;
}

.sub-nav-buttons.visible {
    max-height: 200px;
    opacity: 1;
    padding-bottom: 1rem;
}

.sub-nav-btn {
    background-color: transparent;
    border: 2px solid #000;
    color: #000;
    padding: 0.4rem 1rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 0;
}

.sub-nav-btn:hover {
    background-color: var(--accent-dim);
}

.sub-nav-btn.active {
    background-color: var(--accent-bright);
    color: #000;
    box-shadow: 2px 2px 0 #000;
    transform: translate(-1px, -1px);
}

.main-nav-btn {
    background-color: #FFF;
    border: 2px solid #000;
    color: #000;
    padding: 0.5rem 1.2rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 0;
    position: relative;
}

.main-nav-btn:hover {
    background-color: var(--accent-dim);
}

.main-nav-btn.active {
    background-color: var(--accent-bright);
    color: #000;
    box-shadow: 4px 4px 0 #000;
    transform: translate(-2px, -2px);
}

/* Utility for hiding sections */
.hidden {
    display: none !important;
}

/* Animations for switching content */
.main-content-section {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CIGAR BRAND LOGOS ===== */
.brand-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

#cigar-subfilters {
    gap: 20px;
}

#cigar-subfilters button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 160px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

#cigar-subfilters button:hover {
    border-color: var(--accent-bright);
    background: var(--bg-elevated);
    transform: translateY(-5px);
}

#cigar-subfilters button.active {
    background: var(--accent-dim);
    border-color: var(--accent-bright);
    box-shadow: 0 0 15px rgba(229, 189, 9, 0.3);
}

#cigar-subfilters button img {
    max-height: 120px;
    max-width: 180px;
    margin-bottom: 5px;
}

#cigar-subfilters button span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    text-align: center;
    margin-top: auto;
    display: block;
    opacity: 1 !important;
    z-index: 10;
}

/* Category Filters Styling */
.category-filters button {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 0.9rem;
}

.category-filters button:hover {
    background: rgba(212, 168, 75, 0.2);
    border-color: var(--accent-bright);
}

.category-filters button.active {
    background: var(--accent-bright);
    color: #000;
    border-color: var(--accent-bright);
}

/* Specific Margin Fixes for Cocktails */
#cocktails-classic {
    margin-top: 7.5rem;
}

#cocktails-modern .category-title,
#cocktails-classic .category-title {
    margin-bottom: 40px;
}

/* ===== BRAND MODAL ===== */
.brand-modal-content {
    background: var(--bg-card);
    width: 60%;
    max-width: 600px;
    padding: 40px;
    border: 2px solid var(--accent-bright);
    box-shadow: 0 0 30px rgba(229, 189, 9, 0.2);
}

.brand-modal-body {
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

.brand-img-container {
    background: transparent;
    padding: 0;
    max-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-modal-img {
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.brand-title {
    color: var(--accent-bright);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brand-desc-container {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.brand-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.brand-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    color: var(--accent-bright);
    cursor: pointer;
    z-index: 30;
    transition: transform var(--transition-normal);
}

.brand-modal-close:hover {
    transform: rotate(90deg);
}

/* Responsive adjustment for brand modal */
@media (max-width: 768px) {
    .brand-modal-content {
        width: 90%;
        padding: 30px 20px;
    }

    .brand-title {
        font-size: 2rem;
    }

    .brand-desc {
        font-size: 1rem;
    }
}

.brand-modal-prev {
    left: -80px;
}

.brand-modal-next {
    right: -80px;
}

@media (max-width: 900px) {
    .brand-modal-prev {
        left: 10px;
        top: 50%;
    }

    .brand-modal-next {
        right: 10px;
        top: 50%;
    }
}

/* ===== CONTAINER ===== */
.container {
    min-height: 60vh;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity var(--transition-normal), transform var(--transition-normal), background var(--transition-fast);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--accent-bright);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(212, 168, 75, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .alcohol-container {
        padding: 20px;
    }

    .toolbar {
        flex-direction: column;
        gap: 8px;
    }

    .search-container {
        max-width: 100%;
    }
}

/* ===== MOBILE NAV 3 CATEGORIES ===== */
@media (max-width: 900px) {
    .main-nav-buttons {
        gap: 0.4rem;
    }

    .main-nav-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 500px) {
    .main-nav-buttons {
        gap: 0.3rem;
    }

    .main-nav-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
    }

    .category-title {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 2.5rem !important;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Admin Login Button */
.admin-login-btn {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    margin-left: 15px;
    margin-right: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-btn:hover {
    color: #e5bd09;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .admin-login-btn {
        margin-right: 20px;
    }
}