@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

/* Reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #000000;
  color: #EF8A0F;
  line-height: 1.6;
}

/* HEADER */
header {
  background-color: #000000;
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}

header nav a {
  color: #EF8A0F;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

header nav a:hover,
header nav a:focus {
  color: #EF8A0F;
}

/* HERO */
.hero {
  text-align: center;
  padding: 80px 20px;
  background-color: #EF8A0F;
}

.hero h1 {
  font-size: 2.8rem;
  color: #EF8A0F;
  background-color: #000000;
  margin-bottom: 10px;
}

.hero p {
  color: #EF8A0F;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Input de búsqueda grande */
.search-container {
  background-color: #EF8A0F;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-container input {
  width: 100%;
  padding: 20px 25px;
  font-size: 1.4rem;
  border: none;
  border-radius: 10px;
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease, transform 0.1s ease;
}

.search-container input:focus {
  box-shadow: 0 4px 15px rgba(0, 74, 173, 0.5);
  transform: scale(1.01);
}

/* RESULTADOS */
#result {
  max-width: 700px;
  margin: 50px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
  min-height: 120px;
}

#result p {
  margin: 10px 0;
}

#result .success {
  color: #1c7c2f;
  font-weight: 600;
}

#result .error {
  color: #d9534f;
  font-weight: 600;
}

/* Botones dentro de resultados */
#result .btn {
  display: inline-block;
  margin: 12px 8px;
  padding: 12px 25px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #EF8A0F, #f1ae5c);
  color: #ffffff;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.05s ease;
}

#result .btn:hover {
  background: linear-gradient(135deg, #EF8A0F, #f1ae5c);
}

#result .btn:active {
  transform: scale(0.97);
}

/* Sugerencias */
.suggestions {
  max-width: 700px;
  margin: 20px auto;
  text-align: center;
}

.suggestions h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #004aad;
}

.sug-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.sug-item {
  background: #ffffff;
  color: #004aad;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.sug-item:hover {
  background: #EF8A0F;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  margin-top: 50px;
  font-size: 0.9rem;
  color: #777;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  header {
    padding: 15px 20px;
  }
  header nav a {
    margin: 0 8px;
  }
  .hero {
    padding: 60px 15px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  #result {
    margin: 30px 15px;
    padding: 15px;
  }
}
