body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.header {
    background: #333;
    color: #fff;
    padding: 10px 0;
}

.header .logo h1 {
    margin: 0;
    font-size: 24px;
    text-align: center;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.hero {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    color: #000;  /* Color predeterminado para el texto */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('hero-bg.jpg') no-repeat center center/cover;
    opacity: 0.5; /* Aplica opacidad solo a la imagen de fondo */
    filter: brightness(1.3); /* Incrementa el brillo de la imagen */
    z-index: -1; /* Asegura que la imagen de fondo quede detrás del texto */
}

.hero .container {
    position: relative;
    z-index: 1; /* Asegura que el contenido se muestre encima de la imagen */
}

.hero h2 {
    font-size: 2.5em;
    margin: 10px 0;
}

.hero p {
    font-size: 1.2em;
}


.btn-primary {
    display: inline-block;
    background: #007BFF;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.about, .services, .projects, .contact {
    padding: 50px 20px;
    text-align: center;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.card {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
    width: 30%;
}

.project-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.project-item {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
    width: 30%;
}

.contact form {
    max-width: 500px;
    margin: auto;
    text-align: left;
}

.contact form label {
    display: block;
    margin-top: 10px;
}

.contact form input, .contact form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}
