/* ============================================
   RESPONSIVE CSS - MOBILE FIRST
   ============================================ */

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-700);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--gray-200);
    padding: 8px 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    color: var(--gray-500);
    transition: var(--transition);
    padding: 4px 12px;
    border-radius: var(--radius);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-bottom-nav .nav-item i {
    font-size: 20px;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--primary);
}

.mobile-bottom-nav .nav-item:hover {
    background: var(--gray-100);
}

/* Mobile Search Overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
}

.search-overlay.active {
    display: flex;
}

.search-overlay .search-panel {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    width: 100%;
    max-width: 500px;
}

.search-overlay .search-panel input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 16px;
}

/* Swipeable Cards */
.swipe-container {
    overflow-x: auto;
    display: flex;
    gap: 16px;
    padding: 8px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.swipe-container .swipe-item {
    flex: 0 0 85%;
    scroll-snap-align: start;
}

/* Pull to Refresh */
.pull-to-refresh {
    position: relative;
}

.pull-to-refresh .pull-indicator {
    text-align: center;
    padding: 8px;
    color: var(--gray-400);
    font-size: 12px;
}

/* Loading Skeleton */
.skeleton {
    animation: shimmer 1.5s ease-in-out infinite;
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    border-radius: var(--radius);
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    max-width: 90%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast.show {
    opacity: 1;
}

/* Mobile Specific */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-bottom-nav {
        display: block;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .card {
        padding: 16px;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .hero-text h1 {
        font-size: 24px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .hero-stat {
        padding: 12px;
    }
    
    .hero-stat .number {
        font-size: 20px;
    }
    
    .search-box {
        flex-direction: column;
        padding: 12px;
    }
    
    .search-box input,
    .search-box select {
        min-width: 100%;
    }
    
    .jobs-grid,
    .events-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .announcement-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 20px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .job-card .job-footer {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}