/* ===================================
   NAVIGATION - MOBILE-FRIENDLY VERSION
   =================================== */

.nav-wrapper {
    background-color: #ffffff !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999 !important;
    border-bottom: 4px solid #000;
    -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 255, 255, 0.9);
    opacity: 1 !important;
    outline: 2px solid white;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 60px;
    background-color: #ffffff !important;
    position: relative;
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #000;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger animation when menu is open */
.mobile-menu-toggle.active {
    background: rgba(255, 126, 95, 0.95);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Navigation List */
.list-styled {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.list-styled li {
    margin: 0 10px;
    display: flex;
    align-items: center;
    height: 100%;
    background-color: #ffffff !important;
}

.link-styled {
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 12px;
    position: relative;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.8);
    margin: 0 2px;
    background-color: #ffffff !important;
}

.link-styled:hover {
    color: #000;
    transform: translateY(-2px);
    text-shadow: 0 0 2px rgba(255, 255, 255, 1);
    border-bottom: 2px solid #000;
}

/* Book Now Button */
.book-now-btn {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-style: italic;
    font-weight: 600;
    padding: 8px 18px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    box-shadow: 0 4px 10px rgba(255, 126, 95, 0.3);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.book-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 126, 95, 0.4);
    filter: brightness(1.05);
}

/* ===================================
   MOBILE RESPONSIVE STYLES
   =================================== */

@media (max-width: 768px) {
    /* Show hamburger menu button on mobile */
    .mobile-menu-toggle {
        display: flex !important;
        min-width: 40px;
        min-height: 40px;
        -webkit-tap-highlight-color: rgba(255, 126, 95, 0.3);
    }
    
    /* Hide desktop navigation by default */
    .list-styled {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 60px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        background-color: #ffffff;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 20px 0;
        z-index: 9998;
    }
    
    /* Show mobile menu when active */
    .list-styled.mobile-menu-active {
        left: 0;
    }
    
    /* Mobile menu items */
    .list-styled li {
        width: 100%;
        margin: 0;
        height: auto;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .list-styled li:last-child {
        border-bottom: none;
    }
    
    .link-styled {
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
        height: auto;
        margin: 0;
        justify-content: flex-start;
    }
    
    .link-styled:hover {
        transform: none;
        background-color: #f8f8f8 !important;
        border-bottom: none;
        border-left: 4px solid #ff7e5f;
    }
    
    /* Keep Book Now button visible in header on mobile */
    li.nav-center {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        border: none;
    }
    
    .book-now-btn {
        font-size: 14px;
        padding: 6px 14px;
    }
    
    /* Mobile menu overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9997;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .list-styled li {
        margin: 0 5px;
    }
    
    .link-styled {
        font-size: 13px;
        padding: 0 8px;
    }
    
    .book-now-btn {
        font-size: 14px;
        padding: 6px 14px;
    }
}

/* Large desktop */
@media (min-width: 1200px) {
    .list-styled li {
        margin: 0 15px;
    }
    
    .link-styled {
        font-size: 16px;
        padding: 0 15px;
    }
}
