/* MOBILE HEADER STYLES */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    padding: 10px 0;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0) !important;
}

/* Enhanced sticky header on scroll - always visible */
.mobile-header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
    transform: translateY(0) !important;
}

/* Always keep header visible - remove hide functionality */
.mobile-header.hide-header,
.mobile-header.show-header {
    transform: translateY(0) !important;
}

.mobile-header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.mobile-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.mobile-logo a {
    display: block;
    text-decoration: none;
    position: relative;
}

.mobile-logo img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 243px;
    max-width: 500px !important;
    filter: brightness(1) saturate(1);
}

/* Logo scaling on scroll */
.mobile-header.scrolled .mobile-logo img {
    width: 220px;
    transform: scale(0.95);
}

/* Enhanced hover effects */
.mobile-logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
}

.mobile-header.scrolled .mobile-logo:hover img {
    transform: scale(1.02);
}

/* Glowing effect on logo */
.mobile-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
    z-index: -1;
}

.mobile-logo:hover::before {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Pulse animation for logo */
@keyframes logoPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.mobile-logo img:hover {
    animation: logoPulse 1.5s infinite;
}

/* Adjust body padding for mobile header */
@media (max-width: 991px) {
    body {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

/* MOBILE NAVIGATION STYLES */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
    border-top: 1px solid #d4af37;
    box-shadow: 0 -4px 20px rgb(10 10 10);
    z-index: 1000;
    padding: 8px 0;
    backdrop-filter: blur(10px);
    border-top-left-radius: 56px;
    border-top-right-radius: 56px;
}


.mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    border-radius: 16px;
    min-width: 60px;
    position: relative;
    overflow: hidden;
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.mobile-nav-item:hover::before,
.mobile-nav-item.active::before {
    opacity: 1;
}

.mobile-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.mobile-nav-item span {
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    text-align: center;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: #D4AF37;
    transform: translateY(-2px);
}

.mobile-nav-item:hover i,
.mobile-nav-item.active i {
    transform: scale(1.1);
    color: #D4AF37;
}

.mobile-nav-item:hover span,
.mobile-nav-item.active span {
    color: #D4AF37;
    font-weight: 600;
}

/* Active state indicator */
.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #D4AF37;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* Responsive adjustments for 5 items */
@media (max-width: 480px) {
    .mobile-nav-item {
        padding: 6px 6px;
        min-width: 45px;
    }
    
    .mobile-nav-item i {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .mobile-nav-item span {
        font-size: 9px;
    }
}

@media (max-width: 360px) {
    .mobile-nav-item {
        padding: 5px 4px;
        min-width: 40px;
    }
    
    .mobile-nav-item i {
        font-size: 16px;
        margin-bottom: 2px;
    }
    
    .mobile-nav-item span {
        font-size: 8px;
    }
}

/* Extra small screens - optimize for 5 items */
@media (max-width: 320px) {
    .mobile-nav-item {
        padding: 4px 3px;
        min-width: 35px;
    }
    
    .mobile-nav-item i {
        font-size: 15px;
        margin-bottom: 2px;
    }
    
    .mobile-nav-item span {
        font-size: 7px;
    }
}

/* Animation for page transitions */
.mobile-nav-item {
    animation: fadeInUp 0.6s ease forwards;
}

.mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-item:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-item:nth-child(4) { animation-delay: 0.4s; }
.mobile-nav-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure content doesn't get hidden behind mobile nav */
@media (max-width: 991px) {
    body {
        padding-bottom: 70px;
    }
    
    .main-footer {
        margin-bottom: 0;
    }
}

/* Hide mobile nav on desktop */
@media (min-width: 992px) {
    .mobile-nav {
        display: none !important;
    }
    
    body {
        padding-bottom: 0;
    }
}
