/* Universal Mobile Responsive Styles for RXZClub */
/* Add this to all pages after the main styles */

/* Tablet and Mobile */
@media (max-width: 768px) {
    /* Navigation Mobile Styles */
    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-top: 2px solid rgba(255, 215, 0, 0.2);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .nav-links.mobile-active {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-right {
        display: none !important;
    }

    /* Mobile Menu Hamburger */
    .mobile-menu {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
        padding: 5px;
    }

    .mobile-menu span {
        width: 30px;
        height: 3px;
        background: #FFD700;
        transition: 0.3s ease;
        border-radius: 2px;
    }

    /* Mobile Language & Login Actions */
    .mobile-actions {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background: rgba(0, 0, 0, 0.3);
        margin: 10px -20px -20px;
        border-radius: 0 0 10px 10px;
        gap: 10px;
    }

    .mobile-language {
        flex: 1;
    }

    .mobile-language select {
        width: 100%;
        padding: 10px;
        background: rgba(255, 215, 0, 0.1);
        border: 2px solid rgba(255, 215, 0, 0.3);
        color: #FFD700;
        border-radius: 8px;
        font-family: 'Outfit', sans-serif;
        font-weight: 600;
        font-size: 14px;
    }

    .mobile-login a {
        display: block;
        padding: 10px 20px;
        background: linear-gradient(135deg, #FFD700, #F7931E);
        color: #1a1a1a;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 700;
        white-space: nowrap;
        font-size: 14px;
    }

    /* Content Adjustments */
    .hero h1,
    .page-hero h1 {
        font-size: 2.5em;
    }

    .hero p,
    .page-hero p {
        font-size: 1.2em;
    }

    .section-title {
        font-size: 2em;
    }

    /* Grid Adjustments */
    .features-grid,
    .stats-grid,
    .charts-grid {
        grid-template-columns: 1fr !important;
    }

    /* Button Adjustments */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn,
    .action-btn {
        width: 100%;
    }

    /* Form Adjustments */
    .radio-group {
        flex-direction: column;
    }

    .radio-item {
        min-width: 100%;
    }

    /* Table Adjustments */
    .data-table {
        font-size: 0.85em;
    }

    .data-table th,
    .data-table td {
        padding: 10px 8px;
    }

    /* Hide some columns on mobile */
    .data-table th:nth-child(n+5),
    .data-table td:nth-child(n+5) {
        display: none;
    }

    /* Contact Form Grid */
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    /* Admin Dashboard */
    .sidebar {
        width: 0 !important;
        padding: 0 !important;
    }

    .main-content {
        margin-left: 0 !important;
        padding: 20px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero h1,
    .page-hero h1 {
        font-size: 2em;
    }

    .hero p,
    .page-hero p {
        font-size: 1em;
    }

    .section-title {
        font-size: 1.8em;
    }

    .feature-card,
    .stat-card {
        padding: 25px 20px;
    }

    .stat-number {
        font-size: 2em;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-links {
        padding: 15px;
    }

    /* Prevent zoom on iOS when focusing inputs */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Smaller buttons */
    .mobile-language select,
    .mobile-login a {
        font-size: 13px;
        padding: 8px 15px;
    }

    /* Compact tables */
    .data-table {
        font-size: 0.75em;
    }

    .table-actions {
        flex-direction: column;
        gap: 5px;
    }

    .btn-view,
    .btn-edit,
    .btn-delete {
        width: 100%;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero,
    .page-hero {
        min-height: auto;
        padding: 100px 40px 60px;
    }

    .nav-links {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero h1,
    .page-hero h1 {
        font-size: 1.8em;
    }

    .nav-container {
        padding: 0 10px;
    }

    .mobile-actions {
        flex-direction: column;
        gap: 10px;
    }

    .mobile-language,
    .mobile-login {
        width: 100%;
    }

    .mobile-login a {
        width: 100%;
        text-align: center;
    }
}