/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Tablet and Below */
@media (max-width: 1024px) {
    .container {
        padding: 0 4%;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .section-title {
        font-size: 22px;
    }

    /* Hide desktop mega menu on tablets */
    .submenu-panel {
        display: none !important;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {

    /* Show mobile menu button */
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Header adjustments */
    .header-top {
        padding: 15px 20px;
    }

    .header-controls {
        display: none;
        /* Hide language selector on mobile */
    }

    /* Mobile Navigation */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff !important;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 0 0 0 !important;
        /* Reset desktop padding */
        overflow-y: auto;
        border-top: none !important;
        /* Remove desktop border */
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        background-color: #ffffff !important;
    }

    .main-nav>ul>li {
        border-bottom: 1px solid #f0f0f0;
        background-color: #ffffff !important;
        width: 100%;
    }

    .main-nav>ul>li>a {
        padding: 16px 20px !important;
        display: block;
        color: #333 !important;
        font-weight: 500;
        background-color: #ffffff !important;
    }

    /* Mobile Mega Menu */
    .mega-menu {
        position: static !important;
        display: none;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        background-color: #ffffff !important;
    }

    .has-dropdown.active .mega-menu {
        display: block !important;
    }

    .mega-menu>li {
        border-bottom: 1px solid #eee;
    }

    .mega-menu>li>a {
        padding: 14px 20px 14px 40px !important;
        background-color: #ffffff !important;
    }

    .mega-menu>li>a:hover {
        background-color: #f5f5f5 !important;
    }

    /* Hide submenu panels on mobile */
    .submenu-panel {
        display: none !important;
    }

    /* Hero Section */
    .hero-content {
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 16px;
    }

    /* Search form mobile */
    .search-form {
        flex-direction: column;
        gap: 12px;
    }

    .form-input {
        width: 100%;
    }

    .search-btn {
        width: 100%;
    }

    /* Deals Grid */
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .deal-card {
        max-width: 100%;
    }

    /* Top Attractions */
    .section-title {
        font-size: 20px;
    }

    .section-controls {
        gap: 8px;
    }

    .see-all {
        font-size: 12px;
    }

    .nav-btn {
        width: 32px;
        height: 32px;
    }

    .attraction-card {
        flex: 0 0 180px;
        height: 240px;
    }

    .card-content h3 {
        font-size: 14px;
    }

    .card-content p {
        font-size: 11px;
    }

    /* Categories Grid */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card h3 {
        font-size: 16px;
    }

    /* Ticket Cards */
    .ticket-card {
        flex-direction: column;
    }

    .ticket-image-container {
        height: 200px;
    }

    /* Ticket Pricing */
    .ticket-pricing {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #eee;
        padding-top: 20px;
        flex: 1;
    }

    /* Deals Section Adjustments for Mobile */
    .deals-section::before,
    .deals-section::after {
        display: none !important;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-column {
        width: 100%;
    }

    /* Product Page */
    .product-header h1 {
        font-size: 24px;
    }

    .product-rating {
        font-size: 13px;
    }

    .product-main {
        flex-direction: column;
    }

    .product-gallery {
        width: 100%;
    }

    .product-info {
        width: 100%;
    }
}

/* Very Small Mobile */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 18px;
    }

    .attraction-card {
        flex: 0 0 160px;
        height: 220px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        max-width: 120px;
    }
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}