/* VR Dance Studio - Responsive CSS */

/* Mobile First Approach */

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .display-4 {
        font-size: 3.5rem;
    }
    
    .hero-section {
        padding-top: 8rem;
    }
    
    .hero-buttons .btn {
        padding: 1rem 2.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
    .display-4 {
        font-size: 3rem;
    }
    
    .h2 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .h2 {
        font-size: 1.6rem;
    }
    
    .hero-section {
        padding-top: 5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 2rem;
        margin: 0.25rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .team-member {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .member-photo {
        width: 120px;
        height: 120px;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 1rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .review-card {
        margin-bottom: 1.5rem;
    }
    
    .case-study-card {
        margin-bottom: 1.5rem;
    }
    
    .career-card {
        margin-bottom: 1.5rem;
    }
    
    .info-card {
        margin-bottom: 1.5rem;
    }
    
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline::before {
        left: 0.75rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: -1.5rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
    .display-4 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .h2 {
        font-size: 1.5rem;
    }
    
    .h4 {
        font-size: 1.25rem;
    }
    
    .h5 {
        font-size: 1.1rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Disable animations on mobile for better performance */
    @media (prefers-reduced-motion: no-preference) {
        .hero-section .shape-1,
        .hero-section .shape-2,
        .hero-section .shape-3 {
            animation: none;
        }
    }
    
    .hero-section {
        min-height: 90vh;
        padding-top: 4rem;
        text-align: center;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
    }
    
    /* Sections padding adjustment */
    section {
        padding: 3rem 0;
    }
    
    /* Feature cards stack nicely */
    .feature-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    /* Service cards full width */
    .service-card {
        margin-bottom: 1rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    /* Pricing cards */
    .pricing-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .featured-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Team members */
    .team-member {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
    }
    
    /* Reviews */
    .review-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Case studies */
    .case-study-card {
        margin-bottom: 1rem;
    }
    
    .case-image {
        height: 160px;
    }
    
    /* Process timeline mobile optimization */
    .process-timeline {
        padding: 0;
    }
    
    .process-step {
        padding: 1rem;
        margin-bottom: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    /* Timeline mobile */
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline::before {
        left: 0.5rem;
    }
    
    .timeline-item {
        padding-left: 1rem;
    }
    
    .timeline-marker {
        left: -1rem;
        width: 0.75rem;
        height: 0.75rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    /* Career cards */
    .career-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .career-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .career-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* Info cards */
    .info-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
    }
    
    /* FAQ cards */
    .faq-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    /* Gallery grid adjustment */
    .gallery-image {
        margin-bottom: 1rem;
    }
    
    /* Blog cards */
    .blog-card {
        margin-bottom: 1rem;
    }
    
    .blog-image {
        height: 160px;
    }
    
    .blog-content {
        padding: 1rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    /* Footer adjustments */
    #footer {
        padding: 3rem 0 2rem;
    }
    
    #footer .row > div {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    #footer .social-links {
        justify-content: center;
    }
    
    /* Hide complex shapes on mobile for performance */
    .hero-shapes {
        display: none;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .display-4 {
        font-size: 1.75rem;
    }
    
    .h2 {
        font-size: 1.4rem;
    }
    
    .h4 {
        font-size: 1.2rem;
    }
    
    .h5 {
        font-size: 1rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section {
        min-height: 85vh;
        padding-top: 3rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .team-member,
    .review-card,
    .case-study-card,
    .career-card,
    .info-card,
    .faq-card,
    .blog-card {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .contact-info {
        padding: 0.75rem;
    }
    
    .member-photo {
        width: 80px;
        height: 80px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .timeline-content {
        padding: 0.75rem;
    }
    
    .info-icon,
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-image,
    .case-image,
    .blog-image {
        height: 140px;
    }
    
    #footer {
        padding: 2rem 0 1.5rem;
    }
    
    #footer .row > div {
        margin-bottom: 1.5rem;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding-top: 2rem;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    padding-top: 200px;
}
    
    .hero-section h2 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-section p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

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

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-section .shape-1,
    .hero-section .shape-2,
    .hero-section .shape-3 {
        animation: none;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .pricing-card:hover,
    .team-member:hover,
    .review-card:hover,
    .case-study-card:hover,
    .career-card:hover,
    .info-card:hover,
    .faq-card:hover,
    .blog-card:hover,
    .contact-info:hover,
    .timeline-content:hover,
    .process-step:hover {
        transform: none;
    }
    
    .hero-buttons .btn:hover,
    .btn-primary:hover,
    .btn-outline-primary:hover {
        transform: none;
    }
    
    .hero-image img:hover,
    .service-image img:hover,
    .case-image img:hover,
    .blog-image img:hover,
    .gallery-image:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .hero-shapes,
    .navbar,
    .social-links,
    .hero-buttons,
    .btn {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
        background: white;
        color: black;
    }
    
    .hero-section h1,
    .hero-section h2,
    .hero-section p {
        color: black;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .team-member,
    .review-card,
    .case-study-card,
    .career-card,
    .info-card,
    .faq-card,
    .blog-card {
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
        page-break-inside: avoid;
    }
} 

body {
    overflow-x: hidden;
}