/* === mobile-enhancements.css === */
/**
 * Mobile Enhancements CSS
 * Gelişmiş mobil optimizasyonlar ve animasyonlar
 */

/* ===================================
   MOBILE MENU OVERLAY & ANIMATION
   =================================== */

/* Mobile Menu Overlay Backdrop */
#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Container */
#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #FFD93D;
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    padding: 0;
}

#mobile-menu.active {
    right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-header .logo {
    font-weight: bold;
    font-size: 1.25rem;
    color: #212121;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #212121;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.mobile-menu-close:active {
    background: rgba(0, 0, 0, 0.2);
}

/* Mobile Menu Items */
#mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobile-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#mobile-menu li a {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: #212121;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
    min-height: 48px;
}

#mobile-menu li a:active {
    background: rgba(0, 0, 0, 0.1);
}

#mobile-menu li a .material-icons {
    margin-right: 12px;
    font-size: 20px;
}

/* ===================================
   HEADER MOBILE OPTIMIZATIONS
   =================================== */

@media (max-width: 768px) {
    .header-container {
        padding: 0.75rem 1rem !important;
    }

    .logo {
        font-size: 1.1rem !important;
    }

    .logo .material-icons {
        font-size: 1.75rem !important;
    }

    #mobile-menu-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===================================
   HERO SECTION MOBILE
   =================================== */

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem !important;
        min-height: auto !important;
    }

    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        width: 100%;
        padding: 1rem !important;
        font-size: 1rem !important;
    }
}

/* ===================================
   PROPERTY GRID MOBILE
   =================================== */

@media (max-width: 768px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .property-card {
        margin-bottom: 0;
    }

    .property-card-image {
        padding-bottom: 75% !important;
    }

    .property-card-content {
        padding: 0.75rem !important;
    }

    .property-card-title {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .property-card-location {
        font-size: 0.75rem !important;
        margin-bottom: 0.5rem;
    }

    .property-card-location .material-icons {
        font-size: 14px !important;
    }

    .property-card-specs {
        gap: 0.5rem !important;
        margin-bottom: 0.75rem;
    }

    .property-spec {
        font-size: 0.7rem !important;
    }

    .property-spec .material-icons {
        font-size: 14px !important;
    }

    .property-card-footer {
        flex-direction: column;
        gap: 0.5rem;
    }

    .property-price {
        font-size: 0.85rem !important;
    }

    .property-price-label {
        font-size: 0.65rem !important;
    }

    .property-price {
        font-size: 2rem !important;
    }

    .property-card-cta {
        display: none !important;
    }

    .property-card-badge {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem !important;
    }

    .property-card-favorite {
        width: 32px !important;
        height: 32px !important;
    }

    .property-card-favorite .material-icons {
        font-size: 18px !important;
    }

    /* Back to Top butonunu mobilde gizle */
    #backToTop {
        display: none !important;
    }
}

/* Son Eklenen İlanlar Grid - Mobilde 2 sütun */
@media (max-width: 768px) {
    .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-6 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}

/* ===================================
   FILTER DRAWER (MOBILE)
   =================================== */

.filter-drawer {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 24px 24px 0 0;
    z-index: 10000;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 -4px 24px rgba(0, 65, 199, 0.2);
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid #3ACBE8;
}

.filter-drawer.active {
    bottom: 0;
}

.filter-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 2px solid rgba(58, 203, 232, 0.2);
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #3ACBE8 0%, #1E88E5 100%);
    z-index: 1;
}

.filter-drawer-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.filter-drawer-close {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: white;
}

.filter-drawer-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.filter-drawer-close .material-icons {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.filter-drawer-content {
    padding: 1.25rem;
}

/* Filter Drawer Overlay */
.filter-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(58, 203, 232, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Filter Toggle Button (Mobile) */
.filter-toggle-btn {
    position: fixed;
    bottom: 80px; /* Bottom navigation yüksekliği + margin */
    right: 1rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3ACBE8 0%, #0041C7 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 65, 199, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99; /* Bottom nav altında kalır (bottom nav z-index: 1000) */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.filter-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 65, 199, 0.4);
}

.filter-toggle-btn:active {
    transform: scale(0.95) translateY(0);
}

.filter-toggle-btn .material-icons {
    font-size: 24px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Filter button badge (örn: aktif filtre sayısı) */
.filter-toggle-btn .filter-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 769px) {
    .filter-toggle-btn {
        display: none;
    }
}

/* ===================================
   MAP SECTION MOBILE
   =================================== */

@media (max-width: 768px) {
    #properties-map {
        height: 300px !important;
        border-radius: 12px;
    }

    .map-filters-sidebar {
        display: none !important;
    }

    .map-container {
        margin-bottom: 1rem;
    }
}

/* ===================================
   MODAL MOBILE OPTIMIZATIONS
   =================================== */

@media (max-width: 768px) {
    .modal {
        width: 95% !important;
        max-width: 95% !important;
        margin: 0 !important;
        border-radius: 16px 16px 0 0 !important;
        position: fixed !important;
        bottom: 0 !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(100%) !important;
        max-height: 90vh;
        overflow-y: auto;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .modal.active {
        transform: translateX(-50%) translateY(0) !important;
    }

    .modal-overlay {
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
    }
}

/* ===================================
   TOUCH OPTIMIZATIONS
   =================================== */

@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .hover-lift:hover {
        transform: none !important;
    }

    .card-hover:hover {
        transform: none !important;
    }

    /* Active states instead of hover */
    .property-card:active {
        transform: scale(0.98);
    }

    button:active,
    a:active {
        opacity: 0.8;
    }

    /* Better touch targets */
    a, button {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
}

/* ===================================
   SWIPE GESTURES (Image Gallery)
   =================================== */

.swipe-container {
    position: relative;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}

.swipe-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    will-change: transform;
}

.swipe-item {
    flex: 0 0 100%;
    width: 100%;
}

/* Swipe indicators */
.swipe-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.swipe-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s, transform 0.3s;
}

.swipe-indicator.active {
    background: #FFD93D;
    transform: scale(1.2);
}

/* ===================================
   STICKY ELEMENTS (MOBILE)
   =================================== */

@media (max-width: 768px) {
    .sticky-contact-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        z-index: 100;
        display: flex;
        gap: 0.75rem;
    }

    .sticky-contact-buttons button,
    .sticky-contact-buttons a {
        flex: 1;
        min-height: 48px;
        font-size: 1rem;
        font-weight: 600;
    }

    /* Add padding to body when sticky buttons are active */
    body.has-sticky-buttons {
        padding-bottom: 80px;
    }
}

/* ===================================
   BOTTOM NAVIGATION (MOBILE)
   =================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #3ACBE8 0%, #1E88E5 50%, #0041C7 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    z-index: 1000;
    box-shadow: 0 -4px 16px rgba(0, 65, 199, 0.3);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0.5rem;
    min-width: 60px;
    text-decoration: none;
    color: white;
    font-size: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.bottom-nav-item span:not(.material-icons):not(.badge) {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.bottom-nav-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.bottom-nav-item:active::after {
    width: 80px;
    height: 80px;
}

.bottom-nav-item:active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.bottom-nav-item.active {
    color: white;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
}

.bottom-nav-item.active span:not(.material-icons):not(.badge) {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bottom-nav-item.active .material-icons {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.bottom-nav-item .material-icons {
    font-size: 24px;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.bottom-nav-item .badge {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }
}

/* ===================================
   PULL TO REFRESH (MOBILE)
   =================================== */

.pull-to-refresh {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    transition: top 0.3s;
}

.pull-to-refresh.active {
    top: 20px;
}

.pull-to-refresh .material-icons {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

/* Hide on mobile */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Show only on mobile */
.show-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .show-mobile {
        display: block !important;
    }
}

/* Safe area insets for notched devices */
@supports (padding: max(0px)) {
    .safe-area-top {
        padding-top: max(1rem, env(safe-area-inset-top));
    }

    .safe-area-bottom {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }

    .safe-area-left {
        padding-left: max(1rem, env(safe-area-inset-left));
    }

    .safe-area-right {
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}

/* ===================================
   PROPERTY DETAIL PAGE - MOBILE REORDERING
   =================================== */
@media (max-width: 768px) {
    /* Sidebar sticky ayarını kaldır */
    .lg\:col-span-1 .sticky {
        position: relative !important;
        top: auto !important;
        display: flex;
        flex-direction: column;
    }

    /* Sıralama: Price Card -> Details Card -> Description -> Share Card */
    .property-price-card {
        order: 1;
    }

    .property-details-card {
        order: 2;
    }

    .property-description {
        order: 3;
    }

    .property-features {
        order: 4;
    }

    .property-share-card {
        order: 5;
    }
}




/* === mobile-improvements.css === */
/**
 * Mobile UX Improvements - 2025
 * Enhanced touch targets, gestures, and mobile-specific features
 */

/* ===================================
   Z-INDEX HIERARCHY (Consistent Scale)
   =================================== */
:root {
    --z-sticky: 100;          /* Sticky elements, FAB */
    --z-header: 1000;         /* Site header */
    --z-drawer: 9000;         /* Side drawers, filters */
    --z-overlay: 9500;        /* Overlays, backdrops */
    --z-mobile-menu: 9999;    /* Mobile menu */
    --z-modal: 10000;         /* Modals, dialogs */
    --z-toast: 10500;         /* Notifications, toasts */
}

/* ===================================
   MOBILE MENU TRIGGER BUTTON
   =================================== */
.mobile-menu-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.mobile-menu-trigger:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-trigger:active {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(0.95);
}

.mobile-menu-trigger .material-icons {
    font-size: 28px;
    color: #212121;
}

/* ===================================
   MOBILE MENU OVERLAY (Updated Z-Index)
   =================================== */
#mobile-menu-overlay {
    z-index: var(--z-overlay);
}

#mobile-menu {
    z-index: var(--z-mobile-menu);
}

/* ===================================
   MOBILE MENU LIST & LINKS
   =================================== */
.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-link {
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 12px;
    padding: 14px 20px !important;
    color: #212121 !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: background-color 0.2s ease;
    min-height: 52px !important; /* Exceeds 48px minimum */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-link:active {
    background: rgba(0, 0, 0, 0.1);
}

.mobile-menu-link .material-icons {
    font-size: 22px;
    flex-shrink: 0;
}

.mobile-menu-divider {
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    margin: 0;
}

.mobile-menu-action {
    padding: 16px 20px;
    border: none !important;
    background: transparent !important;
}

.mobile-menu-action .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    width: 100%;
}

/* ===================================
   BOTTOM NAVIGATION BAR
   =================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: var(--z-sticky);
    padding-bottom: env(safe-area-inset-bottom);
    display: none; /* Show on mobile */
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }

    /* Add bottom padding to body when bottom nav is visible */
    body.has-bottom-nav {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
}

.bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 8px 4px;
    min-height: 56px;
    text-decoration: none;
    color: #6B7280;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.bottom-nav-item:active {
    background: rgba(0, 0, 0, 0.05);
}

.bottom-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.bottom-nav-item.active {
    color: #FFD93D;
}

.bottom-nav-item.active .material-icons {
    color: #FFC700;
}

/* Badge for notifications */
.bottom-nav-item .badge {
    position: absolute;
    top: 6px;
    right: calc(50% - 18px);
    background: #EF4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* ===================================
   SAFE AREA INSETS (iPhone Notch Support)
   =================================== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .safe-area-top {
        padding-top: env(safe-area-inset-top);
    }

    .safe-area-bottom {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .safe-area-left {
        padding-left: env(safe-area-inset-left);
    }

    .safe-area-right {
        padding-right: env(safe-area-inset-right);
    }

    /* Apply to header */
    header {
        padding-top: calc(1rem + env(safe-area-inset-top));
    }

    /* Apply to mobile menu */
    #mobile-menu {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ===================================
   IMPROVED TOUCH TARGETS
   =================================== */
@media (max-width: 768px) {
    /* Ensure all interactive elements meet minimum size */
    button, .btn, a.button,
    input[type="submit"],
    input[type="button"] {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
    }

    /* Filter buttons */
    .filter-btn, .filter-toggle-btn {
        min-width: 48px;
        min-height: 48px;
    }

    /* Icon-only buttons need more padding */
    button.icon-only,
    .icon-btn {
        min-width: 48px;
        min-height: 48px;
        padding: 12px;
    }
}

/* ===================================
   MOBILE HEADER IMPROVEMENTS
   =================================== */
@media (max-width: 768px) {
    header {
        min-height: 56px;
        position: sticky;
        top: 0;
        z-index: var(--z-header);
    }

    .header-container {
        padding: 12px 16px;
        min-height: 56px;
    }

    /* Header shrink on scroll */
    header.scrolled {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

/* ===================================
   FILTER DRAWER Z-INDEX FIX
   =================================== */
.filter-drawer {
    z-index: var(--z-drawer) !important;
}

.filter-overlay {
    z-index: calc(var(--z-drawer) - 1) !important;
}

/* ===================================
   STICKY ELEMENTS Z-INDEX FIX
   =================================== */
.sticky-contact-buttons {
    z-index: var(--z-sticky) !important;
}

.filter-toggle-btn {
    z-index: calc(var(--z-sticky) + 1) !important;
}

/* ===================================
   PULL-TO-REFRESH INDICATOR
   =================================== */
.pull-to-refresh {
    position: fixed;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    z-index: calc(var(--z-header) + 1);
}

.pull-to-refresh.active {
    transform: translateY(60px);
}

.pull-to-refresh .spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #FFD93D;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===================================
   SWIPE INDICATOR
   =================================== */
.swipe-indicator {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80px;
    background: rgba(255, 217, 61, 0.5);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: var(--z-overlay);
}

.swipe-indicator.visible {
    opacity: 1;
}

/* ===================================
   FORM IMPROVEMENTS FOR MOBILE
   =================================== */
@media (max-width: 768px) {
    /* Stack form fields vertically */
    .form-row {
        flex-direction: column;
    }

    .form-row > * {
        width: 100% !important;
    }

    /* Larger input fields */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px !important; /* Prevents iOS zoom */
        padding: 14px 16px !important;
        min-height: 48px !important;
        border-radius: 8px;
    }

    /* Larger checkboxes and radios */
    input[type="checkbox"],
    input[type="radio"] {
        width: 20px;
        height: 20px;
    }

    /* Better spacing */
    .form-group {
        margin-bottom: 20px;
    }

    label {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 8px;
        display: block;
    }
}

/* ===================================
   HIDE SITE FOOTER ON MOBILE/TABLET
   =================================== */
@media (max-width: 1024px) {
    footer,
    .footer,
    #footer,
    .footer-container,
    .footer-section,
    .footer-bottom,
    .site-footer,
    .main-footer,
    .footer-wrapper,
    .footer-area {
        display: none !important;
    }
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */
/* Hardware acceleration for animations */
#mobile-menu,
#mobile-menu-overlay,
.bottom-nav,
.pull-to-refresh {
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   DARK MODE SUPPORT (Future)
   =================================== */
@media (prefers-color-scheme: dark) {
    /* Will be implemented in future update */
}

/* === mobile-header-blue.css === */
/**
 * Mobile Header Design - Pastel Blue Theme
 * Modern mobile header with pastel blue color scheme
 */

:root {
    /* New Vibrant Blue Color Palette */
    --mobile-blue-primary: #3ACBE8;      /* Bright cyan blue */
    --mobile-blue-secondary: #1E88E5;    /* Medium blue */
    --mobile-blue-accent: #0041C7;       /* Deep royal blue */
    --mobile-blue-dark: #002B8C;         /* Very deep blue */
    --mobile-blue-light: #7DD3F0;        /* Light cyan */
    --mobile-blue-gradient-start: #3ACBE8;
    --mobile-blue-gradient-end: #0041C7;

    /* Text colors for blue background */
    --mobile-text-primary: #FFFFFF;      /* White for text on blue */
    --mobile-text-secondary: #E3F2FD;    /* Light blue for secondary text */
    --mobile-text-white: #FFFFFF;

    /* Shadows */
    --mobile-shadow-sm: 0 2px 8px rgba(0, 65, 199, 0.15);
    --mobile-shadow-md: 0 4px 12px rgba(0, 65, 199, 0.2);
    --mobile-shadow-lg: 0 6px 16px rgba(0, 65, 199, 0.25);
}

/* ===================================
   ANIMATED GRADIENT KEYFRAMES
   =================================== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ===================================
   MOBILE HEADER - VIBRANT BLUE DESIGN
   =================================== */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* Force mobile header styles with high specificity */
    body header {
        background: linear-gradient(135deg,
            var(--mobile-blue-gradient-start) 0%,
            var(--mobile-blue-secondary) 50%,
            var(--mobile-blue-gradient-end) 100%) !important;
        background-size: 200% 200% !important;
        animation: gradientShift 8s ease infinite !important;
        box-shadow: var(--mobile-shadow-md) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

    /* Add spacing after sticky header to prevent content overlap */
    body header + * {
        margin-top: 20px !important;
    }

    /* Scrolled state - slightly darker with continued animation */
    body header.scrolled {
        background: linear-gradient(135deg,
            var(--mobile-blue-secondary) 0%,
            var(--mobile-blue-accent) 50%,
            var(--mobile-blue-dark) 100%) !important;
        background-size: 200% 200% !important;
        animation: gradientShift 8s ease infinite !important;
        box-shadow: var(--mobile-shadow-lg) !important;
    }

    /* Header container - Force horizontal layout with maximum specificity */
    body header .header-container {
        background: transparent !important;
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        padding: 8px 12px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ensure nav is hidden on mobile */
    body header .header-container nav {
        display: none !important;
    }

    body header .header-container nav.md\:block {
        display: none !important;
    }

    /* Logo styling for blue background - centered on mobile */
    body header .header-container .logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        color: var(--mobile-text-white) !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-weight: 600 !important;
        font-size: 15px !important;
        transition: transform 0.3s ease !important;
        z-index: 5 !important;
        pointer-events: all !important;
        margin: 0 !important;
    }

    body header .header-container .logo span:not(.material-icons) {
        color: var(--mobile-text-white) !important;
        white-space: nowrap !important;
    }

    body header .header-container .logo .material-icons {
        color: var(--mobile-text-white) !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
        font-size: 24px !important;
    }

    body header .header-container .logo:active {
        transform: translateX(-50%) scale(0.95) !important;
    }

    /* Mobile Menu Trigger Button - Left side, white glass effect */
    body header .header-container .mobile-menu-trigger {
        background: rgba(255, 255, 255, 0.25) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 10px !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        padding: 8px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10 !important;
        order: 1 !important;
        flex-shrink: 0 !important;
    }

    body header .header-container .mobile-menu-trigger:hover {
        background: rgba(255, 255, 255, 0.35) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    }

    body header .header-container .mobile-menu-trigger:active {
        background: rgba(255, 255, 255, 0.45) !important;
        transform: scale(0.95) !important;
    }

    body header .header-container .mobile-menu-trigger .material-icons {
        color: var(--mobile-text-white) !important;
        font-size: 22px !important;
        font-weight: 500 !important;
    }

    /* Mobile Login Trigger Button - Right side, matches menu button */
    body header .header-container .mobile-login-trigger,
    body header .header-container .mobile-profile-trigger {
        background: rgba(255, 255, 255, 0.25) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 10px !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        cursor: pointer !important;
        padding: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 40px !important;
        min-height: 40px !important;
        z-index: 10 !important;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1) !important;
        order: 3 !important;
        flex-shrink: 0 !important;
    }

    body header .header-container .mobile-login-trigger:hover,
    body header .header-container .mobile-profile-trigger:hover {
        background: rgba(255, 255, 255, 0.35) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    }

    body header .header-container .mobile-login-trigger:active,
    body header .header-container .mobile-profile-trigger:active {
        background: rgba(255, 255, 255, 0.45) !important;
        transform: scale(0.95) !important;
    }

    body header .header-container .mobile-login-trigger .material-icons,
    body header .header-container .mobile-profile-trigger .material-icons {
        color: var(--mobile-text-white) !important;
        font-size: 22px !important;
        font-weight: 500 !important;
    }

    /* Mobile Menu Overlay - Blue tinted */
    #mobile-menu-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(58, 203, 232, 0.5) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        z-index: 9500 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }

    #mobile-menu-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Mobile Menu - Vibrant Blue Gradient Design */
    #mobile-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: linear-gradient(180deg,
            var(--mobile-blue-gradient-start) 0%,
            var(--mobile-blue-secondary) 50%,
            var(--mobile-blue-gradient-end) 100%) !important;
        box-shadow: 4px 0 24px rgba(0, 65, 199, 0.3) !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow-y: auto !important;
        z-index: 9999 !important;
    }

    #mobile-menu.active {
        left: 0 !important;
    }

    /* Mobile Menu Header */
    .mobile-menu-header {
        background: linear-gradient(135deg,
            var(--mobile-blue-gradient-start) 0%,
            var(--mobile-blue-secondary) 100%);
        padding: 20px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .mobile-menu-header h3 {
        color: var(--mobile-text-white);
        font-size: 18px;
        font-weight: 600;
        margin: 0;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .mobile-menu-close {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        padding: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .mobile-menu-close .material-icons {
        color: var(--mobile-text-white);
        font-size: 24px;
    }

    /* Mobile Menu Links - White on Blue Gradient */
    .mobile-menu-link {
        color: var(--mobile-text-white) !important;
        background: transparent;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        padding: 14px 20px !important;
    }

    /* Hover effect with white gradient */
    .mobile-menu-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .mobile-menu-link:hover::before {
        left: 100%;
    }

    .mobile-menu-link:active {
        background: rgba(255, 255, 255, 0.25);
        transform: translateX(4px);
    }

    .mobile-menu-link .material-icons {
        color: var(--mobile-text-white);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    /* Active link state */
    .mobile-menu-link.active {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
        border-left: 4px solid var(--mobile-text-white);
        font-weight: 600;
    }

    .mobile-menu-link.active .material-icons {
        color: var(--mobile-text-white);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }

    /* Mobile Menu Divider */
    .mobile-menu-divider {
        background: linear-gradient(90deg, transparent 0%, rgba(138, 196, 217, 0.4) 50%, transparent 100%);
        height: 2px;
        margin: 8px 0;
    }

    /* Mobile Menu Action Buttons */
    .mobile-menu-action {
        padding: 20px;
        background: transparent !important;
        border-top: none !important;
    }

    .mobile-menu-action .btn {
        background: linear-gradient(135deg, var(--mobile-blue-accent) 0%, var(--mobile-blue-dark) 100%);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 12px rgba(74, 143, 163, 0.3);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-menu-action .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(74, 143, 163, 0.4);
    }

    .mobile-menu-action .btn:active {
        transform: scale(0.98);
    }

    .mobile-menu-action .btn .material-icons {
        color: white;
    }

    /* User info section in mobile menu */
    .mobile-user-info {
        padding: 16px 20px;
        background: rgba(255, 255, 255, 0.15);
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        gap: 12px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .mobile-user-info .avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--mobile-text-white);
        font-weight: 700;
        font-size: 20px;
        border: 3px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .mobile-user-info .user-name {
        font-weight: 600;
        color: var(--mobile-text-white);
        font-size: 16px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .mobile-user-info .user-email {
        font-size: 13px;
        color: var(--mobile-text-white);
        opacity: 0.85;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }
}

/* ===================================
   BOTTOM NAVIGATION - VIBRANT BLUE GRADIENT
   =================================== */
@media (max-width: 768px) {
    .bottom-nav {
        background: linear-gradient(135deg,
            var(--mobile-blue-gradient-start) 0%,
            var(--mobile-blue-secondary) 50%,
            var(--mobile-blue-gradient-end) 100%) !important;
        background-size: 200% 200% !important;
        animation: gradientShift 8s ease infinite !important;
        border-top: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 -4px 16px rgba(0, 65, 199, 0.3) !important;
    }

    .bottom-nav-item {
        color: var(--mobile-text-white);
        position: relative;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .bottom-nav-item span:not(.material-icons):not(.badge) {
        color: var(--mobile-text-white) !important;
    }

    /* Ripple effect on tap */
    .bottom-nav-item::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.4s ease, height 0.4s ease;
    }

    .bottom-nav-item:active::after {
        width: 80px;
        height: 80px;
    }

    .bottom-nav-item:active {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

    .bottom-nav-item .material-icons {
        color: var(--mobile-text-white);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    /* Active state - highlighted */
    .bottom-nav-item.active {
        color: var(--mobile-text-white);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
    }

    .bottom-nav-item.active .material-icons {
        color: var(--mobile-text-white);
        transform: scale(1.15);
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    }

    .bottom-nav-item.active span:not(.material-icons):not(.badge) {
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    /* Badge - updated for blue theme */
    .bottom-nav-item .badge {
        background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
        border: 2px solid white;
        box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    }
}

/* ===================================
   SWIPE INDICATOR - BLUE THEME
   =================================== */
@media (max-width: 768px) {
    .swipe-indicator {
        background: linear-gradient(90deg, var(--mobile-blue-accent) 0%, var(--mobile-blue-secondary) 100%);
        box-shadow: 2px 0 12px rgba(95, 168, 199, 0.4);
        width: 6px;
    }
}

/* ===================================
   PULL TO REFRESH - BLUE THEME
   =================================== */
@media (max-width: 768px) {
    .pull-to-refresh {
        background: linear-gradient(180deg, var(--mobile-blue-light) 0%, white 100%);
        border-bottom: 2px solid var(--mobile-blue-primary);
        box-shadow: 0 4px 12px rgba(138, 196, 217, 0.2);
    }

    .pull-to-refresh .spinner {
        border-color: var(--mobile-blue-secondary);
        border-top-color: transparent;
    }
}

/* ===================================
   SEARCH BAR IN MOBILE HEADER (Optional)
   =================================== */
@media (max-width: 768px) {
    .mobile-search-bar {
        margin: 10px 16px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        padding: 6px 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        cursor: pointer;
    }

    .mobile-search-bar:hover {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .mobile-search-bar:focus-within {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .mobile-search-bar .material-icons {
        color: var(--mobile-text-white);
        font-size: 20px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .mobile-search-bar input {
        border: none;
        background: transparent;
        flex: 1;
        font-size: 14px;
        color: var(--mobile-text-white);
        outline: none;
        cursor: pointer;
    }

    .mobile-search-bar input::placeholder {
        color: var(--mobile-text-white);
        opacity: 0.75;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    /* Mobile menu içindeki arama barı için ekstra küçültme */
    #mobileMenuSearchBar {
        margin: 8px 12px !important;
        padding: 4px 10px !important;
        border-radius: 16px !important;
    }

    #mobileMenuSearchBar .material-icons {
        font-size: 18px !important;
    }

    #mobileMenuSearchBar input {
        font-size: 13px !important;
    }
}

/* ===================================
   SMOOTH ANIMATIONS
   =================================== */
@media (max-width: 768px) {
    /* Fade in animation for menu */
    @keyframes fadeInSlide {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    #mobile-menu.active .mobile-menu-link {
        animation: fadeInSlide 0.3s ease forwards;
    }

    #mobile-menu.active .mobile-menu-link:nth-child(1) { animation-delay: 0.05s; }
    #mobile-menu.active .mobile-menu-link:nth-child(2) { animation-delay: 0.1s; }
    #mobile-menu.active .mobile-menu-link:nth-child(3) { animation-delay: 0.15s; }
    #mobile-menu.active .mobile-menu-link:nth-child(4) { animation-delay: 0.2s; }
    #mobile-menu.active .mobile-menu-link:nth-child(5) { animation-delay: 0.25s; }
    #mobile-menu.active .mobile-menu-link:nth-child(6) { animation-delay: 0.3s; }

    /* Pulse animation for notifications badge */
    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
    }

    .bottom-nav-item .badge {
        animation: pulse 2s ease-in-out infinite;
    }
}

/* ===================================
   GLASS MORPHISM EFFECTS
   =================================== */
@media (max-width: 768px) {
    .glass-effect {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 12px rgba(30, 58, 95, 0.1);
    }
}

/* ===================================
   ACCESSIBILITY IMPROVEMENTS
   =================================== */
@media (max-width: 768px) {
    /* Focus states for keyboard navigation */
    .mobile-menu-trigger:focus-visible {
        outline: 3px solid var(--mobile-blue-accent);
        outline-offset: 2px;
    }

    .mobile-menu-link:focus-visible {
        outline: 2px solid var(--mobile-blue-accent);
        outline-offset: -2px;
        background: rgba(95, 168, 199, 0.15);
    }

    .bottom-nav-item:focus-visible {
        outline: 2px solid var(--mobile-blue-accent);
        outline-offset: 2px;
        z-index: 1;
    }
}

/* ===================================
   FILTER DRAWER - MOBILE BLUE THEME
   =================================== */
@media (max-width: 768px) {
    /* Filter drawer içindeki butonlar */
    .filter-drawer .btn-primary,
    .filter-drawer button[type="submit"] {
        background: linear-gradient(135deg, var(--mobile-blue-gradient-start) 0%, var(--mobile-blue-accent) 100%) !important;
        color: white !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 2px 8px rgba(0, 65, 199, 0.3) !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
    }

    .filter-drawer .btn-primary:hover,
    .filter-drawer button[type="submit"]:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(0, 65, 199, 0.4) !important;
    }

    .filter-drawer .btn-primary:active,
    .filter-drawer button[type="submit"]:active {
        transform: scale(0.98) !important;
    }

    /* Temizle butonu */
    .filter-drawer .btn-secondary,
    .filter-drawer button[type="reset"] {
        background: rgba(58, 203, 232, 0.1) !important;
        color: var(--mobile-blue-accent) !important;
        border: 2px solid var(--mobile-blue-primary) !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
    }

    .filter-drawer .btn-secondary:hover,
    .filter-drawer button[type="reset"]:hover {
        background: rgba(58, 203, 232, 0.2) !important;
    }

    /* Filter drawer form inputs */
    .filter-drawer input[type="text"],
    .filter-drawer input[type="number"],
    .filter-drawer select {
        border: 2px solid rgba(58, 203, 232, 0.3) !important;
        transition: all 0.3s ease !important;
    }

    .filter-drawer input[type="text"]:focus,
    .filter-drawer input[type="number"]:focus,
    .filter-drawer select:focus {
        border-color: var(--mobile-blue-accent) !important;
        box-shadow: 0 0 0 3px rgba(58, 203, 232, 0.1) !important;
        outline: none !important;
    }

    /* Filter drawer labels */
    .filter-drawer label {
        color: var(--mobile-blue-dark) !important;
        font-weight: 600 !important;
    }

    /* Filter drawer checkboxes ve radio buttons */
    .filter-drawer input[type="checkbox"]:checked,
    .filter-drawer input[type="radio"]:checked {
        background-color: var(--mobile-blue-accent) !important;
        border-color: var(--mobile-blue-accent) !important;
    }
}

/* ===================================
   DARK MODE SUPPORT (Future)
   =================================== */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
    :root {
        --mobile-blue-primary: #2C5F7F;
        --mobile-blue-secondary: #1E4A5F;
        --mobile-blue-accent: #5FA8C7;
        --mobile-blue-dark: #4A8FA3;
        --mobile-blue-light: #1A3A4F;
        --mobile-text-primary: #E5F3F8;
        --mobile-text-secondary: #B8D8E8;
    }
}
