/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

/* Tablets */
@media (max-width: 768px) {
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 3rem;
  }
  
  /* Navigation */
  nav {
    padding: var(--spacing-sm) var(--spacing-md);
  }
  
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    border-bottom: 1px solid var(--color-border);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .lang-selector {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
    justify-content: center;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
  
  /* Hero */
  .hero {
    padding: var(--spacing-lg) var(--spacing-md);
    min-height: 80vh;
  }
  
  /* Sections */
  section {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
  }
  
  .case-card {
    padding: var(--spacing-md);
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  :root {
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-logo {
    font-size: 2.5rem;
  }
  
  .hero-slogan {
    font-size: 1.25rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .about-content {
    font-size: 1rem;
  }
  
  .contact-cta {
    font-size: 1.25rem;
  }
  
  .contact-link {
    flex-direction: column;
    text-align: center;
  }
  
  .scroll-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}

/* Print Styles */
@media print {
  header,
  footer,
  .scroll-top,
  .mobile-menu-btn,
  .lang-selector {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero::before {
    display: none;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --color-border: #404040;
  }
  
  .case-card {
    border-width: 2px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero::before {
    animation: none;
  }
  
  html {
    scroll-behavior: auto;
  }
}
