/**
 * Language-specific styles for AskZipp
 * This file contains styling that changes based on the active language
 */

/* Base language settings */
html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  }
  
  /* Language-specific font adjustments */
  html[data-lang="en"] {
    --font-size-base: 1rem;
    --line-height-base: 1.5;
    --font-weight-headings: 700;
  }
  
  html[data-lang="nl"] {
    --font-size-base: 1rem;  /* Dutch sometimes needs slightly more space */
    --line-height-base: 1.55;
    --font-weight-headings: 700;
  }
  
  /* Apply language variables */
  body {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-headings);
  }
  
  /* Language switcher styling */
  .language-switcher-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  /* Hide mobile language switcher on desktop */
  @media (min-width: 992px) {
    .language-switcher-container {
      display: none;
    }
  }
  
  /* Navbar language switcher */
  .navbar-language-switcher {
    display: flex;
    align-items: center;
  }
  
  .lang-link {
    padding: 5px 8px;
    text-decoration: none;
    font-weight: 500;
    color: #333;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }
  
  .lang-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #000;
  }
  
  .lang-link.active {
    font-weight: 700;
    color: #0d6efd;
  }
  
  .lang-separator {
    margin: 0 2px;
    color: #ccc;
  }
  
  /* Dutch-specific adjustments for pricing cards */
  html[data-lang="nl"] .pricing-card .card-title {
    font-size: 1.4rem; /* Slightly smaller font for Dutch titles which can be longer */
  }
  
  /* Pricing feature list spacing adjustment for Dutch */
  html[data-lang="nl"] .pricing-card ul li {
    padding: 5px 0;
  }
  
  /* Minor adjustments for hero section in Dutch */
  html[data-lang="nl"] .hero-content-1 h1 {
    margin-bottom: 1.5rem; /* Extra space for potentially longer Dutch headings */
  }
  
  /* Footer adjustments */
  html[data-lang="nl"] footer p {
    font-size: 0.9rem; /* Dutch text in footer can be a bit longer */
  }
  
  /* Contact form adjustments */
  html[data-lang="nl"] #contact label {
    margin-bottom: 0.4rem; /* Dutch form labels might be longer */
  }
  
  /* Responsive adjustments for different languages */
  @media (max-width: 768px) {
    html[data-lang="nl"] .hero-content-1 h1 {
      font-size: 1.7rem; /* Dutch headings on mobile may need size adjustment */
    }
    
    html[data-lang="nl"] .pricing-card h2.price {
      font-size: 1.6rem;
    }
  }