/* 
* Responsive Styles for domain.com
* Mobile-first approach with breakpoints for larger screens
*/

/* Base responsive grid already in style.css */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  section {
    padding: 50px 0;
  }
  
  .hero-section {
    min-height: 500px;
  }
  
  .form-container {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
  
  .form-info {
    text-align: center;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
  /* Mobile Menu */
  .menu-icon {
    display: block;
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
  }
  
  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 20px;
  }
  
  .main-nav ul li {
    margin: 0;
    padding: 10px 0;
    text-align: center;
  }
  
  .menu-toggle:checked ~ .main-nav {
    height: auto;
  }
  
  /* Section layouts */
  .about-content,
  .why-us-content {
    grid-template-columns: 1fr;
  }
  
  .about-values {
    grid-template-columns: 1fr;
  }
  
  .why-us-image {
    min-height: 300px;
    order: -1;
  }
  
  /* Pricing */
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .about-values {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 480px) {
  .logo {
    font-size: 2rem;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .hero-section p {
    font-size: 1.2rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Fix for footer sections centering on mobile */
@media (max-width: 768px) {
  .footer-contact,
  .footer-links {
    text-align: center;
  }
  
  .footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-links ul li {
    margin: 0 10px 10px;
  }
}

/* Landscape mode adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    height: auto;
    min-height: 400px;
    padding: 120px 0 60px;
  }
}

/* Print styles */
@media print {
  .site-header,
  .main-nav,
  .contact-form-section,
  .site-footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
  }
  
  a::after {
    content: " (" attr(href) ")";
  }
}
