body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #121212;
}
h1.formtext{
    color:#121212;
    font-size:18px;
}
h2.formtext{
    font-size:25px;
    text-align:center;
    padding:70px;
}
/* Estilo para el botón Ok */
.btn-black {
    background-color: black !important;
    color: white !important;
    border: none;
}
.btn-black:hover {
    background-color: #333 !important;
}

nav {
background-color: #121212;
position: fixed;
top: -10px;
width: 100%;
padding: 0 20px; /* Eliminamos el padding superior e inferior */
z-index: 1000;
display: flex;
justify-content: space-between;
align-items: center;
}

.logo img {
height: 150px; /* Ajusta el tamaño del logo */
max-height: 100%; /* Asegura que no se salga del navbar */
margin-top:-35px;
margin-bottom:-75px;
}

p.logo{
color:#ecda1f;
margin-top: 16px;
}



.navbar-links {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0px 35px 0px 0px;
}

.navbar-links li {
    padding: 8px 15px;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
}

/* Estilos para el menú en pantallas pequeñas */
@media (max-width: 768px) {
    .navbar-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color:#121212;
        position: absolute;
        top: 90px;
        left: 0;
        padding: 10px 0;
        
    }

    .navbar-links.show {
        display: flex;
        background-color: #121212d6;
        backdrop-filter: blur(10px);
    }

    .burger {
        display: block;
        margin-right: 35px;
    }
}

/* Estilos globales de las secciones*/
section {
    padding: 80px 20px; /* Más espacio superior para que no se superponga con el navbar */
    text-align: center;
    color:white;
}

section#home {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), #121212), url(https://www.shutterbug.com/images/photo_post/%5Buid%5D/D50_7702%20sm.jpg);
    object-fit: contain;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 115vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 20px;
}


section#home .content{
    text-align: left;
    top: -75px;
    position: relative;
}

.formbtn{
    text-align:center;
    margin-top: 100px;
}
a.btn-action{
    background-color:#ac1b1b;
    transition: background-color 0.3s ease; /* Transición para el cambio de color */
    color: white;
    padding:20px;
    border-radius: 5px;
    text-decoration:none;
}

a.btn-action:hover{
    background-color: #45a049;
}

section#request{
    background-color: #121212;
}

form{
    background:#ffff;
    padding:10px;
    border-radius:4px;
}

.form{
    display: flex;
    justify-content: center;
}

.about{
    background:#ac1b1b;
    width: 40%;
    display: flex;
    align-items: center;
    border-radius:8px;
}

form img{
    height: auto;
    width: 300px;
}


/* Estilos para el menú en pantallas pequeñas */
@media (max-width: 768px) {
    .form{
    display: flex;
    flex-direction: column-reverse;
}

.about{
    background:#ac1b1b;
    width: 100%;
    border-radius:4px;
}

form img{
    height: auto;
    width: 300px;
}


}


label {
    font-size: 14px;
    color: #000;
    margin-bottom: 5px;
    display: block;
    text-align:justify;
}  

input[type="text"],
input[type="number"]{
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}
 
select#vehicle-type{
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.boton-estilizado {
    background-color:#ac1b1b; /* Color de fondo */
    color: white; /* Color del texto */
    border: none; /* Sin borde */
    padding:20px; /* Espaciado interno */
    text-align: center; /* Alineación del texto */
    text-decoration: none; /* Sin subrayado */
    display: inline-block; /* Muestra el botón en línea */
    font-size: 16px; /* Tamaño del texto */
    cursor: pointer; /* Cursor de mano al pasar por encima */
    border-radius: 5px; /* Bordes redondeados */
    transition: background-color 0.3s ease; /* Transición para el cambio de color */
    width:100%;
}

.boton-estilizado:hover {
    background-color: #45a049; /* Color de fondo cuando pasa el ratón */
}

section#services{
    background:#121212;
}

.circles{
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 70px;
    justify-content: space-evenly;
}
.circle img{
    width: 200px;
    border-radius: 300px;
    height: 200px;
}

.num h1{
    color:white;
}

.desc h1{
    color:white;
}

.cars{
    display: flex;
    align-content: flex-end;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 100px;
    flex-wrap: wrap;
}

section#testimonial{
    background:#121212;
}

.cards{
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.card{
    background:#ac1b1b;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-content: space-between;
    width: 250px;
    padding: 25px;
    border-radius: 8px;
}

img.mstg{
    width: 50%;
}

section#location{
    height:100vh;
    background-image: linear-gradient(
0deg,
hsl(0deg 6% 13%) 0%,
hsl(0deg 6% 12%) 7%,
hsl(0deg 6% 12%) 14%,
hsl(0deg 5% 11%) 21%,
hsl(0deg 5% 11%) 29%,
hsl(0deg 5% 11%) 36%,
hsl(0deg 4% 10%) 43%,
hsl(0deg 4% 10%) 50%,
hsl(0deg 3% 10%) 57%,
hsl(0deg 3% 9%) 64%,
hsl(0deg 3% 9%) 71%,
hsl(0deg 2% 8%) 79%,
hsl(0deg 2% 8%) 86%,
hsl(0deg 1% 8%) 93%,
hsl(0deg 0% 7%) 100%);
}

/* Estilos ajustados para la pestaña emergente */
.popup-message {
    background-color: #ac1b1b;
    color: #ffffff;
    font-size: 18px;
    padding: 10px 20px;
    text-align: center;
    width: 100%;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    margin-top: 84px;
    overflow: hidden;
    max-height: 200px;
    opacity: 1;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    position: fixed;
}

/* Cuando está cerrada */
.popup-message.closed {
    max-height: 0;
    opacity: 0;
    padding: 0 20px;
}

/* Estilo de los textos */
.popup-message span {
    font-weight: bold;
}

/* Botón de cierre */
.popup-message .close-btn {
    cursor: pointer;
    font-size: 15px;
    padding: 2px 6px;
    background-color: #000000;
    color: white;
    border-radius: 4px;
}

footer{
    text-align:center;
    padding:20px;
    background:#221e1e;
}
a.social{
    color:white;
    text-decoration:none;
}

/* Estilos para los botones sticky */
.sticky-buttons {
position: fixed;
bottom: 20px;
right: 20px; /* Cambiado a la derecha */
display: flex;
gap: 15px;
z-index: 9999;
text-decoration: none;
}

/* Estilo para el botón de WhatsApp */
.whatsapp-btn, .call-btn {
text-decoration: none;
font-size: 25px;
color:white;
width: 60px;
height: 60px;
border-radius: 50%;
background-color:#45a049; /* Color verde de WhatsApp */
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
cursor: pointer;
transition: background-color 0.3s ease;
}

.whatsapp-btn:hover, .call-btn:hover {
background-color: #128C7E; /* Color más oscuro de WhatsApp */
}

.whatsapp-btn img, .call-btn img {
width: 35px;
height: 35px;
}

/* Estilo para el botón de llamada */
.call-btn {
background-color:#1f90e8; /* Color de llamada */
}

.call-btn:hover {
background-color: #007B8A;
}

a.whatsapp-btn{
    text-decoration: none;
}
a.call-btn{
    text-decoration: none;
}

/* Contenedor del formulario */
.login-container, .register-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

/* Estilos de los campos del formulario */
.form-group {
    margin-bottom: 15px;
}

input[type="email"], input[type="password"] {
    width: 95%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

input[type="email"]:focus, input[type="password"]:focus {
    border-color: #ac1b1b;
    outline: none;
}

/* Botón de enviar */
button {
    width: 100%;
    padding: 20px;
    background-color: #ac1b1b;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}


a:hover {
    text-decoration: underline;
}

/* Estilos generales de los formularios */
form .login {
    display: flex;
    flex-direction: column;
}

/* Contenedor general de la sección */
#request1 {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  background: #fff; /* puedes cambiarlo si tu body ya tiene fondo */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-top: 180px;
}

/* Título */
#request1 h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: #333;
}

/* Formulario */
.form1 form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Grupo de inputs */
.form-group1 {
  display: flex;
  flex-direction: column;
}

.form-group1 label {
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: #555;
}

/* Campos de texto */
.form-group1 input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group1 input:focus {
  border-color:#ac1b1b;
  outline: none;
}

/* Botón */
#request1 button {
  padding: 12px;
  background:#ac1b1b;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

#request1 button:hover {
  background: #45a049;
  text-decoration:none;
}

/* Mensaje de error */
.error-message {
  font-size: 0.9rem;
  padding: 8px;
  background: #ffe6e6;
  border: 1px solid #ff4d4d;
  border-radius: 6px;
}

/* Responsividad */
@media (max-width: 480px) {
  #request1 {
    margin: 20px;
    padding: 15px;
    margin-top:140px;
  }

  #request1 h2 {
    font-size: 1.3rem;
  }

  .form-group1 input,
  #request1 button {
    font-size: 0.95rem;
    padding: 10px;
  }
}

/* Estilos para el formulario de búsqueda */
.search-form {
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.search-input {
    width: 300px; /* más compacto */
    border-radius: 20px;
    padding: 6px 12px;
    border: 1px solid #555;
    background-color: #1e1e1e;
    color: #fff;
}

.search-input::placeholder {
    color: #aaa;
}

.search-btn, .clear-btn {
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
}

.search-btn:hover {
    background-color: #0d6efd;
    color: #fff;
}

.clear-btn {
    background-color: #6c757d;
    color: #fff;
}

.clear-btn:hover {
    background-color: #5a6268;
}


