:root {
    --color-dark-blue: #05194a;
    --color-medium-blue: #0833a2;
    --color-light-blue: #41d5f7;
    --color-white: #ffffff;
    --color-black: #000000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--color-black);
    line-height: 1.6;
    background-color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Hero Section */
.hero-section {
    background: linear-gradient(rgba(5, 25, 74, 0.7), rgba(8, 51, 162, 0.7)), url('images/unidades/unidad4.webp') no-repeat center center/cover;
    color: var(--color-white);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 30px;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-light-blue);
    color: var(--color-dark-blue);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #31b3e8;
}

/* Secciones de Contenido */
main section {
    padding: 80px 20px;
    text-align: center;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-dark-blue);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-light-blue);
}

#servicios {
    background-color: var(--color-white);
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-card {
    background-color: var(--color-medium-blue);
    color: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    max-width: 350px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-light-blue);
}

#empresa {
    background-color: #f4f4f4;
}

#contacto {
    background-color: var(--color-medium-blue);
    color: var(--color-white);
}

.contact-info p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.contact-info a {
    color: var(--color-light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--color-white);
}

/* Footer */
footer {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    text-align: center;
    padding: 20px;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    .service-card {
        max-width: 100%;
    }
}

/* Sección de la Flota */
#flota {
    background-color: var(--color-white);
    padding: 80px 20px;
}

.flota-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.flota-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.flota-gallery img:hover {
    transform: scale(1.03);
}

.flota-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-black);
}

/* Widget de WhatsApp (usando Font Awesome) */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    font-size: 35px;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}