/* styles.css */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #004d40;
    padding: 10px 20px;
}

.logo-container img {
    max-width: 150px;
}

nav {
    display: flex;
    align-items: center; /* Alinea verticalmente el menú */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header .login-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .login-form input {
    padding: 5px;
    font-size: 14px;
    width: 100px;
}

header .login-form button {
    padding: 5px 10px;
    background-color: #003d33; /* Verde más oscuro */
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

header .login-form button:hover {
    background-color: #002d24; /* Verde aún más oscuro */
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0f2f1;
    padding: 10px 5px;
}

.hero-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
}

.hero-content {
    flex: 70%;
    padding: 20px;
    background-size: 80% 150%;
    background-repeat: no-repeat;
    background-position: left;
    color: white;
    text-align: center;
}

.promo-content {
    flex: 30%;
    padding: 20px;
    background-color: #004d40;
    color: white;
    text-align: center;
}

/*
.hero {
    background: url('img/fondo1.png') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 10px 10px;
}
.heros {
    background-color: #c8e6c9;
    padding: 40px 20px;
}
.heros-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hero-content {
    width:1200px;
    height:400px;
    
    margin: 0 auto;
}
*/
.cta {
    background-color: #004d40;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}

.slider {
    position: relative;
    overflow: hidden;
    max-height: 400px; /* Ajusta la altura máxima según sea necesario */
    width: 100%; /* Asegura que el slider ocupe todo el ancho del contenedor */
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
    height: 100%; /* Ocupa toda la altura del slider */
}

.slide img {
    width: 100%;
    height: 100%; /* Ajusta automáticamente la altura */
    object-fit: cover; /* Mantiene la proporción de aspecto y recorta si es necesario */
}

.slide-description {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
}

.value-proposition {
    padding: 40px 20px;
    background-color: #e0f2f1;
    text-align: center;
}

.services {
    background-color: #c8e6c9;
    padding: 40px 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-item {
    background-color: #a5d6a7;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
}

.contact {
    padding: 40px 20px;
    background-color: #a5d6a7;
    text-align: center;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact label {
    display: block;
    margin: 10px 0 5px;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact button {
    background-color: #004d40;
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    display: block;
    width: 100%;
    margin: 20px 0 0;
}

footer {
    background-color: #004d40;
    color: white;
    padding: 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    margin-bottom: 20px;
}

.social-media a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.map {
    flex: 1;
    margin: 20px 0;
}

.main-container {
    display: flex;
}

aside.sections {
    width: 20%;
    background-color: #e0f2f1; /* Fondo claro */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto; /* Ajuste de altura automático */
}

.sections h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.sections-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sections-grid a {
    background-color: transparent;
    color: #004d40; /* Verde oscuro */
    padding: 10px 15px;
    text-decoration: none;
    border-bottom: 1px solid #004d40; /* Verde oscuro */
    text-align: left;
    transition: color 0.3s;
}

.sections-grid a:hover {
    color: #00796b; /* Verde más claro */
}

main {
    width: 80%;
    padding: 20px;
    box-sizing: border-box;
}
