/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Cuerpo de la página */
body {
    font-family: 'Arial', sans-serif;
    background-image: url('https://media.istockphoto.com/id/1218341272/fr/photo/delivery-man-donne-un-colis-postal-%C3%A0-un-client-daffaires-qui-signe-un-appareil-pod-signature.jpg?s=612x612&w=0&k=20&c=PKd_QS7X7MCRqXdiqQGUCWuOxPP9TwegL-DhMk0C8wA='); /* Imagen de fondo */
    background-size: cover;   /* Cubre todo el fondo */
    background-position: center; /* Centra la imagen */
    background-attachment: fixed; /* Fija la imagen mientras haces scroll */
    color: #333;
    margin: 0;
    padding-top: 80px; /* Espacio para el header fijo */
}

/* Header */
header {
    background-color: rgba(0, 79, 125, 0.8); /* Fondo oscuro semi-transparente */
    color: white;
    padding: 20px 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header .logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    padding: 10px 0;
}

header nav ul li {
    display: inline;
    margin: 0 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #f78d3d;
}

/* Hero Section */
#hero {
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro semi-transparente */
    color: white;
    height: 100vh; /* La altura es el 100% de la ventana */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

#hero .hero-content {
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro transparente para mejorar la legibilidad */
}

#hero .hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#hero .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

#hero .hero-content button {
    background-color: #f78d3d;
    border: none;
    padding: 15px 30px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#hero .hero-content button:hover {
    background-color: #f55b27;
}

/* Servicios Section */
#servicios, #unidades, #contacto {
    padding: 60px 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro semi-transparente */
    border-radius: 10px;
    margin-bottom: 20px;
}

#servicios h2, #unidades h2, #contacto h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.servicios-list, .unidades-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.servicio, .unidad {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    width: 280px;
    transition: transform 0.3s ease;
}

.servicio:hover, .unidad:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.servicio h3, .unidad h3 {
    font-size: 1.8rem;
    color: #004f7d;
}

.servicio p, .unidad p {
    font-size: 1rem;
    color: #555;
}

/* Formulario de contacto */
form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

form input, form textarea {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    background-color: #004f7d;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #f78d3d;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 15px;
    text-align: center;
    margin-top: 60px;
}

/* Efectos responsivos */
@media (max-width: 768px) {
    .servicios-list, .unidades-list {
        flex-direction: column;
    }
}