/* Responsive styles for domain website */

/* Tablet (768px to 1023px) */
@media screen and (max-width: 1023px) {
  /* Global adjustments */
  :root {
    --font-size-h1: 2.2rem;
    --font-size-h2: 1.8rem;
    --font-size-h3: 1.3rem;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  /* Header adjustments */
  .nav-menu {
    display: none;
  }
  
  /* Mobile menu styles */
  .hamburger-menu {
    display: block;
  }
  
  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: relative;
  }
  
  .menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-indigo);
    border-radius: 3px;
  }
  
  /* Checkbox hack for mobile menu */
  #menu-toggle {
    display: none;
  }
  
  .mobile-menu {
    display: block;
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    transition: left var(--transition-speed);
    padding: var(--spacing-md);
    z-index: 999;
    overflow-y: auto;
  }
  
  #menu-toggle:checked ~ .mobile-menu {
    left: 0;
  }
  
  .mobile-menu-list {
    list-style: none;
  }
  
  .mobile-menu-list li {
    margin-bottom: var(--spacing-md);
  }
  
  .mobile-menu-list a {
    font-size: 1.2rem;
    display: block;
    padding: var(--spacing-xs) 0;
    font-weight: 600;
  }
  
  /* Section adjustments */
  .about-container {
    flex-direction: column;
  }
  
  .about-image,
  .about-content {
    flex: 1 1 100%;
  }
  
  .services-grid {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (up to 767px) */
@media screen and (max-width: 767px) {
  /* Global adjustments */
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.6rem;
    --font-size-h3: 1.2rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  /* Hero adjustments */
  .hero-container {
    padding: var(--spacing-lg) 0;
  }
  
  .hero h1 {
    margin-bottom: var(--spacing-sm);
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
  }
  
  /* Benefits adjustments */
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  /* Footer adjustments */
  .footer-container {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .footer-column {
    min-width: 100%;
  }
  
  /* Form adjustments */
  .form-container {
    padding: var(--spacing-md);
  }
}

/* Large Desktop (1441px and above) */
@media screen and (min-width: 1441px) {
  :root {
    --font-size-h1: 3rem;
    --font-size-h2: 2.5rem;
    --font-size-h3: 1.8rem;
  }
  
  .container {
    max-width: 1400px;
  }
}
