/* Responsive Design - Mobile First Approach */

/* Small devices (phones, 576px and up) */
@media (max-width: 575.98px) {
  body {
    font-size: 14px;
  }

  header {
    padding: 0.8rem 1rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  .hero {
    padding: 100px 1rem 2rem;
    min-height: 90vh;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .seo-content {
    padding: 2rem 1rem;
  }

  .seo-section {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .seo-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .seo-section p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .business-map {
    padding: 2rem 1rem;
  }

  .business-map h2 {
    font-size: 2rem;
  }

  .business-map iframe {
    height: 300px;
  }

  footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-content {
    gap: 1.5rem;
  }

  .footer-section h3 {
    font-size: 1.2rem;
  }

  .phone-float {
    bottom: 1rem;
    left: 1rem;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-button {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .seo-section {
    padding: 2.5rem 2rem;
  }

  .seo-section h2 {
    font-size: 2rem;
  }

  .business-map iframe {
    height: 400px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero h1 {
    font-size: 3.2rem;
  }

  .hero p {
    font-size: 1.25rem;
  }

  .seo-content {
    padding: 3rem 2rem;
  }

  .business-map {
    padding: 3rem 2rem;
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
  .hero-content {
    max-width: 1000px;
  }

  .seo-content {
    max-width: 1400px;
  }

  .footer-content {
    max-width: 1400px;
  }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
  .hero h1 {
    font-size: 4rem;
  }

  .hero p {
    font-size: 1.4rem;
  }

  .seo-section {
    padding: 4rem;
  }

  .business-map iframe {
    height: 500px;
  }
}

/* Landscape phones and small tablets */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 80vh;
    padding: 80px 2rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-dark: #000000;
    --text-light: #ffffff;
    --dark-bg: #000000;
    --light-bg: #ffffff;
  }

  .seo-section {
    border: 2px solid #000000;
  }

  .cta-button,
  .whatsapp-button {
    border: 3px solid #ffffff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .whatsapp-float {
    animation: none;
  }
}

/* Print styles */
@media print {
  .whatsapp-float,
  .cta-button {
    display: none !important;
  }

  header {
    position: static;
    background: white !important;
    color: black !important;
    box-shadow: none;
    border-bottom: 2px solid black;
  }

  .logo {
    color: black !important;
  }

  .hero {
    background: white !important;
    color: black !important;
    min-height: auto;
    padding: 2rem;
  }

  .hero h1,
  .hero p {
    color: black !important;
    text-shadow: none;
  }

  .seo-section {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  .business-map {
    display: none;
  }

  footer {
    background: white !important;
    color: black !important;
    border-top: 2px solid black;
    page-break-inside: avoid;
  }

  .footer-section h3 {
    color: black !important;
  }
}

