/* AI B-Roll Studio - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .hero h1 {
    font-size: var(--font-size-3xl);
    padding-top: 275px;
}
  
  .hero p {
    font-size: var(--font-size-base);
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .section-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .navbar-brand {
    font-size: var(--font-size-lg);
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  .feature-card,
  .service-card,
  .review-card {
    margin-bottom: 1.72rem;
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-layout {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .price-card.featured {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero h1 {
    font-size: var(--font-size-3xl);
    padding-top: 275px;
}
  
  .gallery-layout {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero h1 {
    font-size: var(--font-size-4xl);
    padding-top: 275px;
}
  
  .gallery-layout {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .navbar-nav .nav-link {
    margin: 0 1rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-layout {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: block;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-layout {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero h1 {
    font-size: var(--font-size-2xl);
    margin-bottom: 0.63rem;
    padding-top: 275px;
}
  
  .hero p {
    margin-bottom: 1rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    background-image: url('../SYS_images/hero-bg@2x.webp');
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero-shape-1,
  .hero-shape-2,
  .contact-form,
  .footer {
    display: none;
  }
  
  .hero {
    min-height: auto;
    background: none;
    color: black;
  }
  
  .hero h1,
  .hero p {
    color: black;
  }
  
  section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  
  .service-card,
  .feature-card,
  .review-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #d3d3d3;
  }
}

/* Accessibility - Focus states */
@media (prefers-reduced-motion: no-preference) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
  }
}

/* Dark mode preference */

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-shape-1,
  .hero-shape-2 {
    animation: none;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .btn:hover {
    transform: none;
  }
  
  * {
    transition: none;
  }
}

/* Container adjustments for different screen sizes */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
}

/* Navbar responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.5rem 0;
  }
}

/* Hero responsive text alignment */
@media (max-width: 767.98px) {
  .hero .row {
    text-align: center;
  }
  
  .hero img {
    margin-top: 2rem;
    max-width: 80%;
  }
}

/* Service cards responsive layout */
@media (max-width: 767.98px) {
  .services .row > div {
    margin-bottom: 2rem;
  }
}

/* Team section responsive */
@media (max-width: 575.98px) {
  .team .row > div {
    margin-bottom: 2rem;
  }
}

/* FAQ responsive */
@media (max-width: 575.98px) {
  .faq-question {
    font-size: var(--font-size-sm);
    padding: 0.75rem;
  }
  
  .faq-answer {
    padding: 0.75rem;
    font-size: var(--font-size-sm);
  }
}

/* Contact form responsive */
@media (max-width: 767.98px) {
  .contact .row {
    flex-direction: column-reverse;
  }
  
  .contact-form {
    margin-top: 2rem;
  }
}

/* Footer responsive */
@media (max-width: 767.98px) {
  .footer .row > div {
    margin-bottom: 2rem;
    text-align: center;
  }
}

/* Blog grid responsive */
@media (max-width: 767.98px) {
  .blog .row > div {
    margin-bottom: 2rem;
  }
}

/* Price plan responsive */
@media (max-width: 991.98px) {
  .price-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
} 