/* POPGIDA Mobile Overrides */

/* Default: hide toggle on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 1.2rem;
}

/* Buttons: touch-friendly */
.btn { 
  min-height: 48px; 
  padding: 1rem 2rem;
  font-size: 1rem;
}

.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
}

/* Use dynamic viewport height on modern mobile */
.hero { min-height: 100svh; }

/* Tablet/mobile */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .header .container { 
    flex-direction: row; 
    justify-content: space-between;
    align-items: center;
    gap: 1rem; 
    padding: 0.8rem 20px; 
  }
  
  .logo img {
    max-height: 50px !important;
    height: 50px !important;
  }

  /* Mobile nav behavior */
  .menu-toggle { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 1.5rem; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 1.5rem; align-items: center; }
  .language-selector { justify-content: center; }

  /* Hero adjustments */
  .hero { padding: 7rem 1rem 5rem; }
  .hero h1 { font-size: 2.5rem !important; line-height: 1.2; }
  .hero h2 { font-size: 1.2rem !important; }
  .hero-description { font-size: 1rem !important; }
  h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .hero-buttons { flex-direction: column; align-items: center; gap: 1rem; }

  /* Stats stack */
  .hero-stats { flex-direction: column; gap: 2rem; padding: 2rem 1rem; margin-top: 3rem; }
  .stat-divider { width: 60px; height: 1px; background: linear-gradient(to right, transparent, var(--accent-gold), transparent); }
  .stat-number { font-size: 2.5rem; }

  /* Form inputs touch-friendly */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    min-height: 48px !important;
    font-size: 16px !important; /* Prevents zoom on iOS */
  }
  
  /* Service cards */
  .service-card {
    padding: 2rem 1.5rem !important;
  }
  
  .service-card h3 {
    font-size: 1.3rem !important;
  }
  
  .service-card p {
    font-size: 0.95rem !important;
  }
  
  /* Contact section */
  .contact-item {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  
  .contact-icon {
    font-size: 1.5rem !important;
  }

  /* Sections spacing */
  .services, .about, .contact { padding: 5rem 0; }
  .services-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-content { grid-template-columns: 1fr; gap: 3rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .about-features { grid-template-columns: 1fr; gap: 2rem; }
}

/* Small phones */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  
  .hero h1 { font-size: 2rem !important; }
  .hero h2 { font-size: 1rem !important; }
  
  .stat-number { font-size: 2rem !important; }
  .stat-label { font-size: 0.8rem !important; }
  
  .service-card {
    padding: 1.5rem 1rem !important;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .social-links {
    justify-content: center !important;
  }
  .service-card, .contact-cta { padding: 2rem 1.5rem; }
  .hero-stats { gap: 1.5rem; }
}
