/* css/responsive.css */
/* Mobile-first approach: Base styles are in main.css for mobile */
/* This file contains breakpoints and overrides for larger screens */

/* Small devices (tablets, 576px and up) */
@media (min-width: 576px) {
  .container {
    padding: 2rem 1.5rem;
  }

  /* Gallery grid: 2 columns on tablets */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Service & rate cards */
  .service-card, .rate-card {
    padding: 1.5rem;
  }

  /* Navigation: larger spacing */
  nav ul {
    gap: 2.5rem;
  }
}

/* Medium devices (laptops/small desktops, 768px and up) */
@media (min-width: 768px) {
  header {
    padding: 1.5rem 0;
  }

  nav ul {
    gap: 3rem;
  }

  nav a {
    font-size: 1.1rem;
  }

  /* Hero section adjustments */
  .hero {
    padding: 6rem 0;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1.3rem;
    max-width: 700px;
  }

  /* Gallery: 3 columns */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* Rates table: better spacing */
  .rates-table th,
  .rates-table td {
    padding: 1.2rem;
    font-size: 1.1rem;
  }

  /* Location cards */
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials carousel */
  .testimonial-item {
    padding: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  /* Gallery: 4 columns */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Two-column layouts (e.g., about page) */
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  /* Services section */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Fixed WhatsApp button: move slightly left on large screens */
  .whatsapp-fixed {
    bottom: 30px;
    right: 30px;
  }

  /* Footer */
  footer .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .gallery-grid {
    gap: 2.5rem;
  }
}

/* XXL devices (full HD and above, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .hero {
    padding: 8rem 0;
  }
}

/* Landscape phones - minor tweaks */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* High-resolution displays (Retina, etc.) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optional: sharper images if using background images */
  /* .logo { background-image: url('../images/logo@2x.png'); } */
}