/* Responsive Styles */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  html {
    font-size: 15px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-description {
    max-width: 500px;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .team-img {
    width: 120px;
    height: 120px;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    max-width: 450px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .card {
    padding: 1.25rem;
  }
  
  .navbar-nav {
    display: none;
  }
  
  .navbar-toggler {
    display: block;
  }
  
  .navbar-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem;
    box-shadow: var(--shadow-medium);
  }
  
  .navbar-nav.active .nav-item {
    margin: 0.5rem 0;
  }
  
  .team-img {
    width: 100px;
    height: 100px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  html {
    font-size: 13px;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-description {
    max-width: 100%;
  }
  
  .section-title {
    font-size: 1rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .section-description {
    margin-bottom: 2rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .navbar-nav {
    display: none;
  }
  
  .navbar-toggler {
    display: block;
  }
  
  .navbar-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem;
    box-shadow: var(--shadow-medium);
  }
  
  .navbar-nav.active .nav-item {
    margin: 0.5rem 0;
  }
  
  .team-img {
    width: 80px;
    height: 80px;
  }
  
  .review-author {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .review-author-img {
    margin-bottom: 0.5rem;
  }
  
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-logo {
    margin-bottom: 0.5rem;
  }
  
  .footer-title {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Special handling for reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .slide-up, .slide-in-left, .slide-in-right, .fade-in {
      animation: none;
    }
    
    .swiper-container {
      --swiper-autoplay: false;
    }
    
    *, *::before, *::after {
      transition-duration: 0s !important;
      animation-duration: 0s !important;
    }
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-light: #1a1a1a;
    --bg-medium: #2a2a2a;
    --bg-dark: #333333;
    --text-dark: #f0f0f0;
    --text-medium: #cccccc;
    --text-light: #999999;
  }
  
  .card, .header, .footer, .navbar-nav.active, .price-item {
    background-color: #222222;
  }
  
  .review-item {
    background-color: #2c2c2c;
  }
  
  .form-control {
    background-color: #1e1e1e;
    border-color: #444444;
    color: #f0f0f0;
  }
  
  .footer {
    background-color: #111111;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
} 