/* Reset básico */
/*##########################################################*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #F0F0F0;
  color: #333;
}
/*##########################################################*/

/* Estilo del encabezado */
/*##########################################################*/
header {
  background-color: #004080;
  padding: 20px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.logo h1 {
  font-size: 32px;
  color: white;
}
/*##########################################################*/

/* Navegación */
/*##########################################################*/
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  color: #FFA500;
}
/*##########################################################*/

/* Botón de Login */
/*##########################################################*/
.btn-login {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px; /* Asegurar la altura similar a otros enlaces */
}

.btn-login:hover {
  background: linear-gradient(135deg, #0056b3, #003d80);
  transform: scale(1.05);
}
/*##########################################################*/


/* Secciones */
/*##########################################################*/
.section {
  padding: 20px 20px;
  text-align: center;
  background-color: white;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 1000px;
}

.section p {
  margin: 4px 0;
  line-height: 1.3;
}

.section-img {
  margin-top: 20px;
  width: 80%;
  max-width: 600px;
  margin-bottom: 20px;
  border-radius: 10px;
}

h2 {
  margin-bottom: 20px;
  color: #004080;
}
/*##########################################################*/

/* Botones de Redes Sociales */
/*##########################################################*/
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-buttons a {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s;
}

.social-buttons a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-buttons a:hover {
  transform: scale(1.1);
}
/*##########################################################*/

/* Horarios de Atención */
/*##########################################################*/
.business-hours {
  margin-top: 40px;
  background-color: #F9F9F9;
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
}

.business-hours h3 {
  color: #004080;
}
/*##########################################################*/

/* Banner */
/*##########################################################*/
.banner {
  position: relative;
  text-align: center;
  color: white;
}

.banner-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(0.7);
}

.banner h1 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
}

.banner p {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}
/*##########################################################*/


/* Estilos de la sección de servicios */
/*##########################################################*/
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-item {
  background-color: #F0F0F0;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-item img {
  width: 80px;
  height: 80px;
}

.service-item p {
  margin-top: 10px;
  font-weight: bold;
  color: #004080;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
/*##########################################################*/

/* Estilo para el formulario de login */
/*##########################################################*/
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #E5E5E5;
}

.login-card {
  background-color: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.login-card h2 {
  color: #004080;
  margin-bottom: 10px;
}

.login-card p {
  color: #555;
  margin-bottom: 20px;
}
/*##########################################################*/

/* Input Group */
/*##########################################################*/
.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.input-group input:focus {
  outline: none;
  border-color: #004080;
  box-shadow: 0 0 8px rgba(0, 64, 128, 0.2);
}
/*##########################################################*/

/* Mensaje de Error */
/*##########################################################*/
.error {
  color: red;
  margin-bottom: 20px;
}
/*##########################################################*/

/* Footer */
/*##########################################################*/
footer {
  background-color: #004080;
  color: white;
  text-align: center;
  padding: 20px 0;
}
/*##########################################################*/


/* Responsive Design para móviles y tablets */
/*##########################################################*/
@media screen and (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
  }

  .logo {
    margin-bottom: 15px;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
  }

  nav ul li {
    margin-left: 0;
    width: 100%;
  }

  nav ul li a {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
  }

  .btn-login {
    width: 100%;
    justify-content: center;
  }

  .banner-img {
    height: 250px;
  }

  .banner h1 {
    font-size: 2rem;
    top: 35%;
  }

  .banner p {
    font-size: 1.1rem;
    top: 50%;
  }

  .section {
    padding: 40px 15px;
  }

  .login-card {
    padding: 30px 20px;
  }

  .input-group input {
    font-size: 14px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }

  .service-item img {
    width: 60px;
    height: 60px;
  }

  .social-buttons a {
    width: 50px;
    height: 50px;
  }

  .business-hours {
    padding: 15px;
  }
}
/*##########################################################*/

.autos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.autos-header h2 {
  flex: 1;
  text-align: center;
  margin: 0;
}

.btn-save {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 20px;
}


