/* VR Dance Academy - Responsive Styles */

/* Mobile First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Disable animations on mobile as per requirements */
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
    
    body {
        padding-top: 60px;
    overflow-x: hidden;
}
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 175px;
}
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .member-photo img {
        width: 100px;
        height: 100px;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    /* Stack columns on mobile */
    .col-lg-2-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Disable animations on mobile as per requirements */
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    padding-top: 175px;
}
    
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .pricing-card {
        margin-bottom: 1.5rem;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    padding-top: 175px;
}
    
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .hero-buttons .btn {
        margin-right: 1rem;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    padding-top: 175px;
}
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
    padding-top: 175px;
}
    
    .feature-card {
        padding: 2.5rem 2rem;
    }
    
    .contact-form {
        padding: 4rem;
    }
}

/* Extra Extra Large Devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form,
    footer {
        display: none;
    }
    
    body {
        padding-top: 0;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    .card {
        border: 1px solid #000;
        break-inside: avoid;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #4a0e4e;
        --primary-light: #8b5a8c;
        --primary-dark: #2d0a30;
        --background-color: #ffffff;
        --background-light: #ffffff;
        --background-dark: #000000;
        --neutral-dark: #000000;
    }
    
    .card {
        border: 2px solid var(--neutral-dark);
    }
    
    .btn {
        border-width: 2px;
    }
}

/* Focus Indicators for Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .btn:focus,
    .nav-link:focus,
    .form-control:focus,
    .form-check-input:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 90vh;
        padding: 1rem 0;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        padding: 1rem;
    }
    
    .card:hover,
    .feature-card:hover,
    .service-card:hover {
        transform: none;
    }
    
    /* Remove hover effects on touch devices */
    .hero-image img:hover,
    #gallery img:hover,
    .member-photo:hover img {
        transform: none;
        filter: none;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Dark Mode Support */

/* Viewport Height Adjustments */
@media (max-height: 600px) {
    .hero-section {
        min-height: 90vh;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Wide Screen Optimizations */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-section h1 {
        font-size: 4rem;
    padding-top: 175px;
}
    
    .display-5 {
        font-size: 2.5rem;
    }
}

/* Tablet Specific Adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .contact-form {
        padding: 3rem 2rem;
    }
    
    .team-member {
        padding: 1rem;
    }
    
    .member-photo img {
        width: 100px;
        height: 100px;
    }
}

/* Navigation Responsive Behavior */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 10px;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Form Responsive Adjustments */
@media (max-width: 767.98px) {
    .contact-form .row .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .form-control {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Gallery Responsive Grid */
@media (max-width: 767.98px) {
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
}

/* Team Grid Adjustments */
@media (max-width: 991.98px) {
    .team-member {
        margin-bottom: 2rem;
    }
}

/* Pricing Cards Mobile Stack */
@media (max-width: 767.98px) {
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card .card-header {
        padding: 2rem 1rem;
    }
}

/* FAQ Mobile Optimization */
@media (max-width: 767.98px) {
    .faq-card {
        margin-bottom: 1rem;
    }
    
    .faq-card .card-body {
        padding: 1.5rem;
    }
} 