/* ===== RESPONSIVE STYLES ===== */

/* Extra Large devices (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
  .section-padding {
    padding: 5rem 0;
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
  .navbar-expand-md .navbar-collapse {
    display: flex;
    flex-basis: auto;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .custom-card {
    padding: 2.5rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
}

/* Small devices (576px and up) */
@media (min-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Extra small devices (below 576px) */
@media (max-width: 575.98px) {
  :root {
    --section-padding: 2.5rem 0;
    --container-padding: 1rem;
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
  }
  
  .container,
  .container-fluid {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }
  
  /* Hero Section Mobile */
  .hero-section {
    min-height: 80vh;
    padding: 1.5rem 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: var(--font-size-3xl);
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: 1.5rem;
  }
  
  .hero-description {
    font-size: var(--font-size-base);
    margin-bottom: 2rem;
  }
  
  /* Remove animations on mobile for better performance */
  .hero-section::before {
    animation: none;
  }
  
  @media (prefers-reduced-motion: no-preference) {
    .hero-section::before {
      animation: none;
    }
  }
  
  /* Typography Mobile */
  .section-title {
    font-size: var(--font-size-2xl);
    margin-bottom: 0.75rem;
  }
  
  .section-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: 1rem;
  }
  
  .section-description {
    font-size: var(--font-size-sm);
    margin-bottom: 2rem;
  }
  
  /* Card Styles Mobile */
  .custom-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .service-image {
    height: 150px;
    font-size: 2rem;
  }
  
  .service-content {
    padding: 1.25rem;
  }
  
  /* Team Section Mobile */
  .team-member {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  
  /* Pricing Mobile */
  .pricing-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .price-amount {
    font-size: var(--font-size-3xl);
  }
  
  /* Contact Form Mobile */
  .contact-form {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* FAQ Mobile */
  .faq-card {
    padding: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  /* Gallery Mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item {
    aspect-ratio: 16/9;
    font-size: 1.5rem;
  }
  
  /* Button Styles Mobile */
  .btn-primary-custom,
  .btn-outline-custom {
    padding: 0.625rem 1.5rem;
    font-size: var(--font-size-sm);
    width: 100%;
    margin-bottom: 0.75rem;
  }
  
  /* Navigation Mobile */
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar-brand {
    font-size: var(--font-size-base);
  }
  
  .navbar-nav .nav-link {
    font-size: var(--font-size-sm);
    padding: 0.5rem 0;
    text-align: center;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > * {
    margin-bottom: 1.5rem;
  }
  
  .footer h5 {
    font-size: var(--font-size-base);
    margin-bottom: 0.75rem;
  }
  
  .footer p,
  .footer a {
    font-size: var(--font-size-xs);
  }
  
  /* Remove hover effects on mobile */
  .custom-card:hover,
  .service-card:hover,
  .team-member:hover,
  .pricing-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary-custom:hover,
  .btn-outline-custom:hover {
    transform: none;
  }
  
  /* Spacing adjustments */
  .mb-section {
    margin-bottom: 2.5rem;
  }
  
  /* Form elements mobile */
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.75rem;
  }
  
  /* Icon adjustments */
  .card-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}

/* Very small devices (below 400px) */
@media (max-width: 399.98px) {
  :root {
    --font-size-4xl: 1.5rem;
    --font-size-3xl: 1.25rem;
    --font-size-2xl: 1.125rem;
  }
  
  .hero-title {
    font-size: var(--font-size-2xl);
  }
  
  .section-title {
    font-size: var(--font-size-xl);
  }
  
  .custom-card,
  .service-content,
  .team-member,
  .pricing-card,
  .contact-form {
    padding: 1rem;
  }
  
  .service-image {
    height: 120px;
    font-size: 1.5rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
    font-size: 1.25rem;
  }
}

/* Landscape orientation adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
    padding: 1rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: var(--font-size-2xl);
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: 1rem;
  }
  
  .hero-description {
    font-size: var(--font-size-sm);
    margin-bottom: 1.5rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .gallery-item,
  .team-photo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
}

.hero-content {
    padding-top: 250px;
}