/* Responsive Styles */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .about-content {
        gap: 50px;
    }
    
    .services-grid,
    .trainers-grid,
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait */
@media (max-width: 968px) {
    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left var(--transition-fast);
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        margin-top: 20px;
    }

    /* Sections */
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .event-card.featured {
        grid-column: span 1;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .section-header h2 {
        font-size: 3rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Layout */
    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    /* Grids */
    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .equipment-grid,
    .trainers-grid,
    .events-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }

    .newsletter-section {
        padding: 40px 20px;
    }

    /* Cards */
    .service-card,
    .trainer-card,
    .pricing-card {
        padding: 30px;
    }

    /* Contact */
    .contact-info,
    .contact-form {
        padding: 30px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section a {
        justify-content: center;
    }

    .footer .social-buttons {
        justify-content: center;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    /* Typography */
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Buttons */
    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    /* Navigation */
    .logo-text {
        font-size: 1.4rem;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    /* Hero */
    .hero-logo {
        width: 100px;
        height: 100px;
    }

    /* Cards */
    .stat-card {
        padding: 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    /* Forms */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Newsletter */
    .newsletter-content h3 {
        font-size: 1.8rem;
    }

    .newsletter-content p {
        font-size: 1rem;
    }

    /* Back to Top */
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 15px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .service-card,
    .equipment-item {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .hero-buttons,
    .newsletter-section,
    .contact-form,
    .social-buttons {
        display: none;
    }

    body {
        color: black;
        background: white;
    }

    .section-header h2,
    .service-card h3,
    .trainer-info h3 {
        color: black;
        -webkit-text-fill-color: black;
    }
}