/* Mobile Styles - App-like Interface */
@media screen and (max-width: 767px) {
    /* Hide desktop header on mobile */
    .desktop-header {
        display: none !important;
    }

    /* Mobile App Bar */
    .mobile-app-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .mobile-menu-toggle,
    .mobile-call-btn {
        background: transparent;
        border: none;
        color: white;
        font-size: 20px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s;
    }

    .mobile-menu-toggle:active,
    .mobile-call-btn:active {
        background: rgba(255,255,255,0.2);
    }

    .mobile-app-logo {
        display: flex;
        align-items: center;
        gap: 8px;
        color: white;
        font-size: 18px;
        font-weight: 600;
    }

    .mobile-app-logo i {
        font-size: 24px;
    }

    /* Side Navigation Overlay */
    .side-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1100;
    }

    .side-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Side Navigation Drawer */
    .side-nav {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 1200;
        display: flex;
        flex-direction: column;
    }

    .side-nav.active {
        left: 0;
    }

    .side-nav-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 20px;
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .side-nav-profile {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .side-nav-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }

    .side-nav-user-info h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
    }

    .side-nav-user-info p {
        margin: 4px 0 0 0;
        font-size: 12px;
        opacity: 0.9;
    }

    .side-nav-close {
        background: transparent;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        padding: 0;
        width: 32px;
        height: 32px;
    }

    .side-nav-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        flex: 1;
        overflow-y: auto;
    }

    .side-nav-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 20px;
        color: #333;
        cursor: pointer;
        transition: background 0.2s;
        border-left: 3px solid transparent;
    }

    .side-nav-item:hover {
        background: #f5f5f5;
    }

    .side-nav-item.active {
        background: #f0f4ff;
        color: #667eea;
        border-left-color: #667eea;
    }

    .side-nav-item i {
        font-size: 20px;
        width: 24px;
    }

    .side-nav-item span {
        font-size: 15px;
        font-weight: 500;
    }

    .side-nav-footer {
        padding: 20px;
        border-top: 1px solid #e0e0e0;
        background: #f9f9f9;
    }

    .side-nav-contact p {
        margin: 8px 0;
        font-size: 13px;
        color: #666;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .side-nav-contact i {
        color: #667eea;
        width: 16px;
    }

    /* Bottom Navigation */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: white;
        display: flex;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        background: transparent;
        border: none;
        color: #999;
        cursor: pointer;
        padding: 8px 4px;
        transition: all 0.2s;
    }

    .bottom-nav-item i {
        font-size: 20px;
    }

    .bottom-nav-item span {
        font-size: 11px;
        font-weight: 500;
    }

    .bottom-nav-item.active {
        color: #667eea;
    }

    .bottom-nav-item:active {
        transform: scale(0.95);
    }

    /* Adjust main content for app bars */
    body {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Hero Section Mobile Adjustments */
    .hero {
        padding: 30px 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        padding: 14px 24px;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        margin-top: 30px;
    }

    .stat {
        flex: 1;
    }

    /* Services Section */
    .services {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 20px;
    }

    /* Coaches Section */
    .coaches {
        padding: 40px 0;
    }

    .coaches-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Programs Section */
    .programs {
        padding: 40px 0;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Testimonials Section */
    .testimonials {
        padding: 40px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Contact Section */
    .contact {
        padding: 40px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 24px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 15px;
    }

    /* Footer */
    .footer {
        padding: 30px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 13px;
    }

    /* Container adjustments */
    .container {
        padding: 0 16px;
    }

    /* Hide elements that don't work well on mobile */
    .book-session-btn,
    .profile-btn {
        display: none;
    }
}

/* Very small devices (320px and below) */
@media screen and (max-width: 375px) {
    .mobile-app-logo span {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .bottom-nav-item i {
        font-size: 18px;
    }

    .bottom-nav-item span {
        font-size: 10px;
    }
}
