/* Responsive CSS for Professional Organizing Service Template */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .navbar-nav {
        flex-direction: row;
    }
    
    .nav-link {
        margin: 0 1rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Mobile-first responsive design */
@media (max-width: 767px) {
    /* Navigation */
    .navbar-brand {
        font-size: 1.32rem !important;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        margin-top: 1rem;
        border-radius: 10px;
        padding: 1rem;
    }
    
    .nav-link {
        color: var(--text-primary) !important;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:hover {
        color: var(--primary-color) !important;
    }
    
    /* Hero Section */
    #hero {
        padding: 2rem 0;
        min-height: 100vh;
    }
    
    #hero h1 {
        font-size: 2.59rem;
        text-align: center;
    }
    
    #hero h3 {
        font-size: 1.38rem;
        text-align: center;
    }
    
    #hero p {
        text-align: center;
        margin: 0 auto 2rem;
    }
    
    #hero .col-lg-6 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Typography */
    h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    h4 {
        font-size: 1.22rem;
        text-align: center;
    }
    
    /* Cards */
    .feature-card, .feature-item, .service-card {
        margin-bottom: 2rem;
    }
    
    .service-card img {
        height: 180px;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 2rem 1rem;
        margin: 1rem;
    }
    
    /* Footer */
    footer .col-md-6,
    footer .col-md-3 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    footer .col-md-3 ul {
        display: inline-block;
    }
}

/* Tablet specific styles */
@media (min-width: 768px) and (max-width: 991px) {
    #hero h1 {
        font-size: 2.80rem;
    }
    
    #hero h3 {
        font-size: 1.50rem;
    }
    
    .service-card img {
        height: 190px;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
}

/* Small mobile devices */
@media (max-width: 575px) {
    .container {
        padding: 0 1rem;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero h3 {
        font-size: 1.24rem;
    }
    
    h2 {
        font-size: 1.86rem;
    }
    
    .feature-card, .feature-item {
        padding: 1.5rem;
    }
    
    .service-card .card-body {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.75rem;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    #hero {
        min-height: auto;
        padding: 1rem 0;
    }
    
    #hero h1 {
        font-size: 2rem;
        margin-bottom: 0.68rem;
    }
    
    #hero h3 {
        font-size: 1.16rem;
        margin-bottom: 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure crisp images on retina displays */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    .contact-form {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
    
    .service-card,
    .feature-card,
    .feature-item {
        box-shadow: none !important;
        border: 1px solid #e0d3d2 !important;
        break-inside: avoid;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .feature-card:hover,
    .feature-item:hover,
    .service-card:hover,
    .btn:hover {
        transform: none !important;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* This section is commented out as per requirements - no dark theme */
    /* But structure is here for future implementation if needed */
} 