/* Responsive CSS for Ethical Lifestyle Influencer Agency */

/* Mobile First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --font-size-h1: 1.8rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.3rem;
    --section-padding: 40px 0;
  }

  .navbar-brand {
    font-size: 1.2rem !important;
  }

  #hero {
    min-height: 80vh;
    text-align: center;
  }

  .hero-decorative {
    display: none;
  }

  .service-card,
  .price-card,
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }

  .price-card.featured {
    transform: none;
    border-width: 2px;
  }

  .price-amount {
    font-size: 2.5rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .team-photo {
    width: 120px;
    height: 120px;
  }

  /* No animations on mobile */
  .feature-card:hover,
  .service-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }

  /* Mobile menu adjustments */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }

  .navbar-collapse {
    margin-top: 1rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cream-dark);
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.6rem;
    --section-padding: 50px 0;
  }

  .hero-decorative {
    width: 150px;
    height: 150px;
  }

  .price-card.featured {
    transform: scale(1.02);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reduced animations on small devices */
  .feature-card:hover,
  .service-card:hover {
    transform: translateY(-3px);
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --section-padding: 60px 0;
  }

  .hero-decorative {
    width: 180px;
    height: 180px;
  }

  .service-image {
    height: 180px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .blog-image {
    height: 180px;
  }

  .gallery-image {
    height: 220px;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-decorative {
    width: 200px;
    height: 200px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .hero-decorative {
    width: 250px;
    height: 250px;
  }

  .service-image {
    height: 220px;
  }

  .blog-image {
    height: 220px;
  }

  .gallery-image {
    height: 280px;
  }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  #hero {
    min-height: 100vh;
    padding: 2rem 0;
  }

  .hero-decorative {
    display: none;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-image,
  .blog-image,
  .gallery-image,
  .team-photo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }

  #header,
  #footer,
  .btn,
  .navbar {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}

  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }

  .container {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .hero-decorative {
    display: none;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Dark Mode Support (if needed) */

/* Focus States for Accessibility */
@media (min-width: 768px) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--sage-dark);
    outline-offset: 2px;
  }
}

/* Container Adjustments */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Form Responsive Adjustments */
@media (max-width: 767.98px) {
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .btn-primary {
    width: 100%;
    padding: 1rem;
  }
}

/* Navigation Responsive Fixes */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-link {
    display: block;
    width: 100%;
  }
}

/* Grid System Adjustments for Specific Sections */
@media (max-width: 767.98px) {
  .row > [class*="col-"] {
    margin-bottom: 2rem;
  }

  .row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}

/* Image Responsive Adjustments */
@media (max-width: 575.98px) {
  .service-image,
  .blog-image {
    height: 150px;
  }

  .gallery-image {
    height: 200px;
  }
}

/* Typography Responsive Adjustments */
@media (max-width: 575.98px) {
  p {
    font-size: 15px;
  }

  .review-text {
    font-size: 16px;
  }
}

/* Card Spacing Adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card {
    margin-bottom: 1.5rem;
  }
}

/* FAQ Section Responsive */
@media (max-width: 767.98px) {
  .faq-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .faq-question {
    font-size: 1rem;
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  #footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 2rem;
  }
}

/* Hero Section Responsive Text */
@media (max-width: 575.98px) {
  #hero .container {
    text-align: center;
  }

  #hero .row {
    align-items: center;
  }
}

/* Process Section Responsive */
@media (max-width: 767.98px) {
  .process-step {
    margin-bottom: 2rem;
  }
}

/* Timeline Section Responsive */
@media (max-width: 767.98px) {
  .timeline-item {
    margin-bottom: 1.5rem;
  }
} 