/* ========================================
   RESPONSIVE CSS - PODCAST PRODUCTION TEMPLATE
   Mobile-First Responsive Design
   ======================================== */

/* ========================================
   MOBILE STYLES (320px - 767px)
   ======================================== */
@media (max-width: 767px) {
    /* Typography */
    h1 {
        font-size: 1.95rem;
    }
    
    h2 {
        font-size: 1.61rem;
    }
    
    h3 {
        font-size: 1.26rem;
    }
    
    h4 {
        font-size: 1.22rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.36rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Hero Section */
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-section img {
        margin-bottom: 2rem;
        max-width: 90%;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .pricing-card,
    .team-member,
    .review-card,
    .case-study-card,
    .process-step,
    .career-card,
    .info-card,
    .blog-card {
        margin-bottom: 1.56rem;
        padding: 1rem;
    }
    
    /* Team Members */
    .team-member {
        text-align: center;
        max-width: 200px;
        margin: 0 auto 1.5rem;
    }
    
    .team-member img {
        width: 60px;
        height: 60px;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Timeline */
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        width: calc(100% - 50px);
        margin-left: 35px !important;
        margin-bottom: 1.61rem;
    }
    
    .timeline-item::before {
        content: '';
        position: absolute;
        left: -25px;
        top: 20px;
        width: 10px;
        height: 10px;
        background: var(--primary-1);
        border-radius: 50%;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    /* Gallery */
    .gallery-img {
        height: 200px;
    }
    
    /* Footer */
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Additional Pages */
    .breadcrumb-section {
        padding: 1rem 0;
    }
    
    .page-section {
        padding: 2rem 0;
    }
    
    .technique-card,
    .workflow-card,
    .collaboration-card,
    .quality-card,
    .delivery-card,
    .equipment-card,
    .studio-card,
    .tech-card,
    .maintenance-card,
    .innovation-card {
        margin-bottom: 1.74rem;
        padding: 1rem;
    }
}

/* ========================================
   TABLET STYLES (768px - 991px)
   ======================================== */
@media (min-width: 768px) and (max-width: 991px) {
    /* Typography */
    h1 {
        font-size: 2.35rem;
    }
    
    h2 {
        font-size: 1.99rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.46rem;
    }
    
    /* Hero Section */
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding: 3rem 0;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .pricing-card,
    .team-member,
    .review-card,
    .case-study-card,
    .process-step,
    .career-card,
    .info-card,
    .blog-card {
        padding: 1.25rem;
    }
    
    /* Team Members */
    .team-member img {
        width: 70px;
        height: 70px;
    }
    
    /* Timeline */
    .timeline-item {
        width: calc(50% - 20px);
    }
    
    .timeline-item:nth-child(odd) {
        margin-right: 20px;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: calc(50% + 20px);
    }
    
    /* Contact Form */
    .contact-form {
        padding: 2rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    /* Gallery */
    .gallery-img {
        height: 225px;
    }
    
    /* Additional Pages */
    .page-section {
        padding: 2.5rem 0;
    }
}

/* ========================================
   DESKTOP STYLES (997px - 1199px)
   ======================================== */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Container adjustments */
    .container {
        max-width: 960px;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .pricing-card,
    .team-member,
    .review-card,
    .case-study-card,
    .process-step,
    .career-card,
    .info-card,
    .blog-card {
        padding: 1.5rem;
    }
    
    /* Gallery */
    .gallery-img {
        height: 240px;
    }
}

/* ========================================
   LARGE DESKTOP STYLES (1200px+)
   ======================================== */
@media (min-width: 1200px) {
    /* Container adjustments */
    .container {
        max-width: 1140px;
    }
    
    /* Typography */
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.31rem;
    }
    
    /* Hero Section */
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding: 4rem 0;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .pricing-card,
    .team-member,
    .review-card,
    .case-study-card,
    .process-step,
    .career-card,
    .info-card,
    .blog-card {
        padding: 2rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 3rem;
    }
    
    .contact-info {
        padding: 3rem;
    }
    
    /* Additional Pages */
    .page-section {
        padding: 4rem 0;
    }
}

/* ========================================
   ULTRA-WIDE SCREENS (1400px+)
   ======================================== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    /* Typography */
    h1 {
        font-size: 3.58rem;
    }
    
    h2 {
        font-size: 2.57rem;
    }
    
    /* Spacing adjustments */
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding: 5rem 0;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .page-section {
        padding: 5rem 0;
    }
}

/* ========================================
   LANDSCAPE ORIENTATION ADJUSTMENTS
   ======================================== */
@media screen and (orientation: landscape) and (max-height: 600px) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding: 1.5rem 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .page-section {
        padding: 2rem 0;
    }
}

/* ========================================
   HIGH DPI DISPLAYS
   ======================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-image: url('../JOM_images/hero-podcast@2x.webp');
    }
    
    .gallery-img,
    .service-card img,
    .blog-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .navbar,
    .footer,
    .contact-form,
    .gallery,
    .breadcrumb-section {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: black !important;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .team-member,
    .review-card,
    .case-study-card,
    .process-step,
    .career-card,
    .info-card,
    .blog-card {
        border: 1px solid #cecece;
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    a {
        text-decoration: underline;
        color: black !important;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 80%;
    }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */
@media (prefers-contrast: high) {
    :root {
        --primary-1: #001bff;
        --primary-2: #7a0a82;
        --primary-3: #046778;
        --primary-4: #066905;
        --primary-5: #ee830f;
        --light-1: #ffffff;
        --light-2: #f0f0f0;
        --light-3: #f0f0f0;
        --dark-1: #000000;
        --dark-2: #262626;
        --dark-3: #655e5d;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .team-member,
    .review-card,
    .case-study-card,
    .process-step,
    .career-card,
    .info-card,
    .blog-card {
        border: 2px solid var(--dark-1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section::before {
        animation: none;
    }
    
    .gallery-img:hover,
    .feature-card:hover,
    .service-card:hover,
    .pricing-card:hover {
        transform: none;
    }
    
    .navbar-nav .nav-link::after {
        transition: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* ========================================
   CUSTOM BREAKPOINT UTILITIES
   ======================================== */
.d-mobile-none {
    display: none;
}

@media (min-width: 768px) {
    .d-mobile-none {
        display: block;
    }
    
    .d-tablet-up-none {
        display: none;
    }
}

@media (min-width: 992px) {
    .d-desktop-none {
        display: none;
    }
    
    .d-desktop-block {
        display: block;
    }
}

/* ========================================
   CONTAINER AND GRID ADJUSTMENTS
   ======================================== */
@media (max-width: 575px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-6,
    .col-md-4,
    .col-md-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */
@media (max-width: 767px) {
    .hero-section::before {
        display: none;
    }
    
    .timeline::before {
        opacity: 0.5;
    }
    
    .shadow-custom,
    .feature-card,
    .service-card,
    .pricing-card {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

/* ========================================
   DARK MODE SUPPORT (Future Enhancement)
   ======================================== */
@media (prefers-color-scheme: dark) {
    /* Note: Dark mode is disabled per requirements, but structure is here for future use */
    /* Remove this comment and implement if dark mode is needed later */
}
