/* Mobile First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 2rem 1rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  .card-body {
  overflow-x: hidden;
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* Disable autoplay and effects on mobile for Swiper */
  .swiper-container {
    --swiper-autoplay-delay: 0;
  }
  
  .swiper-slide {
    transition: none !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section {
    background-attachment: fixed;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .navbar-expand-md .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .section {
    padding: 6rem 0;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3.5rem;
  }
}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  body {
  overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .card {
    border: 1px solid #000;
    box-shadow: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-coral: #000;
    --primary-teal: #000;
    --text-dark: #000;
    --text-light: #333;
    --border-gray: #000;
  }
  
  .card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    background: #000;
    color: #fff;
    border: 2px solid #000;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --text-dark: #E2E8F0;
    --text-light: #A0AEC0;
    --white: #1A202C;
    --light-gray: #2D3748;
    --border-gray: #4A5568;
  }
  
  body {
  overflow-x: hidden;
    background-color: #1A202C;
    color: var(--text-dark);
  }
  
  .card {
    background-color: #2D3748;
    color: var(--text-dark);
  }
  
  .contact-form {
    background: linear-gradient(135deg, #2D3748, #4A5568);
  }
  
  .review-card {
    background: #2D3748;
  }
  
  .faq-answer {
    background: #2D3748;
  }
}

/* Orientation specific styles */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 70vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before {
    animation: none;
  }
  
  .card:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .blog-post:hover {
    transform: none;
  }
  
  .navbar-nav .nav-link:hover {
    transform: none;
  }
  
  .swiper-slide {
    transition: none !important;
  }
}

/* Focus styles for accessibility */
@media (prefers-reduced-motion: no-preference) {
  *:focus {
    outline: 2px solid var(--primary-coral);
    outline-offset: 2px;
  }
  
  .btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 107, 0.25);
  }
}

/* Container responsive adjustments */
@media (max-width: 1399.98px) {
  .container-xxl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 1199.98px) {
  .container-xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 991.98px) {
  .container-lg {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 767.98px) {
  .container-md {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper {
    --swiper-navigation-size: 0;
    --swiper-pagination-bullet-size: 8px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .container-sm {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
} 