/* ==========================================
   RESPONSIVE CSS - Mobile First Approach
   ========================================== */

/* Tablet Styles */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-decoration-1,
  .hero-decoration-2 {
    display: none;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .price-card.featured {
    transform: none;
    margin-top: 2rem;
  }
  
  .process-number {
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto 1rem;
  }
  
  .process-item {
    text-align: center;
    padding-top: 1rem;
  }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
  :root {
    --font-size-h1: 1.75rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --font-size-h4: 1.125rem;
    --font-size-brand: 1.125rem;
    --section-padding: 40px 0;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .section {
    padding: var(--section-padding);
  }
  
  .navbar-brand {
    font-size: var(--font-size-brand);
  }
  
  .service-card,
  .team-card,
  .review-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .btn-primary,
  .btn-outline-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Mobile Navigation - NO CUSTOM HAMBURGER MENU */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  /* Mobile Typography Adjustments */
  h1, h2, h3, h4 {
    line-height: 1.3;
  }
  
  p {
    font-size: 0.9rem;
  }
  
  /* Mobile Spacing */
  .py-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .mb-section {
    margin-bottom: 3rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .price-card,
  .faq-card,
  .contact-form {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  
  .team-photo {
    width: 70px;
    height: 70px;
  }
  
  .process-item {
    padding: 1.5rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
}

/* Accessibility - Reduced Motion for All Devices */
@media (prefers-reduced-motion: reduce) {
  /* NO ANIMATIONS IN MOBILE */
  .service-card:hover,
  .team-card:hover,
  .price-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  /* Disable all animations and transitions */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print Styles */
@media print {
  .hero-decoration-1,
  .hero-decoration-2,
  .navbar,
  .footer {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    background: white;
    color: black;
  }
  
  .section {
    padding: 20px 0;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .price-card,
  .faq-card {
    border: 1px solid #c0c0c0;
    break-inside: avoid;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .review-card,
  .price-card,
  .faq-card,
  .contact-form {
    border: 2px solid #393636;
  }
  
  .btn-primary {
    border: 2px solid #000;
  }
  
  .form-control {
    border: 2px solid #2e2e2e;
  }
}

/* Landscape Orientation Adjustments */
@media screen and (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 30px 0;
  }
}

/* Focus States for Better Accessibility */
@media (min-width: 768px) {
  .service-card:focus-within,
  .team-card:focus-within,
  .review-card:focus-within,
  .price-card:focus-within {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
  }
}

/* Hover Effects Only for Non-Touch Devices */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  .price-card:hover {
    transform: translateY(-5px);
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-card,
  .price-card,
  .gallery-item img {
    transition: none;
  }
  
  .btn-primary,
  .btn-outline-primary {
    min-height: 44px; /* Touch target size */
  }
} 

.hero-section h1 {
    padding-top: 225px;
}