/* Responsive Design - Mobile First Approach */

/* ===== Mobile (Default - up to 767px) ===== */

/* Mobile Navigation */
@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-top: var(--spacing-sm);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: var(--spacing-sm);
    text-align: left;
  }

  /* Hero Section - Mobile */
  .hero {
    padding: var(--spacing-2xl) 0;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-description {
    font-size: 15px;
  }

  /* Core Values - Mobile */
  .section-title {
    font-size: 24px;
  }

  .values-text {
    font-size: 15px;
  }

  /* Contact Section - Mobile */
  .contact-info {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  /* Footer - Mobile */
  .footer-text {
    font-size: 11px;
    line-height: 1.6;
  }
}

/* ===== Tablet (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Hide mobile menu toggle */
  .mobile-menu-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    background: transparent;
  }

  /* Hero Section - Tablet */
  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .section-title {
    font-size: 28px;
  }

  /* Contact Section - Tablet */
  .contact-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Desktop (1025px and up) ===== */
@media (min-width: 1025px) {
  /* Hide mobile menu toggle */
  .mobile-menu-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    background: transparent;
  }

  /* Header - Desktop */
  .logo img {
    max-height: 100px;
  }

  /* Hero Section - Desktop */
  .hero {
    padding: 6rem 0;
  }

  .hero-title {
    font-size: var(--font-size-hero);
  }

  .hero-subtitle {
    font-size: var(--font-size-2xl);
  }

  .hero-description {
    font-size: var(--font-size-lg);
  }

  /* Core Values - Desktop */
  .section-title {
    font-size: var(--font-size-3xl);
  }

  /* Contact Section - Desktop */
  .contact-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Large Desktop (1440px and up) ===== */
@media (min-width: 1440px) {
  .hero-title {
    font-size: 60px;
  }

  .section-title {
    font-size: 36px;
  }
}

/* ===== Print Styles ===== */
@media print {
  .site-header,
  .site-footer,
  .mobile-menu-toggle,
  .contact-form {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    text-decoration: underline;
  }

  .hero,
  .core-values,
  .contact {
    padding: 1rem 0;
  }
}

/* ===== High Contrast Mode Support ===== */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid var(--color-background);
  }

  .form-input:focus {
    border-width: 2px;
  }
}

/* ===== Reduced Motion Support ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Dark Mode Support (Optional - commented out by default) ===== */
/*
@media (prefers-color-scheme: dark) {
  :root {
    --color-text: #f7f7f8;
    --color-background: #1d1d22;
    --color-background-light: #2a2a2f;
    --color-border: #3a3a3f;
  }
}
*/
