﻿/*
 * Responsive CSS for Podcast Editing & Marketing Agency
 * Mobile-first approach with prefers-reduced-motion support
 */

/* ==== BASE MOBILE STYLES ==== */
/* Already included in main.css */

/* ==== TABLET STYLES ==== */
@media (min-width: 768px) {
  /* Typography adjustments */
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2.25rem;
  }
  
  /* Hero section */
  .hero {
    padding: 140px 0 100px;
  }
  
  .hero-content {
    padding-right: 2rem;
  }
  
  /* Services grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Features grid */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Team grid */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* FAQ grid */
  .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Contact form */
  .contact-form {
    padding: 3rem;
  }
  
  /* Price plan grid */
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Testimonials */
  .testimonial-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* ==== DESKTOP STYLES ==== */
@media (min-width: 1024px) {
  /* Typography */
  .hero h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.5rem;
  }
  
  /* Hero section */
  .hero {
    padding: 160px 0 120px;
  }
  
  .decorative-blob {
    display: block;
  }
  
  /* Services grid */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Features grid */
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Team grid */
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Price plan grid */
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Testimonials */
  .testimonial-slider {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Contact layout */
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
  
  /* Footer layout */
  .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ==== LARGE DESKTOP STYLES ==== */
@media (min-width: 1200px) {
  /* Container max-width */

  
  /* Typography */
  .hero h1 {
    font-size: 3.5rem;
  }
  
  /* Services grid */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  /* Team grid */
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Blog grid */
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Process steps */
  .process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
  
  /* Timeline */
  .timeline-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
  
  /* Core info */
  .coreinfo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Case studies */
  .casestudy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Career positions */
  .career-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==== EXTRA LARGE DESKTOP STYLES ==== */
@media (min-width: 1400px) {

  /* Typography */
  .hero h1 {
    font-size: 4rem;
  }
  
  /* Spacing adjustments */
  .section {
    padding: 120px 0;
  }
  
  .hero {
    padding: 200px 0 150px;
  }
}

/* ==== MOBILE NAVIGATION STYLES ==== */


/* ==== MOBILE PORTRAIT STYLES ==== */
@media (max-width: 576px) {
  /* Typography */
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  /* Spacing */
  .section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  /* Layout adjustments */
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  /* Cards */
  .service-card,
  .feature-item,
  .price-card,
  .testimonial-card,
  .faq-card {
    padding: 1.5rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  

  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* FAQ */
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ==== MOBILE LANDSCAPE STYLES ==== */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 80vh;
    padding: 120px 0 80px;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .section {
    padding: 80px 0;
  }
}

/* ==== PRINT STYLES ==== */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .footer,
  .hero,
  .contact,
  .gallery,
  .decorative-blob {
    display: none !important;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 1rem;
  }
  
  .service-card,
  .feature-item,
  .price-card,
  .testimonial-card,
  .faq-item {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    margin-bottom: 1rem !important;
  }
  
  a {
    color: inherit !important;
    text-decoration: underline !important;
  }
  
  .btn {
    display: none !important;
  }
  

}

/* ==== REDUCED MOTION SUPPORT ==== */
@media (prefers-reduced-motion: reduce) {
  .decorative-blob {
    animation: none !important;
  }
  
  .hero::before {
    animation: none !important;
  }
  
  .service-card:hover,
  .feature-item:hover,
  .price-card:hover,
  .testimonial-card:hover,
  .gallery-item:hover img,
  .btn:hover {
    transform: none !important;
  }
  
  .animate-fade-in-up {
    animation: none !important;
  }
  
  * {
    transition: none !important;
  }
}

/* ==== HIGH CONTRAST SUPPORT ==== */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #333333;
    --background-white: #ffffff;
    --background-light: #f5f5f5;
    --border-light: #000000;
    --primary-purple: #5B21B6;
    --primary-teal: #0F766E;
    --primary-coral: #D97706;
    --primary-pink: #BE185D;
    --primary-blue: #1E40AF;
  }
  
  .service-card,
  .feature-item,
  .price-card,
  .testimonial-card,
  .faq-item {
    border: 2px solid var(--border-light);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
  
  .form-control {
    border: 2px solid var(--border-light);
  }
}



/* ==== FOCUS STYLES ==== */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .form-control:focus,
  .faq-question:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
  }
}

/* ==== UTILITY RESPONSIVE CLASSES ==== */
.d-sm-none {
  display: none !important;
}

@media (min-width: 576px) {
  .d-sm-block {
    display: block !important;
  }
  
  .d-sm-none {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .d-md-block {
    display: block !important;
  }
  
  .d-md-none {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .d-lg-block {
    display: block !important;
  }
  
  .d-lg-none {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .d-xl-block {
    display: block !important;
  }
  
  .d-xl-none {
    display: none !important;
  }
}






/* ==== GRID SYSTEM ==== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col {
  flex: 1 0 0%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 576px) {
  .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 1024px) {
  .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}
