/* Responsive CSS for VideoEdit Pro Template */

/* Mobile First Approach */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    /* Typography */
    .display-4 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .h2 {
        font-size: 1.5rem;
    }
    
    .h5 {
        font-size: 1rem;
    }
    
    p.lead {
        font-size: 1rem;
    }
    
    /* Header */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 80px;
        min-height: 100vh;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    padding-top: 125px;
}
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    /* Disable animations on mobile for better performance */
    @media (prefers-reduced-motion: no-preference) {
        .blob {
            animation: none;
        }
    }
    
    /* Sections */
    .py-5 {
        padding: 3rem 0;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .review-card {
        margin-bottom: 1.5rem;
    }
    
    .service-card:hover,
    .feature-card:hover,
    .review-card:hover {
        transform: none;
    }
    
    /* Team Members */
    .member-photo img {
        width: 120px;
        height: 120px;
    }
    
    /* Pricing Cards */
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card:hover {
        transform: none;
    }
    
    /* Process Steps */
    .process-step {
        padding: 1.5rem 0.5rem;
    }
    
    .step-number .badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Timeline */
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-content {
        margin-left: 0.5rem;
        padding: 1rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Gallery */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Footer */
    #footer .col-lg-4,
    #footer .col-lg-2,
    #footer .col-lg-3 {
        margin-bottom: 2rem;
        text-align: center;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Typography */
    .display-4 {
        font-size: 2.2rem;
    }
    
    /* Hero Section */
    .hero-content {
        text-align: center;
    padding-top: 125px;
}
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Cards in rows */
    .service-card,
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    /* Pricing */
    .pricing-card {
        max-width: 400px;
        margin: 0 auto 2rem;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Typography */
    .display-4 {
        font-size: 2.5rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 100px;
    }
    
    /* Cards */
    .service-card {
        margin-bottom: 2rem;
    }
    
    /* Team Grid */
    .team-member {
        margin-bottom: 2rem;
    }
    
    /* Process Steps - 2 columns */
    .process-step {
        margin-bottom: 2rem;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero Section */
    .hero-section {
        padding-top: 120px;
    }
    
    /* Container adjustments */
    .container {
        max-width: 960px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Hero Section */
    .hero-section {
        padding-top: 150px;
    }
    
    /* Enhanced hover effects for large screens */
    .service-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .feature-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

/* Landscape Mobile Devices */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .py-5 {
        padding: 2rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure crisp images on retina displays */
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Dark Mode Support */

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    /* Disable all animations on mobile */
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Remove hover transforms */
    .service-card:hover,
    .feature-card:hover,
    .review-card:hover,
    .case-study-card:hover,
    .pricing-card:hover,
    .team-member:hover,
    .job-card:hover,
    .core-info-card:hover,
    .blog-card:hover {
        transform: none !important;
    }
}

/* Print Styles */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .navbar,
    .hero-decoration,
    .btn,
    #footer,
    .breadcrumb-section {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        padding: 1rem 0 !important;
    }
    
    .py-5 {
        padding: 1rem 0 !important;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    .container {
        max-width: 100% !important;
    }
}

/* Focus Styles for Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .btn:focus,
    .nav-link:focus,
    .form-control:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
        transition: outline 0.2s ease;
    }
}

/* Custom Breakpoints for VideoEdit Pro */

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section {
        padding-top: 180px;
    }
    
    .display-4 {
        font-size: 3rem;
    }
}

/* Mobile Menu Specific Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: var(--shadow-md);
        padding: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #e9ecef;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
}

/* Tablet Specific Optimizations */
@media (min-width: 768px) and (max-width: 1024px) {
    /* iPad and similar tablets */
    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }
    
    .service-card .card-img-top {
        height: 180px;
    }
    
    .member-photo img {
        width: 130px;
        height: 130px;
    }
    
    /* Two-column layout for features */
    .about .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Form Specific Responsive Styles */
@media (max-width: 767.98px) {
    .contact-form .row .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .contact-form .btn {
        width: 100%;
        padding: 12px;
    }
}

/* Gallery Responsive Grid */
@media (max-width: 575.98px) {
    #gallery .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    #gallery .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Service Cards Responsive Layout */
@media (max-width: 991.98px) {
    .services .col-lg-4 {
        margin-bottom: 1.5rem;
    }
}

/* Pricing Cards Mobile Layout */
@media (max-width: 767.98px) {
    .pricing-card {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .pricing-card .card-body {
        padding: 2rem 1.5rem;
    overflow-x: hidden;
}
    
    .price .display-4 {
        font-size: 2rem;
    }
}

/* FAQ Mobile Optimization */
@media (max-width: 767.98px) {
    .faq-card {
        margin-bottom: 1rem;
        border-left-width: 3px;
    }
    
    .faq-card:hover {
        transform: none;
    }
}

/* Team Section Mobile */
@media (max-width: 575.98px) {
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .team .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 2rem;
    }
} 