/* ==========================================================
   FLOATING HOME & HAMBURGER MENU
========================================================== */

/* Combined Navigation Container */
.sv-floating-nav {
    position: fixed;
    left: 20px;
    top: 160px !important;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(239, 230, 211, 0.98);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Home Button */
.sv-home-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    text-decoration: none;
    background: rgba(239, 230, 211, 1);
    border-bottom: 1px solid rgba(101, 67, 33, 0.2);
    transition: all 0.3s ease;
}

.sv-home-button:hover {
    background: rgba(229, 220, 201, 1);
}

.sv-home-text {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 11px;
    font-weight: 600;
    color: #654321;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Hamburger Button */
.sv-hamburger-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sv-hamburger-button:hover {
    background: rgba(229, 220, 201, 1);
}

.sv-hamburger-line {
    width: 24px;
    height: 2px;
    background: #654321;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.sv-hamburger-button:hover .sv-hamburger-line {
    background: #8b6f47;
}

/* Menu Overlay */
.sv-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Slide-out Menu Panel */
.sv-menu-panel {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: linear-gradient(to bottom, #2c2416 0%, #1a1510 100%);
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.3);
}

.sv-menu-panel.active {
    left: 0;
}

/* Menu Header */
.sv-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 197, 169, 0.2);
}

.sv-menu-header h3 {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #e8d9b8;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sv-menu-close {
    background: none;
    border: none;
    color: #d4c5a9;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sv-menu-close:hover {
    color: #f4e5c4;
    transform: rotate(90deg);
}

.sv-menu-close svg {
    width: 24px;
    height: 24px;
}

/* Menu Navigation */
.sv-menu-nav {
    margin-top: 20px;
}

.sv-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sv-menu-list li {
    margin-bottom: 0;
}

.sv-menu-list a {
    display: block;
    padding: 14px 16px;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 500;
    color: #d4c5a9;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sv-menu-list a:hover {
    background: rgba(212, 197, 169, 0.1);
    color: #f4e5c4;
    padding-left: 24px;
}

.sv-menu-list .current-menu-item > a,
.sv-menu-list .current_page_item > a {
    background: rgba(212, 197, 169, 0.15);
    color: #f4e5c4;
    font-weight: 600;
}

/* Empty Menu Message */
.sv-menu-empty {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 16px;
    line-height: 1.6;
    color: #c4b59a;
    padding: 20px;
    background: rgba(212, 197, 169, 0.05);
    border-radius: 4px;
}

.sv-menu-empty strong {
    color: #e8d9b8;
}

/* Responsive */
@media (max-width: 768px) {
    .sv-floating-nav {
        left: 10px;
        top: 80px;
    }
    
    .sv-home-button,
    .sv-hamburger-button {
        padding: 10px 12px;
    }
    
    .sv-home-icon {
        width: 20px !important;
    }
    
    .sv-home-text {
        font-size: 10px;
    }
    
    .sv-hamburger-line {
        width: 20px;
    }
    
    .sv-menu-panel {
        width: 280px;
        left: -300px;
    }
}

/* Prevent body scroll when menu is open */
body.sv-menu-open {
    overflow: hidden;
}
