/* Responsive Design - Mobile First Approach */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    h1 {
        font-size: 2.56rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .service-card img {
        height: 280px;
    }
}

/* Large tablets (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    section {
        padding: 3rem 0;
    }
    
    .service-card img {
        height: 220px;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
    /* Typography adjustments */
    h1 {
        font-size: 1.87rem;
    }
    
    h2 {
        font-size: 1.62rem;
    }
    
    h3 {
        font-size: 1.38rem;
    }
    
    /* Header adjustments */
    .navbar-brand {
        font-size: 1.19rem !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        margin: 0;
    }
    
    /* Hero section */
    #hero {
        padding-top: 100px;
        min-height: 80vh;
    }
    
    #hero img {
        margin-top: 2rem;
        min-height: 300px;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    /* Cards */
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1.61rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .service-card img {
        height: 200px;
    }
    
    .element-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
}

/* Small tablets and large phones (576px to 767px) */
@media (max-width: 767px) {
    /* Typography */
    h1 {
        font-size: 1.65rem;
    }
    
    h2 {
        font-size: 1.44rem;
    }
    
    h3 {
        font-size: 1.16rem;
    }
    
    /* Header */
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    /* Hero section */
    #hero {
        padding-top: 80px;
        min-height: 70vh;
        text-align: center;
    }
    
    #hero h1 {
        margin-bottom: 0.82rem;
    }
    
    #hero h2 {
        margin-bottom: 1rem;
    }
    
    #hero img {
        margin-top: 1.67rem;
        min-height: 250px;
        border-radius: 15px;
    }
    
    /* Sections */
    section {
        padding: 2rem 0;
    }
    
    /* Cards */
    .feature-card {
        padding: 1.25rem;
        margin-bottom: 1.33rem;
        text-align: center;
    }
    
    .service-card img {
        height: 180px;
    }
    
    .service-card .card-body {
        padding: 1.25rem;
    }
    
    .service-card .price {
        font-size: 1.30rem;
        padding: 0.5rem;
    }
    
    .element-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1.25rem;
    }
    
    .contact-info {
        padding: 1.25rem;
        margin-top: 1.70rem;
    }
    
    .contact-info p {
        font-size: var(--font-size-small);
    }
    
    /* Footer */
    footer .text-end {
        text-align: start !important;
        margin-top: 1rem;
    }
    
    footer a {
        display: block;
        margin-bottom: 0.60rem;
        margin-right: 0;
    }
}

/* Mobile phones (up to 575px) */
@media (max-width: 575px) {
    /* Typography */
    h1 {
        font-size: 1.52rem;
    }
    
    h2 {
        font-size: 1.32rem;
    }
    
    h3 {
        font-size: 1.20rem;
    }
    
    h4 {
        font-size: 1rem;
    }
    
    /* Container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Header */
    .navbar-brand {
        font-size: 0.96rem !important;
    }
    
    .navbar-toggler {
        padding: 0.2rem 0.4rem;
    }
    
    /* Hero section */
    #hero {
        padding-top: 70px;
        min-height: 60vh;
    }
    
    #hero h1 {
        font-size: 1.27rem;
        margin-bottom: 0.74rem;
    }
    
    #hero h2 {
        font-size: 1.20rem;
        margin-bottom: 0.97rem;
    }
    
    #hero p {
        font-size: var(--font-size-base);
    }
    
    #hero img {
        margin-top: 1rem;
        min-height: 200px;
        border-radius: 12px;
    }
    
    /* Sections */
    section {
        padding: 1.5rem 0;
    }
    
    /* Cards */
    .feature-card {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .feature-card i {
        font-size: 2rem !important;
    }
    
    .service-card {
        margin-bottom: 1.75rem;
        border-radius: 15px;
    }
    
    .service-card img {
        height: 160px;
    }
    
    .service-card .card-body {
        padding: 1rem;
    }
    
    .service-card h4 {
        font-size: 1.18rem;
    }
    
    .service-card .price {
        font-size: 1.18rem;
        padding: 0.5rem;
        margin-top: 0.91rem;
    }
    
    .element-card {
        padding: 0.875rem;
        margin-bottom: 0.91rem;
        border-radius: 10px;
    }
    
    .element-card h4 {
        font-size: 1rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .contact-form .form-control {
        padding: 0.625rem 0.875rem;
        border-radius: 8px;
    }
    
    .contact-form textarea.form-control {
        min-height: 100px;
    }
    
    .contact-info {
        padding: 1rem;
        border-radius: 15px;
        margin-top: 1rem;
    }
    
    .contact-info p {
        font-size: 0.89rem;
        margin-bottom: 1rem;
    }
    
    .contact-info i {
        width: 16px;
        margin-right: 0.75rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.99rem;
        border-radius: 8px;
    }
    
    /* Breadcrumb */
    .breadcrumb-icon {
        width: 30px;
        height: 30px;
    }
    
    /* Space page */
    #space h1 {
        font-size: 1.55rem;
    }
    
    #space p {
        font-size: var(--font-size-small);
    }
}

/* Extra small devices (below 400px) */
@media (max-width: 400px) {
    /* Further reduce font sizes for very small screens */
    h1 {
        font-size: 1.25rem;
    }
    
    h2 {
        font-size: 1rem;
    }
    
    h3 {
        font-size: 1.00rem;
    }
    
    h4 {
        font-size: 0.96rem;
    }
    
    /* Navbar brand */
    .navbar-brand {
        font-size: 0.95rem !important;
    }
    
    /* Hero adjustments */
    #hero h1 {
        font-size: 1.23rem;
    }
    
    #hero h2 {
        font-size: 1rem;
    }
    
    #hero p {
        font-size: 0.98rem;
    }
    
    /* Card adjustments */
    .feature-card {
        padding: 0.75rem;
    }
    
    .service-card .card-body {
        padding: 0.875rem;
    }
    
    .element-card {
        padding: 0.75rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 0.875rem;
    }
    
    .contact-info {
        padding: 0.875rem;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    .breadcrumb-section {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
    
    .container {
        max-width: none !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    section {
        page-break-inside: avoid;
        padding: 1rem 0 !important;
    }
    
    .feature-card,
    .service-card,
    .element-card {
        border: 1px solid #ded9d9 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
} 