/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

/* ===========================
   HEADER
=========================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    max-height: 80px;
    width: auto;
    display: block;
}

/* NAV */
.navbar {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 50px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff7a7a, #ff0000);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ff3535;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ICONS */
.icons-wpp-maps {
    flex-shrink: 0;
    display: flex;
    gap: 15px;
    align-items: center;
}

.icons-wpp-maps a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.icons-wpp-maps a:first-child {
    width: 35px;
    height: 35px;
}

.icons-wpp-maps a:first-child img {
    width: 100%;
    height: 100%;
}

.icons-wpp-maps a:last-child {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    font-size: 20px;
}

.icons-wpp-maps a:hover {
    transform: scale(1.15);
}

/* ===========================
   HERO
=========================== */


.hero {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("images/camion-header.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: calc(100vh - 110px); /* descuenta el header */
    display: flex;
    flex-direction: column;
    align-items: flex-start;        /* texto pegado arriba */
    padding: 70px 60px 40px;        /* espacio superior controlado */

    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}




.hero-content {
    max-width: 720px;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    animation: fadeUp 0.8s ease both;
}

/* Badge "Disponible ahora" */
.hero-badge {
    display: inline-block;
    background: rgba(255, 0, 0, 0.75);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Título principal */
.main-title {
    font-size: 56px;
    font-weight: 900;
    margin: 0 0 20px 0;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Subtítulo */
.hero-subtitle {
    font-size: 24px;
    margin: 0 0 35px 0;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.92;
}

/* Botones */
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-solicitar {
    background-color: #ff0000;
    color: white;
    border: none;
    padding: 15px 42px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.4);
    text-shadow: none;
}

.btn-solicitar a{
    text-decoration: none;
    color: white;   
}

.btn-solicitar:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.55);
}

.btn-llamar {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 13px 30px;
    border-radius: 6px;
    transition: background 0.25s ease, border-color 0.25s ease;
    text-shadow: none;
}

.btn-llamar:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* ===========================
   ANIMACIÓN
=========================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   MENÚ HAMBURGUESA
=========================== */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    z-index: 101;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menú móvil */
.navbar-mobile {
    display: none;
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.navbar-mobile.active {
    max-height: 300px;
}

.nav-links-mobile {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-links-mobile li {
    border-bottom: 1px solid #eee;
}

.nav-links-mobile li:last-child {
    border-bottom: none;
}

.nav-links-mobile a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 18px 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links-mobile a:hover {
    background-color: #f5f5f5;
    color: #ff3535;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar {
        display: none;
    }

    .navbar-mobile {
        display: block;
    }

    .header {
        padding: 12px 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero {
        padding: 50px 25px 30px;
        align-items: flex-start;
    }

    .main-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

.divider{
    background-color: #333;
    height: 50px;
    width: 50px;
}


/* ===========================
   SECTION 1 - TRAYECTORIA
=========================== */

.section-1 {
    background-color: white;
    padding: 50px 40px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.section-1 h1 {
    font-size: 56px;
    font-weight: 900;
    color: #333;
    margin: 0 0 40px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.section-1 p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0;
    text-align: justify;
}

/* ===========================
   SECTION 2 - ¿POR QUÉ ELEGIRNOS?
=========================== */
.section-2 {
    background-color: #f5f5f5;
    padding: 50px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.section-2 h1 {
    font-size: 56px;
    font-weight: 900;
    color: #333;
    margin: 0 0 40px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.section-2 p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 0 50px 0;
    text-align: justify;
}


.service-badge {
    background-color: #ff0000;
    color: white;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
    letter-spacing: 1px;
    margin: 0 auto;
}

/* ===========================
   PÁGINA DE CONTACTO
=========================== */
.contact-page {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    min-height: 100vh;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container {
    max-width: 1200px;
    width: 100%;
    animation: fadeUp 0.8s ease both;
}

.contact-title {
    font-size: 56px;
    font-weight: 900;
    color: #333;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 20px;
    color: #666;
    text-align: center;
    margin: 0 0 60px 0;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #ff0000;
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.contact-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card p {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.schedule {
    font-size: 16px;
    font-weight: 700;
    color: #ff0000;
    margin-top: 10px;
}

.contact-link {
    display: inline-block;
    background-color: #ff0000;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
    margin-top: 10px;
}

.contact-link:hover {
    background-color: #cc0000;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 0, 0, 0.4);
}

/* ===========================
   FOOTER
=========================== */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 40px;
    font-size: 14px;
    margin-top: 50px;
}

.footer p {
    margin: 0;
}

/* ===========================
   RESPONSIVE - CONTACTO
=========================== */
@media (max-width: 768px) {
    .contact-page {
        padding: 40px 20px;
    }

    .contact-title {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .contact-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .contact-methods {
        gap: 20px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .contact-card h3 {
        font-size: 18px;
    }

    .contact-card p {
        font-size: 13px;
    }

    .contact-link {
        padding: 10px 24px;
        font-size: 14px;
    }
}

.fleet-pics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 50px auto;
}

.fleet-pics img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fleet-pics img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .fleet-pics {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 30px auto;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    .fleet-pics img {
        height: auto;
        min-height: 200px;
        aspect-ratio: 16/9;
    }
}