/* Responsive CSS for Antique Treasures */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .service-card, .price-card, .case-card {
        padding: 2.5rem;
    }
    
    .contact-form {
        padding: 3rem;
    }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .team-member img {
        width: 110px;
        height: 110px;
    }
    
    .step-number, .year {
        width: 70px;
        height: 70px;
        font-size: 1.2rem;
    }
}

/* Tablet Landscape (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem !important;
    }
    
    .service-card, .price-card, .case-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .step-number, .year {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .review-card {
        margin: 0.5rem;
    }
    
    .gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Swiper adjustments for tablet */
    .reviews-swiper .swiper-slide {
        width: 80%;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .service-card, .price-card, .case-card, .blog-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card, .feature-item, .info-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .team-member img {
        width: 90px;
        height: 90px;
    }
    
    .step-number, .year {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .review-card {
        margin: 0.25rem;
        padding: 1.5rem;
    }
    
    .career-card {
        margin-bottom: 1.5rem;
    }
    
    /* Disable Swiper autoplay and effects on mobile */
    .reviews-swiper {
        --swiper-navigation-size: 24px;
    }
    
    .reviews-swiper .swiper-slide {
        width: 90%;
    }
    
    .gallery .col-sm-6 {
        margin-bottom: 0.5rem;
    }
    
    /* Typography adjustments */
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.625rem; }
    h3 { font-size: 1.375rem; }
    h4 { font-size: 1.125rem; }
    h5 { font-size: 1rem; }
    
    .btn-primary, .btn-outline-primary {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .hero {
        min-height: 60vh;
        padding: 1.5rem 0;
        text-align: center;
    }
    
    .hero .row {
        flex-direction: column-reverse;
    }
    
    .hero h1 {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.4rem 0.5rem !important;
        font-size: 0.85rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }
    
    .section {
        padding: 1.5rem 0;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .service-card, .price-card, .case-card, .blog-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-card, .feature-item, .info-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .team-member {
        margin-bottom: 1.5rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .step-number, .year {
        width: 45px;
        height: 45px;
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .price-amount {
        font-size: 1.75rem;
    }
    
    .review-card {
        margin: 0.125rem;
        padding: 1.25rem;
    }
    
    .career-card {
        margin-bottom: 1rem;
        padding: 1.25rem;
    }
    
    .process-step, .timeline-item {
        padding: 0.75rem;
    }
    
    /* Footer adjustments */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer .row > div {
        margin-bottom: 1.5rem;
    }
    
    /* Breadcrumb adjustments */
    .breadcrumb-section {
        padding: 0.5rem 0;
        margin-top: 60px;
    }
    
    /* Swiper mobile optimizations */
    .reviews-swiper {
        padding: 1rem 0;
    }
    
    .reviews-swiper .swiper-slide {
        width: 95%;
    }
    
    .swiper-pagination {
        bottom: 10px !important;
    }
    
    /* Gallery mobile adjustments */
    .gallery .col-lg-3 {
        margin-bottom: 0.5rem;
    }
    
    .gallery img {
        border-radius: 0.25rem;
    }
    
    /* Typography for mobile */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
    
    p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .btn-primary, .btn-outline-primary {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .form-control {
        padding: 0.625rem 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Accordion mobile adjustments */
    .accordion-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
  overflow-x: hidden;
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    /* Space page adjustments */
    #space {
        min-height: 70vh;
        padding: 2rem 1rem;
    }
    
    #space h1 {
        font-size: 1.5rem;
    }
    
    #space p {
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (up to 400px) */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 0.9rem !important;
    }
    
    .service-card, .price-card, .case-card, .blog-card,
    .feature-card, .feature-item, .info-card, .career-card {
        padding: 0.75rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .team-member img {
        width: 70px;
        height: 70px;
    }
    
    .step-number, .year {
        width: 40px;
        height: 40px;
        font-size: 0.7rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.375rem; }
    h3 { font-size: 1.125rem; }
    h4 { font-size: 1rem; }
    h5 { font-size: 0.9rem; }
    
    .btn-primary, .btn-outline-primary {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* High DPI/Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero::before {
        background-size: cover;
    }
    
    .service-card img,
    .case-card img,
    .blog-card img,
    .gallery img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 600px) {
    .hero {
        min-height: 100vh;
    }
    
    .section {
        padding: 1.5rem 0;
    }
    
    #space {
        min-height: 100vh;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .breadcrumb-section,
    .contact-form,
    .swiper-pagination,
    .btn-primary,
    .btn-outline-primary {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    .section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .service-card,
    .price-card,
    .case-card,
    .blog-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline;
    }
    
    .gallery {
        display: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode styles if needed */
    .service-card,
    .price-card,
    .case-card,
    .blog-card,
    .feature-card,
    .contact-form {
        background: #f8f9fa;
        border: 1px solid #dee2e6;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero,
    .service-card,
    .price-card,
    .case-card,
    .blog-card,
    .feature-card,
    .team-member img,
    .gallery img,
    .btn-primary,
    .btn-outline-primary {
        transition: none !important;
        animation: none !important;
    }
    
    .reviews-swiper {
        animation: none !important;
    }
    
    .service-card:hover,
    .price-card:hover,
    .case-card:hover,
    .blog-card:hover,
    .feature-card:hover {
        transform: none !important;
    }
    
    .team-member:hover img,
    .gallery img:hover,
    .service-card:hover img,
    .case-card:hover img,
    .blog-card:hover img {
        transform: none !important;
    }
} 