/* Responsive CSS */

/* Responsive Design for Ethical Influencer Management Agency */

/* Mobile First Approach */

/* Large Screens (Desktops) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .blob-1 {
    width: 150px;
    height: 150px;
  }
  
  .blob-2 {
    width: 100px;
    height: 100px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: var(--font-size-lg);
  }
  
  .hero-section {
    padding-top: 60px;
    text-align: center;
  }
  
  .hero-title {
    font-size: var(--font-size-2xl);
    margin-bottom: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero-desc {
    font-size: var(--font-size-base);
  }
  
  .hero-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    margin-top: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: var(--font-size-xl);
  }
  
  .section-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .section-desc {
    font-size: var(--font-size-base);
  }
  
  .card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .card-title {
    font-size: var(--font-size-lg);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blob-1, .blob-2 {
    display: none;
  }
}

/* Mobile Phones */
@media (max-width: 576px) {
  .navbar {
    padding: 0.25rem 0;
  }
  
  .navbar-brand {
    font-size: var(--font-size-base);
  }
  
  .navbar-nav .nav-link {
    padding: 0.25rem 0.5rem;
    font-size: var(--font-size-sm);
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 80px 1rem 2rem;
  }
  
  .hero-title {
    font-size: var(--font-size-xl);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-base);
  }
  
  .hero-desc {
    font-size: var(--font-size-sm);
  }
  
  .hero-image {
    width: 100%;
    height: 250px;
    margin-top: 1.5rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: var(--font-size-lg);
  }
  
  .section-subtitle {
    font-size: var(--font-size-base);
  }
  
  .section-desc {
    font-size: var(--font-size-sm);
    margin-bottom: 2rem;
  }
  
  .card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .card-title {
    font-size: var(--font-size-base);
  }
  
  .card-desc {
    font-size: var(--font-size-sm);
  }
  
  .card-price {
    font-size: var(--font-size-xl);
  }
  
  .team-photo {
    height: 200px;
  }
  
  .team-info {
    padding: 1rem;
  }
  
  .team-name {
    font-size: var(--font-size-base);
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-text {
    font-size: var(--font-size-base);
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gallery-item {
    border-radius: 8px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.5rem;
  }
  
  .btn {
    padding: 0.5rem 1.5rem;
    font-size: var(--font-size-sm);
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    gap: 1rem;
  }
  
  .footer-section h4 {
    font-size: var(--font-size-base);
  }
  
  .footer-section p,
  .footer-section a {
    font-size: var(--font-size-sm);
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .blog-title {
    font-size: var(--font-size-base);
  }
  
  .blog-excerpt {
    font-size: var(--font-size-sm);
  }
}

/* Extra Small Mobile Devices */
@media (max-width: 375px) {
  .hero-section {
    padding: 70px 0.5rem 1.5rem;
  }
  
  .hero-title {
    font-size: var(--font-size-lg);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-sm);
  }
  
  .hero-desc {
    font-size: var(--font-size-sm);
  }
  
  .section {
    padding: 1.5rem 0;
  }
  
  .card {
    padding: 0.75rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .testimonial-card {
    padding: 1rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 0.75rem;
  }
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
    padding-top: 60px;
  }
  
  .hero-title {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: 1rem;
  }
  
  .hero-desc {
    font-size: var(--font-size-sm);
    margin-bottom: 1.5rem;
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../images/hero-background@2x.webp');
  }
}

/* Container Queries Support */
@supports (container-type: inline-size) {
  .card-container {
    container-type: inline-size;
  }
  
  @container (max-width: 300px) {
    .card {
      padding: 1rem;
    }
    
    .card-title {
      font-size: var(--font-size-base);
    }
  }
}

/* Print Styles */
@media print {
  .navbar,
  .blob,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
    background: none !important;
    color: var(--text-primary) !important;
    min-height: auto;
    padding: 1rem 0;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    border: 1px solid var(--text-primary);
    break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
  }
}

/* Accessibility Improvements */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000000;
    --text-secondary: #333333;
  }
  
  .card {
    border: 2px solid var(--border-color);
  }
  
  .btn-primary {
    background: #000000;
    border: 2px solid #000000;
  }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .blob {
    animation: none;
  }
  
  .card:hover {
    transform: none;
  }
  
  .team-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles would go here if needed */
  /* Currently not implemented per requirements */
}
