.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('./../img/salong/salong1.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #ff5252;
}

.services {
    position: relative;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 5px rgba(255,255,255,0.2);
    transition: transform 0.3s;
    background-color: #fffffff2;;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 12rem;
    height: auto;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
}

.testimonials {
    background-color: #f9f9f9;
    padding: 5rem 2rem;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial {
    display: none;
    padding: 2rem;
}

.testimonial.active {
    display: block;
}

.testimonial p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
    color: #333;
}

.contact {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contactContent{
    display: flex;
}

.map-container {
    overflow: hidden;
    border-radius: 1rem;
    position: relative;
    width: 30%;
    /* max-width: 300px; */
    /* padding-bottom: 56.25%; Relación de aspecto 16:9 */
    height: auto;
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info {
    width: 70%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0rem 2rem;
}

.contact-card {
    padding: 2rem;
    border-radius: 10px;
    background-color: #f9f9f9;
    color: #787878 !important;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: #333;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contactContent{
        display: block;
    }
    .map-container {
        width: 88%;
        margin: 1rem auto 0px auto;
        height: 20rem;
    }
    .contact-info {
        width: 100%;
    }
}

