/* Responsive Design */

/* Tablet */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  /* Top Bar */
  .top-bar .container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .top-bar-left,
  .top-bar-right {
    gap: 1rem;
  }

  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    z-index: 999;
  }

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

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--bg-section);
    margin-top: 1rem;
    border: none;
  }

  /* Hero Section */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-gallery {
    grid-template-columns: repeat(3, 1fr);
    height: 300px;
  }

  .hero-form {
    order: -1;
  }

  /* Main Content */
  .main-title {
    font-size: 2rem;
  }

  .main-description {
    font-size: 1.1rem;
  }

  /* Categories */
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .category-card {
    padding: 1.5rem;
  }

  .category-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-card {
    padding: 2rem 1.5rem;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* CTA */
  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  /* Contact Widget */
  .contact-widget {
    bottom: 1rem;
    right: 1rem;
  }

  .widget-toggle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  /* Top Bar */
  .top-bar {
    font-size: 0.8rem;
  }

  .top-bar-left,
  .top-bar-right {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Hero */
  .hero-gallery {
    grid-template-columns: repeat(2, 1fr);
    height: 250px;
  }

  .hero-form {
    padding: 1.5rem;
  }

  /* Main Content */
  .main-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* Categories */
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    padding: 1.5rem 1rem;
  }

  /* Benefits */
  .benefit-card {
    padding: 1.5rem 1rem;
  }

  .benefit-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  /* CTA */
  .cta-content h2 {
    font-size: 1.6rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
}

/* Large Screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }

  .hero-content {
    grid-template-columns: 1fr 450px;
  }

  .main-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

/* Print Styles */
@media print {
  .top-bar,
  .contact-widget,
  .nav-toggle {
    display: none;
  }

  .hero-form {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .cta-btn {
    display: none;
  }
}

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

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --shadow-light: 0 2px 15px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
  }
}
