/* Responsive Design Styles */

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section .display-4 {
        font-size: 3.5rem;
    }
    
    .placeholder-graphic {
        padding: 4rem;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section .display-4 {
        font-size: 3rem;
    }
    
    .feature-card,
    .service-card {
        padding: 1.5rem;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        margin-bottom: 1rem;
    }
    
    .placeholder-graphic {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .feature-card,
    .service-card {
        margin-bottom: 2rem;
    }
    
    .section-title::after {
        left: 0;
        transform: none;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Small Devices (Landscape Phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .placeholder-graphic {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .feature-icon,
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-card,
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .error-code {
        font-size: 6rem;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Navigation */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-toggler {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 70px;
    }
    
    .hero-section .display-4 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .placeholder-graphic {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .placeholder-graphic i {
        width: 150px;
        height: 150px;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-title::after {
        left: 0;
        transform: none;
        width: 30px;
    }
    
    /* Cards */
    .feature-card,
    .service-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon,
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-card h4,
    .feature-card h4 {
        font-size: 1.1rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1rem;
    }
    
    .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Footer */
    footer .row {
        text-align: center;
    }
    
    footer .col-md-6:last-child {
        margin-top: 1rem;
    }
    
    .social-links a {
        margin: 0 0.5rem;
    }
    
    /* 404 Page */
    .error-page {
        padding: 1rem;
    }
    
    .error-content {
        padding: 1rem;
    }
    
    .error-code {
        font-size: 4rem;
    }
    
    .error-message {
        font-size: 1.2rem;
    }
    
    .btn-home {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form,
    footer {
        display: none;
    }
    
    .hero-section {
        padding-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
    }
    
    .feature-card,
    .service-card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .feature-card,
    .service-card,
    .contact-form {
        border: 2px solid #000;
    }
    
    .btn {
        border-width: 2px;
    }
    
    .section-title::after {
        background: #000;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bs-body-bg: #121212;
        --bs-body-color: #e0e0e0;
    }
    
    .bg-light {
        background-color: #1e1e1e !important;
    }
    
    .feature-card,
    .service-card,
    .contact-form {
        background-color: #2d2d2d;
        color: #e0e0e0;
    }
    
    .form-control {
        background-color: #3d3d3d;
        border-color: #555;
        color: #e0e0e0;
    }
    
    .form-control:focus {
        background-color: #3d3d3d;
        border-color: #0d6efd;
        color: #e0e0e0;
    }
}

/* Custom Breakpoints for Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section .display-4 {
        font-size: 4rem;
    }
    
    .placeholder-graphic {
        padding: 5rem;
    }
}

/* Landscape Phone Orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        padding-top: 60px;
    }
    
    .hero-section .min-vh-100 {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .placeholder-graphic {
        margin-top: 1rem;
    }
}
