/* ==========================================
   ENHANCED MOBILE MENU - CONFLUENCE-C
   Modern Slide-out Navigation
   ========================================== */

/* Mobile Menu Container */
.mobile-menu-enhanced {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #f8f8f8 0%, #f8f8f8 100%);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.mobile-menu-enhanced.active {
    right: 0;
}

/* Menu Header */
.mobile-menu-header {
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #f8f8f8 0%, #d9ab5d 100%);
    display: flex
;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-header img {
    width: 95px;
    height: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

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

/* Navigation Links */
.mobile-menu-nav {
    padding: 2rem 0;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-nav a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: #009b77;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(217, 171, 93, 0.2), transparent);
    transition: width 0.4s ease;
}

.mobile-menu-nav a:hover {
    background: rgba(217, 171, 93, 0.1);
    color: #d9ab5d;
    padding-left: 2rem;
}

.mobile-menu-nav a:hover::before {
    width: 100%;
}

/* CTA Button in Menu */
.mobile-menu-cta {
    margin: 2rem 1.5rem;
}

.mobile-menu-cta .btn-cta {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #d9ab5d 0%, #d9ab5d 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 171, 93, 0.3);
}

.mobile-menu-cta .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 171, 93, 0.4);
}

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

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

/* Hamburger Menu Toggle */
.mobile-menu-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10000;
    background: rgba(217, 171, 93, 0.9);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: #d9ab5d;
    transform: scale(1.1);
}

.hamburger {
    width: 25px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 480px) {
    .mobile-menu-enhanced {
        width: 100%;
    }
    
    .mobile-menu-toggle {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem;
    }
}

/* Scroll Behavior */
.mobile-menu-enhanced::-webkit-scrollbar {
    width: 6px;
}

.mobile-menu-enhanced::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-enhanced::-webkit-scrollbar-thumb {
    background: rgba(217, 171, 93, 0.5);
    border-radius: 3px;
}

.mobile-menu-enhanced::-webkit-scrollbar-thumb:hover {
    background: rgba(217, 171, 93, 0.8);
}

/* Animation Classes */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mobile-menu-enhanced.active {
    animation: slideInRight 0.4s ease-out;
}

.mobile-menu-overlay.active {
    animation: fadeIn 0.3s ease-out;
}
