/* ====================================
   Found Object Art Blog - Responsive CSS
   ==================================== */

/* Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .service-card, .blog-card {
        height: 100%;
    }
    
    .timeline::before {
        left: 50%;
    }
    
    .timeline-item {
        width: calc(50% - 2rem);
        margin-left: auto;
        margin-right: auto;
    }
    
    .timeline-item:nth-child(odd) {
        margin-right: 50%;
        text-align: right;
        padding-right: 2rem;
        padding-left: 0;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 50%;
        text-align: left;
        padding-left: 2rem;
        padding-right: 0;
    }
    
    .timeline-item::before {
        left: auto;
        right: -8px;
    }
    
    .timeline-item:nth-child(even)::before {
        left: -8px;
        right: auto;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.75rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem !important;
    }
    
    .team-photo {
        width: 180px;
        height: 180px;
    }
    
    .price-card.featured {
        transform: scale(1.05);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 2.75rem;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Mobile Specific Styles (below 768px) */
@media (max-width: 767.98px) {
    /* Disable Swiper autoplay and effects on mobile */
    .swiper-slide {
        transition: none !important;
    }
    
    .swiper-wrapper {
        transform: none !important;
    }
    
    /* Mobile navigation */
    .navbar-collapse {
        background: rgba(43, 43, 43, 0.95);
        backdrop-filter: blur(10px);
        margin-top: 1rem;
        border-radius: 8px;
        padding: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    /* Hero section mobile */
    .hero-section {
        min-height: 80vh;
        padding: 4rem 0 2rem;
    }
    
    .hero-section .row {
        text-align: center;
    }
    
    .hero-section img {
        margin-top: 2rem;
        max-width: 80%;
    }
    
    /* Cards on mobile */
    .service-card, .blog-card, .team-card, .case-study-card {
        margin-bottom: 1.5rem;
    }
    
    /* Timeline on mobile */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 3rem;
        text-align: left;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .timeline-item::before {
        left: 12px;
        right: auto;
    }
    
    /* Team photos smaller on mobile */
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    /* Process steps stack on mobile */
    .process-step {
        margin-bottom: 2rem;
    }
    
    /* Contact form on mobile */
    .contact-form .row .col-md-6 {
        margin-bottom: 1rem;
    }
    
    /* Gallery on mobile */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Price cards stack on mobile */
    .price-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    /* Button sizing on mobile */
    .btn-primary {
        width: 100%;
        padding: 1rem;
    }
    
    /* Footer on mobile */
    footer .col-md-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    footer .col-md-4:last-child {
        margin-bottom: 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-image: url('../NOV_images/hero-bg@2x.webp');
    }
}

/* Dark mode support (if enabled by user) */
@media (prefers-color-scheme: dark) {
    /* Note: Dark mode styles excluded as per requirements */
}

/* Print styles */
@media print {
    .navbar, footer, .btn, .swiper-pagination {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
    }
    
    .hero-section::before {
        display: none;
    }
    
    * {
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
}

/* Accessibility improvements */
@media (min-width: 768px) {
    .navbar-nav .nav-link:focus,
    .btn:focus,
    .form-control:focus {
        outline: 2px solid var(--primary-copper);
        outline-offset: 2px;
    }
}

/* Landscape orientation specific */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-section .container {
        display: flex;
        align-items: center;
        min-height: 80vh;
    }
}

/* Very small screens */
@media (max-width: 575.98px) {
    body {
  overflow-x: hidden !important;
        font-size: 0.9rem;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1.1rem; }
    
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    .service-card img,
    .blog-card img {
        height: 150px;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .process-step .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
} 