/* ==========================================================================
   RESPONSIVE CSS - Podcast Guest Matchmaking Service
   Mobile-First Responsive Design following Bootstrap 5 breakpoints
   ========================================================================== */

/* Base (Mobile First) - 0px and up */
/* Already handled in main.css */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero {
    min-height: 100vh;
  }
  
  .hero-content h1 {
    font-size: var(--font-size-4xl);
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .section-title {
    margin-bottom: 4rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  :root {
    --section-padding: 6rem 0;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: var(--font-size-lg);
  }
  
  .navbar-brand {
    font-size: var(--font-size-xl);
  }
  
  .service-card {
    margin-bottom: 0;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .footer {
    padding: 4rem 0 2rem;
  }
  
  .price-card.featured {
    transform: scale(1.1);
  }
  
  .process-number {
    width: 80px;
    height: 80px;
    font-size: var(--font-size-xl);
    line-height: 80px;
  }
  
  .timeline-item {
    padding-left: 4rem;
  }
  
  .timeline-item::before {
    width: 16px;
    height: 16px;
  }
  
  .timeline-item::after {
    left: 7px;
    top: 16px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  :root {
    --section-padding: 8rem 0;
  }
  
  .hero-content h1 {
    font-size: 3.62rem;
  }
  
  .hero-content p {
    font-size: var(--font-size-xl);
  }
  
  .section-title h2 {
    font-size: var(--font-size-4xl);
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .team-card {
    padding: 2rem;
  }
  
  .review-card {
    padding: 2.5rem;
  }
  
  .faq-card {
    padding: 2.5rem;
  }
  
  .gallery-item img {
    height: 300px;
  }
  
  .blog-card-body {
    padding: 2rem;
  }
  
  .price-card {
    padding: 2.5rem;
  }
  
  .case-study-card {
    padding: 2.5rem;
  }
  
  .feature-card {
    padding: 2.5rem;
  }
  
  .career-card {
    padding: 2.5rem;
  }
  
  .core-info-card {
    padding: 2.5rem;
  }
  
  .contact-info {
    padding: 2.5rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-content h1 {
    font-size: 4rem;
  }
  
  .hero-content p {
    font-size: var(--font-size-2xl);
  }
  
  .service-card {
    padding: 3rem;
  }
  
  .team-card {
    padding: 2.5rem;
  }
  
  .review-card {
    padding: 3rem;
  }
  
  .faq-card {
    padding: 3rem;
  }
  
  .gallery-item img {
    height: 350px;
  }
  
  .contact-form {
    padding: 4rem;
  }
  
  .price-card {
    padding: 3rem;
  }
  
  .case-study-card {
    padding: 3rem;
  }
  
  .feature-card {
    padding: 3rem;
  }
  
  .career-card {
    padding: 3rem;
  }
  
  .core-info-card {
    padding: 3rem;
  }
  
  .contact-info {
    padding: 3rem;
  }
  
  .process-number {
    width: 100px;
    height: 100px;
    font-size: var(--font-size-2xl);
    line-height: 100px;
  }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .hero-content h1 {
    font-size: 4.59rem;
  }
  
  .container-xxl {
    max-width: 1320px;
  }
}

/* Mobile-specific optimizations */
@media (max-width: 575.98px) {
  .hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-content h1 {
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: var(--font-size-base);
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .price-card,
  .case-study-card,
  .feature-card,
  .career-card,
  .core-info-card {
    margin-bottom: 1.64rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: var(--font-size-base);
    line-height: 50px;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
  
  .timeline-item::before {
    width: 8px;
    height: 8px;
  }
  
  .timeline-item::after {
    left: 3px;
    top: 8px;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .navbar-brand {
    font-size: var(--font-size-base);
  }
  
  .btn-primary {
    padding: 0.5rem 1.5rem;
    font-size: var(--font-size-sm);
  }
  
  .form-control {
    padding: 0.5rem 0.75rem;
  }
}

/* Tablet-specific optimizations */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero {
    min-height: 90vh;
  }
  
  .service-card {
    margin-bottom: 1.63rem;
  }
  
  .team-card {
    margin-bottom: 1.63rem;
  }
  
  .gallery-item {
    margin-bottom: 1.64rem;
  }
  
  .price-card.featured {
    transform: scale(1.05);
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .service-card:active,
  .team-card:active,
  .blog-card:active,
  .gallery-item:active {
    transform: scale(0.98);
  }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    background-size: 500px 500px;
  }
}

/* Landscape phone optimizations */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Print styles */
@media print {
  .hero {
    min-height: auto;
    background: none;
  }
  
  .hero::before {
    display: none;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .price-card,
  .case-study-card,
  .feature-card,
  .career-card,
  .core-info-card {
    box-shadow: none;
    border: 1px solid #cbcbcb;
  }
  
  .footer {
    background: none;
    color: #212020;
  }
  
  .btn-primary {
    background: none;
    color: #222222;
    border: 1px solid #393939;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .team-card,
  .blog-card,
  .gallery-item {
    transition: none;
  }
  
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .price-card.featured {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .price-card,
  .case-study-card,
  .feature-card,
  .career-card,
  .core-info-card {
    border: 2px solid;
  }
}

/* Dark mode support (optional) */

/* Focus management for keyboard navigation */
.service-card:focus,
.team-card:focus,
.blog-card:focus,
.gallery-item:focus,
.btn:focus,
.form-control:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Improved button sizing for touch devices */
@media (max-width: 767.98px) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .navbar-toggler {
    min-height: 44px;
    min-width: 44px;
  }
} 