/* VRLingo - Responsive CSS */
/* Template 249 - Mobile-First Responsive Design */

/* Mobile First Approach - Base styles are mobile */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography adjustments for mobile */
    h1, .h1 {
        font-size: 1.875rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    /* Hero section mobile */
    .hero-section {
        min-height: 90vh;
        text-align: center;
    }
    
    .hero-content {
        padding-top: 3rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Disable animations on mobile for performance */
    .hero-shape-1,
    .hero-shape-2 {
        display: none;
    }
    
    /* Card adjustments */
    .feature-card,
    .service-card,
    .review-card,
    .pricing-card {
        margin-bottom: 1.5rem;
    }
    
    /* Disable hover effects on mobile */
    .feature-card:hover,
    .service-card:hover,
    .review-card:hover,
    .pricing-card:hover {
        transform: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* Timeline mobile layout */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 3rem;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }
    
    .timeline-date {
        position: absolute;
        left: 0;
        transform: none;
        top: 0;
    }
    
    .timeline-content {
        width: 100%;
        margin: 0;
        margin-top: 3rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
        margin-top: 3rem;
    }
    
    /* Team member photos smaller on mobile */
    .team-member .member-photo {
        width: 120px;
        height: 120px;
    }
    
    /* Pricing card adjustments */
    .pricing-card.popular {
        transform: none;
        margin-bottom: 2rem;
    }
    
    /* Contact form mobile */
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    /* Disable transform effects on mobile */
    .btn:hover,
    .social-links a:hover {
        transform: none;
    }
    
    /* Gallery mobile optimization */
    #gallery .col-lg-4 {
        margin-bottom: 1rem;
    }
    
    /* Process steps mobile */
    .process-step {
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Slightly larger text for small tablets */
    h1, .h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 95vh;
    }
    
    .hero-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
    }
    
    /* Timeline adjustments */
    .timeline-content {
        width: 90%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero section tablet */
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-content {
        padding-top: 4rem;
    }
    
    /* Re-enable some animations for tablets */
    .feature-card:hover,
    .service-card:hover,
    .review-card:hover {
        transform: translateY(-3px);
    }
    
    /* Timeline tablet layout */
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        flex-direction: row;
        align-items: center;
        padding-left: 0;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row-reverse;
    }
    
    .timeline-date {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
    }
    
    .timeline-content {
        width: 45%;
        margin-top: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: auto;
        margin-left: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: auto;
        margin-right: 0;
    }
    
    /* Pricing cards tablet */
    .pricing-card.popular {
        transform: scale(1.02);
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Full desktop experience starts here */
    .hero-content {
        padding-top: 5rem;
    }
    
    /* Enable all hover effects */
    .feature-card:hover,
    .service-card:hover,
    .review-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .btn:hover {
        transform: translateY(-2px);
    }
    
    .social-links a:hover {
        transform: translateY(-2px);
    }
    
    /* Pricing card full effect */
    .pricing-card.popular {
        transform: scale(1.05);
    }
    
    /* Team member photos full size */
    .team-member .member-photo {
        width: 150px;
        height: 150px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Maximum container width */
    .container {
        max-width: 1140px;
    }
    
    /* Full hero experience */
    .hero-section {
        min-height: 100vh;
    }
    
    /* Enhanced spacing for large screens */
    .py-5 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
    
    /* Larger decorative elements */
    .hero-shape-1 {
        width: 400px;
        height: 400px;
    }
    
    .hero-shape-2 {
        width: 300px;
        height: 300px;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-section {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-content {
        padding-top: 2rem;
    }
    
    /* Reduce vertical spacing in landscape */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Print styles */
@media print {
    /* Hide navigation and interactive elements */
    #header,
    .btn,
    .social-links,
    #footer .input-group {
        display: none !important;
    }
    
    /* Optimize for printing */
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    overflow-x: hidden;
}
    
    /* Remove shadows and borders for print */
    .card,
    .shadow,
    .shadow-sm {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
    
    /* Ensure readability */
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    /* Avoid breaking elements */
    .feature-card,
    .service-card,
    .review-card,
    .pricing-card {
        page-break-inside: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --text-primary: #000000;
        --text-secondary: #000000;
        --light-bg: #ffffff;
        --dark-bg: #000000;
    }
    
    .btn-outline-primary {
        border-width: 3px;
    }
    
    .form-control {
        border-width: 2px;
        border-color: #000000;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    /* Remove all animations and transitions */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Disable hover transforms */
    .feature-card:hover,
    .service-card:hover,
    .review-card:hover,
    .btn:hover,
    .social-links a:hover {
        transform: none !important;
    }
    
    /* Hide decorative elements that might be distracting */
    .hero-shape-1,
    .hero-shape-2 {
        display: none;
    }
}

/* Dark mode support */

/* Focus management for keyboard navigation */
@media (any-hover: none) {
    /* Touch devices - remove hover effects */
    .feature-card:hover,
    .service-card:hover,
    .review-card:hover,
    .btn:hover,
    .social-links a:hover {
        transform: none;
        box-shadow: inherit;
    }
}

/* Specific breakpoints for common devices */

/* iPhone SE and similar small phones */
@media (max-width: 375px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }
    
    .pricing-card {
        padding: 1.5rem !important;
    }
}

/* iPad and similar tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-section .col-lg-6:first-child {
        order: 1;
    }
    
    .hero-section .col-lg-6:last-child {
        order: 2;
        margin-top: 2rem;
    }
}

/* Very large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    h1, .h1 {
        font-size: 3rem;
    }
    
    h2, .h2 {
        font-size: 2.25rem;
    }
} 