﻿/* Mobile Toggle Styles - Premium Design */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


    .mobile-menu-btn span {
        display: block;
        width: 24px;
        height: 2px;
        border-radius: 2px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }

   
        .mobile-menu-btn.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
            width: 24px;
        }

        .mobile-menu-btn.active span:nth-child(2) {
            opacity: 0;
            transform: scale(0);
        }

        .mobile-menu-btn.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
            width: 24px;
        }

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Mobile Navigation Panel - CHANGED TO LEFT SIDE */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    left: -100%; /* Changed from right: -100% to left: -100% */
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Changed from right to left */
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3); /* Changed shadow direction */
}

    .mobile-nav-panel.active {
        left: 0; /* Changed from right: 0 to left: 0 */
    }

/* Mobile Navigation Header */
.mobile-nav-header {
    padding: 20px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.mobile-nav-brand h2 {
    color: white;
    font-size: 1.4rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.mobile-nav-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin: 0;
}

/* Mobile Navigation Content */
.mobile-nav-content {
    padding: 20px;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

    .mobile-nav-link:hover {
        color: #ff6b9d;
        transform: translateX(5px);
    }

    .mobile-nav-link i {
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .mobile-nav-link.active i {
        transform: rotate(180deg);
    }

/* Mobile Dropdown Styles */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 5px 0;
}

    .mobile-dropdown.active {
        max-height: 500px;
    }

.mobile-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.mobile-dropdown-item {
    border: none;
}

.mobile-dropdown-link {
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

    .mobile-dropdown-link:hover {
        color: #ff6b9d;
        background: rgba(255, 107, 157, 0.1);
        padding-left: 25px;
    }

/* Nested Dropdown Styles */
.mobile-nested-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    margin-left: 10px;
    border-radius: 4px;
}

    .mobile-nested-dropdown.active {
        max-height: 300px;
    }

.mobile-nested-link {
    padding: 10px 30px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

    .mobile-nested-link:hover {
        padding-left: 35px;
    }

/* Book Now Button Mobile */
.mobile-book-now {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    border-radius: 10px;
    text-align: center;
    color: white;
    text-decoration: none;
    display: block;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

    .mobile-book-now:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
        color: white;
    }

/* Mobile Contact Info */
.mobile-contact-info {
    margin-top: 30px;
    padding: 20px;
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #ff6b9d;
}

    .mobile-contact-info h4 {
        color: white;
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

    .mobile-contact-info p {
        color: rgba(255, 255, 255, 0.8);
        margin: 8px 0;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-contact-info i {
        color: #ff6b9d;
        width: 16px;
    }

/* Scrollbar Styling for Mobile Panel */
.mobile-nav-panel::-webkit-scrollbar {
    width: 6px;
}

.mobile-nav-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-panel::-webkit-scrollbar-thumb {
    background: #ff6b9d;
    border-radius: 3px;
}

    .mobile-nav-panel::-webkit-scrollbar-thumb:hover {
        background: #c44569;
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-nav-panel {
        width: 90%;
    }

    .mobile-nav-header {
        padding: 15px;
    }

    .mobile-nav-content {
        padding: 15px;
    }

    .mobile-nav-link {
        padding: 14px 0;
        font-size: 0.95rem;
    }
}

/* Animation Classes - UPDATED FOR LEFT SIDE */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-item {
    animation: slideInLeft 0.5s ease forwards; /* Changed from slideInRight to slideInLeft */
}

    .mobile-nav-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .mobile-nav-item:nth-child(2) {
        animation-delay: 0.15s;
    }

    .mobile-nav-item:nth-child(3) {
        animation-delay: 0.2s;
    }

    .mobile-nav-item:nth-child(4) {
        animation-delay: 0.25s;
    }

    .mobile-nav-item:nth-child(5) {
        animation-delay: 0.3s;
    }

    .mobile-nav-item:nth-child(6) {
        animation-delay: 0.35s;
    }

    .mobile-nav-item:nth-child(7) {
        animation-delay: 0.4s;
    }

    .mobile-nav-item:nth-child(8) {
        animation-delay: 0.45s;
    }

    .mobile-nav-item:nth-child(9) {
        animation-delay: 0.5s;
    }

/* Body No Scroll */
body.no-scroll {
    overflow: hidden;
}

/* Loading State */
.mobile-menu-btn.loading span {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}
