/* AR Wildlife Book - Responsive CSS */
/* Mobile-First Responsive Design */

/* Mobile Extra Small devices (portrait 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;
    --font-size-h4: 1.2rem;
    --section-padding: 2rem 0;
    --hero-height: 80vh;
  }
  
  /* No animations on mobile for performance */
  .sal-animate {
    animation: none !important;
    transition: none !important;
  }
  
  /* Header adjustments */
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
  
  /* Hero section mobile optimization */
  .hero-section {
    min-height: var(--hero-height);
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Card adjustments for mobile */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .casestudy-card,
  .process-step,
  .timeline-item,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Form adjustments */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Typography adjustments */
  .section-title {
    text-align: center;
  }
  
  .section-subtitle {
    text-align: center;
    font-size: 1rem;
  }
  
  .section-desc {
    text-align: center;
    font-size: 0.95rem;
  }
  
  /* Price cards mobile */
  .price-amount {
    font-size: 2rem;
  }
  
  /* Service price mobile */
  .service-price {
    font-size: 1.5rem;
  }
  
  /* Team photo mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Gallery grid mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer mobile */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  /* Button adjustments */
  .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
  
  /* Process number mobile */
  .process-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

/* 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: 3rem 0;
    --hero-height: 85vh;
  }
  
  /* No animations on mobile for performance */
  .sal-animate {
    animation: none !important;
    transition: none !important;
  }
  
  .hero-section {
    min-height: var(--hero-height);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  /* Card adjustments */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .casestudy-card,
  .process-step,
  .timeline-item,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --section-padding: 3.5rem 0;
    --hero-height: 90vh;
  }
  
  .hero-section {
    min-height: var(--hero-height);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  /* Tablet card spacing */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .casestudy-card,
  .process-step,
  .timeline-item,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --wildlife-sage: #6B7F5B;
    --wildlife-terracotta: #A05A2A;
    --wildlife-slate: #3A4A54;
    --wildlife-sand: #E6D199;
    --wildlife-forest: #1A2A1A;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .casestudy-card,
  .process-step,
  .timeline-item,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    border-width: 2px;
  }
  
  .form-control:focus {
    border-width: 3px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .gallery-section,
  .contact-section,
  .footer {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .casestudy-card,
  .process-step,
  .timeline-item,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    border: 1px solid #000;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1 { font-size: 18pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 14pt; }
  h4 { font-size: 13pt; }
  h5 { font-size: 12pt; }
  h6 { font-size: 11pt; }
}

/* Focus management for accessibility */
@media (min-width: 768px) {
  .navbar-nav .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 3px solid var(--wildlife-terracotta);
    outline-offset: 2px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  /* Increase touch targets */
  .navbar-nav .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
  }
}

/* Landscape phone orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-decorative,
  .sal-animate {
    animation: none !important;
    transition: none !important;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .blog-card,
  .gallery-item,
  .btn-primary {
    transition: none !important;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .gallery-item:hover,
  .btn-primary:hover {
    transform: none !important;
  }
}


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