/* CVVideo Pro - Responsive CSS */

/* Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container-sm {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container-md {
        max-width: 720px;
    }
    
    /* Tablet Navigation */
    .navbar-nav {
        margin-left: auto;
    }
    
    /* Hero Section Tablet */
    #hero h1 {
        font-size: 2.5rem;
    }
    
    /* Card Grid Adjustments */
    .card-img-top {
        height: 180px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container-lg {
        max-width: 960px;
    }
    
    /* Desktop Hero */
    #hero h1 {
        font-size: 3rem;
    }
    
    .card-img-top {
        height: 200px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container-xl {
        max-width: 1140px;
    }
}

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

/* Mobile Specific Styles (max-width: 767px) */
@media (max-width: 767px) {
    /* Mobile Navigation */
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        border-top: 1px solid var(--border-color);
        padding-top: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
        text-align: center;
    }
    
    /* Mobile Hero */
    #hero {
        min-height: 70vh;
        padding-top: 2rem;
    }
    
    #hero h1,
    #hero .display-4 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    #hero .lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    #hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Buttons */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Mobile Typography */
    h2 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    h3, h4, h5 {
        font-size: 1.2rem;
        text-align: center;
    }
    
    h6 {
        font-size: 1rem;
        text-align: center;
    }
    
    .lead {
        font-size: 1rem;
        text-align: center;
    }
    
    /* Mobile Cards */
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .card-body {
        padding: 1rem;
    overflow-x: hidden;
}
    
    .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .card-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Mobile Sections */
    section {
        padding: 2rem 0;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Mobile Team */
    #team .col-6 {
        margin-bottom: 2rem;
    }
    
    #team img {
        width: 100px;
        height: 100px;
    }
    
    #team h5 {
        font-size: 1rem;
        margin-top: 0.5rem;
    }
    
    #team p {
        font-size: 0.85rem;
    }
    
    /* Mobile Services Grid */
    .services-grid .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Process Steps */
    .process-step {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .process-step .rounded-circle {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem;
    }
    
    /* Mobile Forms */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        margin-bottom: 1rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    /* Mobile Footer */
    #footer {
        text-align: center;
        padding: 2rem 0;
    }
    
    #footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    #footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    #footer p,
    #footer li {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Mobile Gallery */
    #gallery .col-6 {
        padding: 0.25rem;
    }
    
    #gallery img {
        border-radius: 0.25rem;
    }
    
    /* Mobile Contact Info */
    .contact-info {
        text-align: center;
        margin-top: 2rem;
    }
    
    .contact-info .card {
        padding: 1rem;
    }
    
    /* Mobile Timeline */
    .timeline .row {
        margin-bottom: 2rem;
    }
    
    .timeline .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .timeline .offset-md-6 {
        margin-left: 0 !important;
    }
    
    /* Mobile Pricing */
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card .card-header h4 {
        font-size: 1.2rem;
    }
    
    .pricing-card .card-body h2 {
        font-size: 1.8rem;
    }
    
    /* Mobile FAQ */
    #faq .col-lg-6 {
        margin-bottom: 1rem;
    }
    
    #faq .card-title {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    #faq .card-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Mobile Breadcrumbs */
    .breadcrumb {
        padding: 0.5rem 0;
    }
    
    .breadcrumb-item img {
        width: 16px;
        height: 16px;
    }
}

/* Tablet Specific Styles (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    /* Tablet Hero */
    #hero h1 {
        font-size: 2.2rem;
    }
    
    /* Tablet Cards */
    .card-img-top {
        height: 160px;
    }
    
    /* Tablet Team */
    #team img {
        width: 120px;
        height: 120px;
    }
    
    /* Tablet Services */
    .services-grid .col-md-6 {
        margin-bottom: 2rem;
    }
    
    /* Tablet Process */
    .process-step .rounded-circle {
        width: 55px !important;
        height: 55px !important;
    }
}

/* Large Mobile (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        width: auto;
        display: inline-block;
    }
}

/* Small Mobile (max-width: 479px) */
@media (max-width: 479px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Extra small hero */
    #hero h1 {
        font-size: 1.6rem;
    }
    
    #hero .lead {
        font-size: 0.95rem;
    }
    
    /* Extra small cards */
    .card-body {
        padding: 0.75rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.85rem;
    }
    
    /* Extra small team */
    #team img {
        width: 80px;
        height: 80px;
    }
    
    #team h5 {
        font-size: 0.9rem;
    }
    
    #team p {
        font-size: 0.8rem;
    }
    
    /* Extra small process */
    .process-step .rounded-circle {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem;
    }
    
    .process-step h6 {
        font-size: 0.9rem;
    }
    
    .process-step p {
        font-size: 0.8rem;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 600px) {
    #hero {
        min-height: 100vh;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    #hero .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-img-top,
    #gallery img,
    #team img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    /* Disable animations on mobile for better performance */
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .card:hover,
    .btn:hover,
    #gallery img:hover,
    #team img:hover {
        transform: none !important;
    }
}

/* Print Styles for Mobile */
@media print {
    body {
        font-size: 10pt;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
    
    .col-lg-6,
    .col-md-6,
    .col-sm-6 {
        width: 50% !important;
        float: left;
    }
    
    .col-lg-4,
    .col-md-4 {
        width: 33.333% !important;
        float: left;
    }
    
    .col-lg-3,
    .col-md-3 {
        width: 25% !important;
        float: left;
    }
    
    .card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
} 