/* VR Onboarding Template - Responsive Styles */

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Medium Screens (992px and up) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .feature-item {
        display: flex;
        align-items: center;
    }
    
    .feature-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .feature-item:nth-child(even) .feature-icon {
        margin-left: 2rem;
        margin-right: 0;
    }
}

/* Small Screens (768px and up) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .hero {
        text-align: left;
    }
    
    .hero-content {
        padding-right: 2rem;
    padding-top: 200px;
}
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
}

/* Mobile Screens (576px and up) */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

/* Mobile Portrait and Below (767px and down) */
@media (max-width: 767.98px) {
    /* Typography adjustments */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    /* Section spacing */
    .section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Hero section */
    .hero {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    padding-top: 200px;
}
    
    .hero p {
        font-size: 1.1rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Cards and items */
    .service-item,
    .price-item,
    .team-member,
    .review-item,
    .casestudy-item,
    .career-item,
    .blog-item {
        margin-bottom: 1.5rem;
    }
    
    .service-content,
    .price-item,
    .team-info,
    .review-item,
    .casestudy-content,
    .career-item,
    .blog-content {
        padding: 1.5rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Features */
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .about-feature {
        padding: 1.5rem;
    }
    
    /* Process and timeline */
    .process-item {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 1rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Core info */
    .coreinfo-item {
        padding: 1.5rem;
    }
    
    /* Gallery */
    .gallery-item img {
        height: 200px;
    }
    
    /* FAQ */
    .faq-question {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer .col-md-3,
    .footer .col-md-4 {
        margin-bottom: 2rem;
    }
}

/* Mobile Landscape (480px and down) */
@media (max-width: 479.98px) {
    /* Even smaller adjustments */
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-content,
    .price-item,
    .contact-form,
    .contact-info {
        padding: 1rem;
    }
    
    .about-feature,
    .feature-item,
    .coreinfo-item {
        padding: 1rem;
    }
    
    .team-photo,
    .service-image,
    .casestudy-image,
    .blog-image {
        height: 180px;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .feature-icon,
    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .about-feature i,
    .coreinfo-icon {
        font-size: 2rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .review-item::before {
        font-size: 2rem;
        top: 0.5rem;
        right: 1rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .contact-form {
        display: none;
    }
    
    .hero {
        min-height: auto;
        background: var(--white);
        color: var(--black);
    }
    
    .section {
        padding: 1rem 0;
        break-inside: avoid;
    }
    
    .service-item,
    .price-item,
    .team-member,
    .review-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--gray);
    }
    
    a {
        text-decoration: underline;
    }
    
    .text-gradient {
        color: var(--black);
        background: none;
        -webkit-text-fill-color: initial;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image img,
    .service-image img,
    .team-photo img,
    .gallery-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* Dark Mode Preference (for better accessibility) */

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .hero h1,
    .hero p,
    .hero-image {
        animation: none;
    }
    
    .service-item:hover,
    .price-item:hover,
    .team-member:hover,
    .review-item:hover,
    .casestudy-item:hover,
    .career-item:hover,
    .blog-item:hover,
    .gallery-item:hover {
        transform: none;
    }
    
    .service-item:hover .service-image img,
    .casestudy-item:hover .casestudy-image img,
    .blog-item:hover .blog-image img,
    .gallery-item:hover img {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .navbar-nav .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .faq-question {
        min-height: 60px;
    }
    
    .form-control {
        min-height: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .service-item:hover,
    .price-item:hover,
    .team-member:hover,
    .review-item:hover {
        transform: none;
        box-shadow: var(--box-shadow);
    }
}

/* Container Max-Width Override for Very Large Screens */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
}

/* Specific Bootstrap Grid Overrides for Edge Cases */
@media (max-width: 991.98px) {
    .col-lg-4,
    .col-lg-6,
    .col-lg-8,
    .col-lg-12 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .col-md-3,
    .col-md-4,
    .col-md-6,
    .col-md-8,
    .col-md-12 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .col-sm-6,
    .col-sm-12 {
        margin-bottom: 1rem;
    }
} 