body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header .logo {
    position: absolute;
    top: 10px;
    left: 10px;
}

header .logo img {
    width: 60px;
    height: auto;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 1rem 0 0 0;
}

header nav ul li {
    margin: 0 1rem;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

header nav ul li a:hover {
    background-color: #e74c3c;
    transform: scale(1.1);
}

.hero {
    background: url('ruta/de/tu/imagen_hero.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-text {
    background-color: rgba(44, 62, 80, 0.8);
    padding: 2rem;
    border-radius: 10px;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
}

.hero-text p {
    font-size: 1.2rem;
    margin: 0 0 1.5rem 0;
}

.hero-text:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn {
    background-color: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #c0392b;
    transform: scale(1.1);
}

.section {
    padding: 2rem 0;
    text-align: center;
}

.about {
    background-color: #ecf0f1;
}

.about p {
    text-align: justify;
}

.services {
    background-color: #fff;
}

.services-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service {
    background-color: #f9f9f9;
    padding: 1rem;
    margin: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 30%;
    min-width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact {
    background-color: #ecf0f1;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.social-media a img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-media a:hover img {
    transform: scale(1.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    header .logo {
        position: static;
        margin-bottom: 1rem;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 0.5rem 0;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero img {
        max-width: 80%;
    }

    .services-grid {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 80%;
    }
}