/* Responsive Styles */

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .shape-blob:nth-child(1) {
    width: 250px;
    height: 250px;
  }
  
  .shape-blob:nth-child(2) {
    width: 180px;
    height: 180px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .navbar-nav {
  flex-direction: row;
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.5rem 0;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .shape-blob {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .service-card,
  .price-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .about-feature,
  .feature-item,
  .coreinfo-item {
    padding: 1.5rem;
  }
  
  .about-feature i,
  .feature-item i,
  .coreinfo-item i {
    font-size: 2rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .review-card {
    padding: 2rem;
    margin: 0.5rem 0;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* Disable animations on mobile for better performance */
  .shape-blob,
  .service-card::before {
    animation: none !important;
  }
  
  .service-card:hover,
  .price-card:hover,
  .about-feature:hover,
  .feature-item:hover,
  .coreinfo-item:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .team-photo:hover {
    transform: none;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .service-card,
  .price-card,
  .contact-form {
    padding: 1.5rem;
  }
  
  .about-feature,
  .feature-item,
  .coreinfo-item {
    padding: 1.5rem;
  }
  
  .service-price,
  .price-amount {
    font-size: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .accordion-button {
    padding: 1rem !important;
    font-size: 0.9rem;
  }
  
  .accordion-body {
overflow-x: hidden;
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  /* Stack form fields vertically on very small screens */
  .form-row .col-md-6 {
    margin-bottom: 1rem;
  }
}

/* Landscape orientation for small devices */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-size: cover;
  }
}

/* Accessibility - Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .shape-blob {
    animation: none !important;
  }
  
  .service-card::before {
    animation: none !important;
  }
  
  .swiper-container {
    --swiper-navigation-color: var(--polder-sage);
    --swiper-pagination-color: var(--polder-sage);
  }
}

/* Dark mode preference */
@media (prefers-color-scheme: dark) {
  :root {
    --white: #1a1a1a;
    --gray-100: #2c2c2c;
    --gray-200: #404040;
    --gray-800: #e0e0e0;
    --gray-900: #ffffff;
  }
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .contact-form,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section-padding {
    padding: 20px 0;
  }
  
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
}

/* Container max-widths for different breakpoints */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Touch-friendly button sizing for mobile */
@media (max-width: 767.98px) {
  .btn {
    min-height: 44px;
    padding: 12px 24px;
  }
  
  .navbar-toggler {
    padding: 8px 12px;
    font-size: 1.1rem;
  }
}

/* Swiper responsive adjustments */
@media (max-width: 767.98px) {
  .swiper-container {
    padding-bottom: 50px;
  }
  
  .swiper-pagination {
    bottom: 10px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* Gallery responsive adjustments */
@media (max-width: 991.98px) {
  .gallery-item {
    aspect-ratio: 16/10;
  }
}

@media (max-width: 575.98px) {
  .gallery-item {
    aspect-ratio: 4/3;
  }
} 