

form{
    text-align: left;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 20px;
    border: none;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

form label{
    margin-bottom: 0.5rem;
    font-weight: bold;
}

form input{
    margin-bottom: 1rem;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}
form input [type="submit"]{
     background-color: black;
     font-size: 12px; 
     color:rgb(0, 0, 0); 
     padding-top: 5px; 
     padding-bottom: 5px; 
     padding-left: 39px; 
     padding-right: 39px; 
     margin-bottom: 10px; 
     border: none; 
     border-radius: 20px; 
     text-align: left; 
     transition: 0.25s;}

form input[type="submit"]:hover {
background-color:#fff;
color: black;
}

header { 
    background-color: #500000;
    color: white; 
    padding: 10px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: relative; 
} 

header img {
    max-height: 80px;
    width: auto;
}

div {
    height: 100px;
    display: flex;
    align-items: center;
    gap: 600px;
}

 
.menu-hamburguesa { 
    font-size: 30px; 
    cursor: pointer; 
} 
 
nav { 
    display: flex;
    gap: 40px;
} 

a{
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    color: black;
    font-size: 15px;
    border: 2px solid transparent;
    padding: 5px;
    transition: .4s ease;
}

a:hover{
    color: red;
}
 
nav.hidden { 
    display: none; 
} 
 
nav ul { 
    list-style-type: none; 
    padding-left: 0; 
} 
 
nav ul li { 
    margin-bottom: 10px; 
} 
 
nav ul li a { 
    color: white; 
    text-decoration: none; 
} 
 
.dropdown { 
    position: relative; 
} 
 
.dropdown-content { 
    display: none; 
    position: absolute; 
    background-color: #500000; 
    min-width: 150px; 
    padding: 10px; 
    z-index: 1; 
} 
 
.dropdown-content li { 
    margin-bottom: 5px; 
} 
 
.dropdown:hover .dropdown-content { 
    display: block; 
}



/* Carrusel */
.carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%;
    transition: left 0.5s ease;
    opacity: 0;
    object-fit: cover;
}

.carousel-image.active {
    left: 0;
    opacity: 1;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#prevBtn {
    left: 0;
    border-radius: 0 5px 5px 0;
}

#nextBtn {
    right: 0;
    border-radius: 5px 0 0 5px;
} 

footer {
    background-color: #500000;
    color:#fff;
    text-align: center;
    padding: 1rem 0;
}

footer p {
    font-size: 0.9rem;
}

@media (min-width: 768px) { 
    nav { 
        display: flex; 
        justify-content: space-between; 
    } 
 
    nav ul { 
        display: flex; 
    } 
 
    nav ul li { 
        margin-left: 20px; 
    } 
 
    .dropdown-content { 
        position: static; 
        display: none; 
        background-color: transparent; 
    } 
 
    .dropdown:hover .dropdown-content { 
        display: block; 
        position: absolute; 
        background-color: #555; 
    } 
 
    .menu-hamburguesa { 
        display: none; 
    } 
 
    nav.hidden { 
        display: block; 
    } 
} 
 
@media (max-width: 767px) { 
    .carousel-images img { 
        max-height: 300px;
    }
   
    .prev, .next { 
        display: none; 
    } 
}
/* Selección específica para la imagen de "Sobre nosotros" */
#Sobre\ nosotros + p + img {
    display: block;
    max-width: 30% ; 
    height: auto; 
    margin: 1rem auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}


/* Elementos del menú */
.menu-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-bottom: 1px solid #ccc;
    gap: 1rem;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item .info {
    margin-left: 1rem;
}

.menu-item h3 {
    color: #aa2424; /* Rojo oscuro visible */
    margin: 0;
    font-size: 1.5rem;
}

.menu-item p {
    font-size: 1rem;
    color: #555;
}


