/* Responsive Design - Mobile First Approach */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    h1 {
        font-size: 2.59rem;
    }
    
    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.86rem;
    }
    
    h2 {
        font-size: 1.65rem;
    }
    
    h3 {
        font-size: 1.40rem;
    }
    
    /* Header adjustments */
    .navbar-brand {
        font-size: 1.16rem !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.69rem;
    }
    
    .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.58rem;
    }
    
    h2 {
        font-size: 1.46rem;
    }
    
    h3 {
        font-size: 1.19rem;
    }
    
    /* Header */
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    /* Hero section */
    #hero {
        padding-top: 80px;
        min-height: 70vh;
        text-align: center;
    }
    
    #hero h1 {
        margin-bottom: 0.93rem;
    }
    
    #hero h2 {
        margin-bottom: 1rem;
    }
    
    #hero img {
        margin-top: 1.69rem;
        min-height: 250px;
        border-radius: 15px;
    }
    
    /* Sections */
    section {
        padding: 2rem 0;
    }
    
    /* Cards */
    .feature-card {
        padding: 1.25rem;
        margin-bottom: 1.50rem;
        text-align: center;
    }
    
    .service-card img {
        height: 180px;
    }
    
    .service-card .card-body {
        padding: 1.25rem;
    }
    
    .service-card .price {
        font-size: 1.28rem;
        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.67rem;
    }
    
    .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.63rem;
        margin-right: 0;
    }
}

/* Mobile phones (up to 575px) */
@media (max-width: 575px) {
    /* Typography */
    h1 {
        font-size: 1.45rem;
    }
    
    h2 {
        font-size: 1.35rem;
    }
    
    h3 {
        font-size: 1.23rem;
    }
    
    h4 {
        font-size: 1rem;
    }
    
    /* Container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Header */
    .navbar-brand {
        font-size: 1.02rem !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.71rem;
    }
    
    #hero h2 {
        font-size: 1.25rem;
        margin-bottom: 0.85rem;
    }
    
    #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.56rem;
        border-radius: 15px;
    }
    
    .service-card img {
        height: 160px;
    }
    
    .service-card .card-body {
        padding: 1rem;
    }
    
    .service-card h4 {
        font-size: 1.21rem;
    }
    
    .service-card .price {
        font-size: 1.27rem;
        padding: 0.5rem;
        margin-top: 0.97rem;
    }
    
    .element-card {
        padding: 0.875rem;
        margin-bottom: 0.96rem;
        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: 1.00rem;
        margin-bottom: 1rem;
    }
    
    .contact-info i {
        width: 16px;
        margin-right: 0.75rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }
    
    /* Breadcrumb */
    .breadcrumb-icon {
        width: 30px;
        height: 30px;
    }
    
    /* Space page */
    #space h1 {
        font-size: 1.58rem;
    }
    
    #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.23rem;
    }
    
    h2 {
        font-size: 1rem;
    }
    
    h3 {
        font-size: 1.06rem;
    }
    
    h4 {
        font-size: 1.04rem;
    }
    
    /* Navbar brand */
    .navbar-brand {
        font-size: 0.92rem !important;
    }
    
    /* Hero adjustments */
    #hero h1 {
        font-size: 1.24rem;
    }
    
    #hero h2 {
        font-size: 1rem;
    }
    
    #hero p {
        font-size: 0.94rem;
    }
    
    /* 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 #dadada !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
} 