/* === VOYAGEE LOGG RESPONSIVE STYLES === */

/* Large Desktop Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .trainers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop and Large Tablets */
@media (max-width: 1200px) {
    .hero-content {
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-content,
    .contact-content {
        gap: 3rem;
    }
}

/* Medium Tablets */
@media (max-width: 992px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1002;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Section */
    .hero {
        padding-top: 120px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Trainers Section */
    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Newsletter Section */
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small Tablets and Large Phones */
@media (max-width: 768px) {
    /* Base Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Sections Padding */
    .hero,
    .about,
    .services,
    .trainers,
    .testimonials,
    .newsletter,
    .contact {
        padding: 4rem 0;
    }
    
    /* Navigation */
    .nav {
        padding: 0.75rem 0;
    }
    
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 2rem;
        margin: 1.5rem 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* About Section */
    .about-grid {
        gap: 1.5rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    /* Trainers Section */
    .trainers-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .trainer-image {
        width: 150px;
        height: 150px;
    }
    
    /* Testimonials Section */
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-text p {
        font-size: 1.1rem;
    }
    
    .testimonial-nav {
        gap: 1rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Newsletter Section */
    .newsletter-form-container {
        padding: 1.5rem;
    }
    
    /* Contact Section */
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-cta {
        padding: 2rem 1.5rem;
    }
    
    .cta-content img {
        max-width: 200px;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .cookie-buttons .btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    /* Cookie Modal */
    .cookie-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    /* Base Styles */
    .container {
        padding: 0 0.75rem;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    /* Sections Padding */
    .hero,
    .about,
    .services,
    .trainers,
    .testimonials,
    .newsletter,
    .contact {
        padding: 3rem 0;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Hero Section */
    .hero-text h1 {
        font-size: 1.9rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Cards */
    .about-card,
    .service-card,
    .trainer-card,
    .contact-card {
        padding: 1.25rem;
    }
    
    /* Service Cards */
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-price {
        font-size: 1.25rem;
    }
    
    /* Trainer Cards */
    .trainer-image {
        width: 120px;
        height: 120px;
    }
    
    .trainer-specialties {
        gap: 0.25rem;
    }
    
    .trainer-specialties span {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem 1rem;
    }
    
    .testimonial-text p {
        font-size: 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Newsletter */
    .newsletter-text h2 {
        font-size: 2rem;
    }
    
    .newsletter-benefits li {
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-cta {
        padding: 2rem 1rem;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content img {
        max-width: 150px;
    }
    
    /* Footer */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
    
    /* Forms */
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .form-group.checkbox-group label {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .checkmark {
        width: 18px;
        height: 18px;
    }
    
    /* Cookie Banner */
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-content p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }
}

/* Extra Small Screens */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.7rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .about-card,
    .service-card,
    .trainer-card,
    .contact-card {
        padding: 1rem;
    }
    
    .card-icon,
    .service-icon,
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .trainer-image {
        width: 100px;
        height: 100px;
    }
    
    .testimonial-card {
        padding: 1.25rem 0.75rem;
    }
    
    .newsletter-form-container {
        padding: 1rem;
    }
}

/* Landscape Orientation Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-stats {
        margin: 1rem 0;
    }
    
    .nav-menu {
        height: 100vh;
        padding-top: 80px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image img,
    .logo img,
    .footer-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .nav-toggle,
    .testimonial-nav,
    .hero-buttons,
    .newsletter-form,
    .social-links {
        display: none !important;
    }
    
    .hero,
    .about,
    .services,
    .trainers,
    .testimonials,
    .newsletter,
    .contact {
        padding: 1rem 0 !important;
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-image img {
        animation: none;
    }
    
    .contact-cta::before {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
    
    .service-card,
    .about-card,
    .trainer-card,
    .contact-card {
        border: 2px solid currentColor;
    }
    
    .testimonial-card {
        border: 2px solid rgba(255, 255, 255, 0.8);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .service-card,
    .about-card,
    .trainer-card,
    .contact-card,
    .newsletter-form-container {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .form-group input[type="text"]::placeholder,
    .form-group input[type="email"]::placeholder,
    .form-group textarea::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }
}
