/* Responsive Styles for Virtual Home Staging Template */

/* Mobile First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography */
    .display-4 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .h1, h1 {
        font-size: 1.75rem;
    }
    
    .h2, h2 {
        font-size: 1.5rem;
    }
    
    .h3, h3 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Navbar */
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    /* Hero Section */
    #hero {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    #hero .col-lg-6:first-child {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Sections */
    section {
        padding: 2rem 0;
    }
    
    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* Cards */
    .card-img-top {
        height: 180px;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.9rem;
        padding: 0.65rem 1.5rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }
    
    /* Team Images */
    .rounded-circle {
        width: 120px;
        height: 120px;
    }
    
    /* Process Steps */
    .bg-primary.rounded-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Gallery */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Footer */
    #footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Contact Form */
    .form-control {
        font-size: 0.9rem;
    }
    
    /* Statistics */
    .display-4.fw-bold.text-primary {
        font-size: 2rem;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero Section */
    #hero {
        min-height: 80vh;
    }
    
    /* Cards */
    .card-img-top {
        height: 200px;
    }
    
    /* Team Images */
    .rounded-circle {
        width: 140px;
        height: 140px;
    }
    
    /* Process Steps */
    .bg-primary.rounded-circle {
        width: 55px;
        height: 55px;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero Section */
    #hero {
        min-height: 90vh;
    }
    
    /* Typography */
    .display-4 {
        font-size: 2.25rem;
    }
    
    /* Cards */
    .card-img-top {
        height: 220px;
    }
    
    /* Services Grid */
    .row.g-4 .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    /* Team Images */
    .rounded-circle {
        width: 150px;
        height: 150px;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero Section */
    #hero {
        min-height: 100vh;
    }
    
    /* Cards */
    .card-img-top {
        height: 240px;
    }
    
    /* Services Layout */
    .row.g-4 .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Container Max Width */
    .container {
        max-width: 1200px;
    }
    
    /* Hero Section */
    #hero {
        min-height: 100vh;
    }
    
    /* Cards */
    .card-img-top {
        height: 250px;
    }
    
    /* Typography */
    .display-4 {
        font-size: 2.75rem;
    }
    
    .lead {
        font-size: 1.25rem;
    }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    #hero {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    section {
        padding: 1.5rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    }
    
    .btn {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
}

/* Print Styles */
@media print {
    .navbar,
    #footer,
    .btn,
    .breadcrumb {
        display: none;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .text-primary {
        color: #000 !important;
    }
}

/* Dark Mode Support (if browser supports) */

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    /* Disable animations for mobile devices when reduced motion is preferred */
    .card,
    .btn,
    img,
    .form-control {
        transition: none !important;
        transform: none !important;
    }
    
    .card:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .nav-link {
        padding: 1rem;
    }
    
    .form-control {
        min-height: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .card:hover {
        transform: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Specific Mobile Breakpoints */
@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .row.g-4 {
        margin: 0 -0.5rem;
    }
    
    .row.g-4 > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Very Small Screens */
@media (max-width: 360px) {
    .navbar-brand {
        font-size: 0.9rem;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
    
    .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.25rem;
    }
    
    .card-body {
        padding: 1rem;
    overflow-x: hidden;
}
} 