/* Mobile First - Responsive Design */

/* Tablet and below */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    padding: 0;
  }

  h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  h2 {
    font-size: 1.5rem;
  }

  /* Header image */
  .header-image {
    margin-top: 10px;
  }

  .header-image img {
    max-width: 100%;
    height: auto;
  }

  /* Language switcher - mobile positioning */
  .language-switcher {
    top: 10px;
    right: 10px;
  }

  .language-toggle {
    padding: 6px 10px;
  }

  .globe-icon {
    width: 18px;
    height: 18px;
  }

  /* Navigation - stack vertically on mobile */
  nav {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .menu {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .menu a {
    padding: 14px 20px;
    margin: 0;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    text-align: center;
  }

  .menu a:last-child {
    border-bottom: none;
  }

  /* Content spacing */
  main {
    padding: 1rem;
  }

  /* Two column layouts - stack on mobile */
  .two-column {
    flex-direction: column;
  }

  .two-column .text,
  .two-column .image {
    width: 100%;
    padding: 0;
  }

  .two-column .image {
    margin-top: 1.5rem;
  }

  /* Services grid - single column */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Contact form */
  .contact-container {
    flex-direction: column;
  }

  .contact-left,
  .contact-form {
    width: 100%;
  }

  /* About section */
  .about-section {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    width: 100%;
  }

  /* Footer */
  footer {
    padding: 1.5rem 1rem;
    font-size: 13px;
  }

  footer p {
    line-height: 1.8;
  }
}

/* Small mobile phones */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .language-toggle {
    padding: 5px 8px;
  }

  .menu a {
    font-size: 15px;
    padding: 12px 16px;
  }

  /* Reduce padding on small screens */
  main {
    padding: 0.75rem;
  }

  /* Images responsive */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Landscape mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
  nav {
    flex-direction: row;
  }

  .menu {
    flex-direction: row;
    justify-content: center;
  }

  .menu a {
    border-bottom: none;
    border-right: 1px solid #f0f0f0;
    padding: 10px 16px;
  }

  .menu a:last-child {
    border-right: none;
  }
}

/* Print styles */
@media print {
  .language-switcher,
  nav {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}