/* Responsive styles for domain.com */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

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

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

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

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

  /* Mobile menu */
  .menu-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1010;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90vw;
    max-width: 300px;
    height: 100vh;
    background: var(--text-light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  /* Services, benefits, testimonials grid layout */
  .services .service-cards,
  .benefits-list,
  .testimonials-container,
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    width: 100%;
    padding: 0 1rem;
  }

  section, .section {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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

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

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Cookie consent */
  .cookie-consent {
    flex-direction: column;
    text-align: center;
  }
}
