/* style.css - Estilos personalizados para VIN Decoder Vehicle */

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #e0f2fe 0%, #bbf7d0 100%);
}

.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

input, select, textarea, button {
    font-family: inherit;
}

/* Personalización de scrollbars */
::-webkit-scrollbar {
    width: 8px;
    background: #e0f2fe;
}
::-webkit-scrollbar-thumb {
    background: #bbf7d0;
    border-radius: 4px;
}

/* Mejoras para testimonios */
.testimonial {
    border-left: 4px solid #16a34a;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    border-top: 1px solid #bbf7d0;
}

/* Dropdown de idioma responsivo */
#lang-dropdown-btn {
  min-width: 44px;
  min-height: 44px;
}
#lang-dropdown-menu {
  min-width: 140px;
}
@media (max-width: 640px) {
  #lang-dropdown-menu {
    left: 0 !important;
    right: auto !important;
    width: 100vw;
    min-width: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  #lang-dropdown-menu a {
    font-size: 1.15rem;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
  #lang-dropdown-btn span {
    font-size: 1.1rem;
  }
  #lang-dropdown-btn img {
    width: 24px;
    height: 18px;
  }
}

/* Sidebar menú móvil SOLO en móviles */
@media (max-width: 767px) {
  #nav-menu.fixed {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    box-shadow: -2px 0 16px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  }
  #nav-menu.open {
    transform: translateX(0);
  }
  #nav-menu.closed {
    transform: translateX(100%);
  }
  #nav-close {
    display: block;
  }
  #nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    z-index: 999;
  }
  #nav-overlay.active {
    display: block;
  }
}
@media (min-width: 768px) {
  #nav-menu {
    position: static !important;
    height: auto !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
    border: 0 !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
  }
  #nav-close {
    display: none !important;
  }
  #nav-overlay {
    display: none !important;
  }
} 