/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
/* Fuentes */
@font-face {
    font-family: 'Bebas Neue';
    src: url('./Assets/fonts/BebasNeue-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'DM Sans';
    src: url('./Assets/fonts/DMSans.ttf') format('truetype');
}
  
/* Body */
body {
    font-family: 'DM Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 18px;
}
  
/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.logo img { 
    height: 60px; 
}
.menu-toggle {
    display: none;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-links {
    list-style: none;
    display: flex;
}
.nav-links li { 
    margin: 0 20px; 
}
.nav-links a {
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    color: #686868;
    transition: color .3s;
    font-size: 20px;
}
.nav-links a:hover { 
    color: #ff0000; 
}
.nav-links .btn {
    padding: 12px 24px;
    background: #f00000;
    color: #fff;
    border-radius: 5px;
    font-size: 20px;
}
.nav-links .btn:hover { 
    background: #000; 
}
  
/* Mobile nav */
@media(max-width:768px){
    .menu-toggle { 
        display: block;
        z-index: 1001;
    }
    .nav-links {
        position: fixed;
        top: 0; 
        left: -100%;
        background: #fff;
        flex-direction: column;
        width: 75%;
        height: 100vh;
        display: flex;
        padding: 100px 20px 20px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        z-index: 1000;
    }
    .nav-links li { 
        margin: 18px 0; 
    }
    .nav-links a {
        font-size: 26px;
        display: block;
        padding: 10px 0;
    }
    .nav-links .btn {
        display: inline-block;
        font-size: 30px;
        padding: 15px 30px;
        text-align: center;
        margin-top: 10px;
    }
    .navbar.active .nav-links { 
        left: 0; 
    }
    .navbar.active .menu-toggle {
        position: fixed;
        right: 20px;
    }
}

/* Tablet nav */
@media(min-width:769px) and (max-width:992px){
    .navbar {
        padding: 15px 30px;
    }
    .nav-links li { 
        margin: 0 10px; 
    }
    .nav-links a {
        font-size: 18px;
    }
    .nav-links .btn {
        padding: 10px 18px;
        font-size: 18px;
    }
}
  
/* Secciones genéricas */
.seccion {
    padding: 40px 20px 40px;
    text-align: center;
}
  
/* Hero */
.hero {
    height: 100vh;
    background: url('./Assets/hero_alternative.webp') center/cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.hero::before {
    content: "";
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: rgba(0,0,0,0.5);
}
.hero h1, .hero p, .hero .btn { 
    position: relative; 
    z-index: 1; 
}
.hero h1 { 
    font-family: 'Bebas Neue', sans-serif;
    font-size: 72px; 
    margin-bottom: 20px;
}
.hero p { 
    font-size: 28px; 
    margin: 20px 0 30px;
    max-width: 800px;
    text-align: center;
}
.hero .btn {
    background: #f00000; 
    color: #fff;
    padding: 15px 30px; 
    border-radius: 5px;
    text-decoration: none;
    font-size: 22px;
    font-family: 'Bebas Neue', sans-serif;
}
.hero .btn:hover { 
    background: #d00000; 
}
  
/* Nosotros */
#seccion2 {
    background: #fff;
    height: auto;
    padding: 80px 20px 60px;
}
#seccion2 h1 {
    font-family: 'Bebas Neue'; 
    font-size: 48px; 
    margin-bottom: 30px;
}
#seccion2 p {
    max-width: 800px;
    margin: 15px auto;
    font-size: 24px; 
    line-height: 1.5;
}
#seccion2 small {
    font-size: 18px; 
    color: #777;
    display: block; 
    margin-top: 20px;
}
  
/* Servicios */
#seccion3 {
    background: url('./Assets/fondo_services.webp') center/cover no-repeat;
    padding: 60px 20px;
    position: relative;
    display: flex; 
    justify-content: center; 
    align-items: center;
    min-height: 80vh;
}
#seccion3::before {
    content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.25); 
    z-index: 0;
}
.servicios-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    column-gap: 20px;
    row-gap: 20px;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}
.servicio {
    text-align: center; 
    max-width: 280px;
    margin: 0 auto;
    background-color: transparent;
}
.servicio .icono {
    width: 50px; 
    height: 50px; 
    margin-bottom: 15px;
}
.servicio h2 {
    font-family: 'Bebas Neue'; 
    font-size: 24px; 
    margin-bottom: 10px;
    color: #fff;
}
.servicio p {
    color: #fff; 
    font-size: 16px; 
    line-height: 1.5;
}
.camioneta {
    width: 300px;
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-self: center;
    margin: 0 auto;
}
.empty-space {
    grid-column: 2;
    height: 30px;
}
.empty-space-top {
    grid-row: 1;
}
.empty-space-bottom {
    grid-row: 3;
}
  
/* Contador viajes */
#contador-viajes {
    height: 25vh;
    display: flex; 
    align-items: center; 
    justify-content: center;
    background: #fff;
}
#contador-viajes h1 {
    font-family: 'Bebas Neue'; 
    font-size: 48px;
    color: #00c1ff;
}
#contador {
    font-size: 56px; 
    margin-right: 15px;
}
  
/* Reseñas */
#seccion4 {
    background: url('./Assets/fondo_testimonios.webp') center/cover no-repeat;
    position: relative; 
    padding: 60px 20px; 
    color: #fff;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#seccion4::before {
    content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5); 
    z-index: 0;
}
#seccion4 h1 {
    position: relative; 
    z-index: 1; 
    font-family: 'Bebas Neue'; 
    font-size: 40px; 
    margin-bottom: 30px;
}
.reviews-container {
    position: relative;
    display: flex; 
    align-items: center; 
    justify-content: center;
    width: 100%; 
    max-width: 1000px;
    margin: 0 auto;
    z-index: 1;
    overflow: hidden;
}
.reviews-slider {
    display: flex; 
    transition: transform 0.5s ease;
    width: 100%;
}
.review {
    flex: 0 0 calc(33.333% - 20px);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px; 
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 0 10px;
    width: calc(33.333% - 20px);
}
.review h2 {
    font-family: 'Bebas Neue'; 
    font-size: 24px; 
    margin-bottom: 10px;
}
.review p {
    font-size: 14px; 
    line-height: 1.5; 
    color: #fff;
}
.review .author {
    margin-top: 15px; 
    color: #fff; 
    font-weight: bold;
    font-size: 14px;
}
.nav-button {
    background: rgba(0, 0, 0, 0.5); 
    border: none;
    font-size: 30px; 
    color: #fff;
    cursor: pointer; 
    z-index: 10;
    margin: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}
#prevButton {
    left: 0px;
}
#nextButton {
    right: 0px;
}
  
/* Contacto */
#seccion5 {
    background: #fff; 
    color: #333;
    display: flex; 
    flex-direction: column; 
    align-items: center;
    text-align: center; 
    padding: 60px 20px; 
    gap: 20px;
}
.contact-info-top {
    display: flex; 
    justify-content: space-around;
    width: 100%; 
    max-width: 900px;
    align-items: center;
}
.contact-info-top p, .contact-info-top a {
    color: #333; 
    font-size: 16px;
}
.contact-info-top a { 
    text-decoration: underline; 
}
.whatsapp-button {
    background: #d00000; 
    color: #fff;
    padding: 8px 12px; 
    border: none; 
    border-radius: 5px;
    font-family: 'Bebas Neue'; 
    cursor: pointer;
    font-size: 16px;
}
.form-logo-container {
    display: flex; 
    align-items: center;
    gap: 30px; 
    width: 100%; 
    max-width: 900px;
}
.logo-contacto {
    flex: 1; 
    display: flex; 
    justify-content: center; 
    align-items: center;
}
.logo-contacto img {
    width: 60%; 
    max-height: 350px;
}
.contact-form {
    flex: 2; 
    max-width: 450px; 
    text-align: left;
}
.contact-form h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    margin-bottom: 8px;
    text-align: center;
}
.contact-form .subtext {
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
}
.contact-form form {
    display: flex; 
    flex-direction: column;
}
.form-row {
    display: flex; 
    gap: 12px; 
    margin-bottom: 12px;
}
.form-row input, textarea {
    padding: 12px; 
    border: 1px solid #ddd; 
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s ease;
}
.form-row input:focus, textarea:focus {
    outline: none;
    border-color: #d00000;
}
.contact-info-top div {
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-info-top p {
    margin: 0;
    display: flex;
    align-items: center;
}
.contact-info-top strong {
    margin-right: 8px;
}
textarea { 
    min-height: 100px; 
    resize: vertical; 
    margin-bottom: 15px; 
}
button[type="submit"] {
    background: #000; 
    color: #fff; 
    border: none;
    padding: 12px; 
    border-radius: 5px;
    font-family: 'Bebas Neue'; 
    font-size: 18px; 
    cursor: pointer;
    width: 100%;
}
  
/* Footer */
#footer {
    background: #fff; 
    color: #000;
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    min-height: 35vh; 
    border-top: none;
}
.footer-content {
    display: flex; 
    justify-content: space-around;
    width: 100%; 
    max-width: 1200px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.footer-section {
    flex: 1; 
    min-width: 250px; 
    padding: 20px;
    text-align: center;
}
.footer-logo {
    width: 180px; 
    margin-bottom: 15px;
}
.footer-section h3 { 
    margin-bottom: 20px; 
    font-size: 24px;
    font-family: 'Bebas Neue', sans-serif;
}
.footer-section p {
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 10px; 
    font-size: 18px;
    margin-bottom: 10px;
}
.icon { 
    width: 24px; 
    height: 24px; 
}
.footer-bottom {
    background: #001f54; 
    color: #fff;
    width: 100%; 
    text-align: center; 
    padding: 15px 0;
    margin-top: 30px; 
    font-size: 16px;
}
  
/* Responsive para tablets */
@media (max-width: 992px) {
    .hero h1 { 
        font-size: 60px; 
    }
    .hero p { 
        font-size: 24px; 
    }
    .servicios-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, auto);
    }
    .servicio {
        grid-column: auto;
    }
    .camioneta {
        grid-column: 1 / 3;
        grid-row: 4;
        width: 250px;
    }
    .empty-space {
        display: none;
    }
    .reviews-slider {
        flex-wrap: nowrap;
    }
    .review {
        flex: 0 0 calc(50% - 20px);
        width: calc(50% - 20px);
    }
    .form-logo-container { 
        flex-direction: column; 
    }
    .logo-contacto { 
        margin-bottom: 20px; 
    }
    .contact-form { 
        max-width: 90%; 
    }
}

/* Específico para tablets pequeñas */
@media (min-width: 600px) and (max-width: 768px) {
    .servicios-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .contact-info-top {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .contact-info-top div {
        margin: 5px 10px;
    }
    .form-row {
        flex-direction: column;
    }
    .form-row input {
        margin-bottom: 10px;
    }
    .logo-contacto img {
        max-width: 200px;
    }
}
  
/* Responsive para móviles */
@media (max-width: 768px) {
    .servicios-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }
    .servicio {
        max-width: 100%;
    }
    .camioneta {
        display: none;
    }
    .reviews-container {
        overflow-x: hidden;
        width: 90%;
    }
    .review {
        flex: 0 0 calc(100% - 20px);
        width: calc(100% - 20px);
    }
    .nav-button {
        font-size: 24px;
    }
}
  
@media (max-width: 576px) {
    .hero h1 { 
        font-size: 48px; 
    }
    .hero p { 
        font-size: 20px; 
    }
    #seccion2 h1, #seccion4 h1 { 
        font-size: 36px; 
    }
    #seccion2 p { 
        font-size: 18px; 
    }
    .contact-info-top { 
        flex-direction: column; 
        gap: 20px; 
    }
    .contact-form h2 {
        font-size: 28px;
    }
    .servicios-header h1 {
        font-size: 36px;
    }
    
    .servicios-header p {
        font-size: 18px;
    }
    
    .servicio-info h2 {
        font-size: 24px;
    }
    
    .flota-section h2 {
        font-size: 28px;
    }
    
    .call-to-action p {
        font-size: 18px;
    }
    
    .contact-form h2 {
        font-size: 28px;
    }
}
  
/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 150%;
    height: 150%;
    border-radius: 50%;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}
  
/* Página de Servicios */
.servicios-header {
    padding: 60px 20px 40px;
    text-align: center;
    background: #fff;
}

.servicios-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.servicios-header p {
    font-size: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.servicios-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
}

.servicio-card {
    flex: 1 1 300px;
    max-width: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    margin-bottom: 30px;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.servicio-imagen {
    height: 250px;
    overflow: hidden;
}

.servicio-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.servicio-card:hover .servicio-imagen img {
    transform: scale(1.05);
}

.servicio-info {
    padding: 25px;
    text-align: center;
}

.servicio-info h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: #d00000;
}

.servicio-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.flota-section {
    margin-top: 50px;
    padding: 60px 20px;
    text-align: center;
    background: #f8f8f8;
}

.flota-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    margin-bottom: 30px;
}

.flota-imagen {
    max-width: 1000px;
    margin: 0 auto 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.flota-imagen img {
    width: 100%;
    height: auto;
}

.call-to-action {
    margin: 40px auto;
    max-width: 800px;
}

.call-to-action p {
    font-size: 24px;
    margin-bottom: 30px;
    font-style: italic;
}

.call-to-action .btn {
    display: inline-block;
    background: #f00000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 22px;
    font-family: 'Bebas Neue', sans-serif;
    transition: background 0.3s ease;
}

.call-to-action .btn:hover {
    background: #d00000;
}

/* Responsive para la página de servicios */
@media (max-width: 992px) {
    .servicios-grid {
        padding: 20px;
        gap: 20px;
    }
    
    .servicio-card {
        flex: 1 1 45%;
        max-width: 100%;
    }
    
    .flota-imagen {
        max-width: 90%;
    }
    
    .call-to-action p {
        font-size: 22px;
    }
    
    .call-to-action .btn {
        font-size: 20px;
        padding: 12px 24px;
    }
    
    .servicios-header h1 {
        font-size: 42px;
    }
    
    .servicios-header {
        margin-top: 90px;
        padding: 50px 20px 30px;
    }
}

@media (max-width: 768px) {
    .servicios-grid {
        flex-direction: column;
    }
    
    .servicio-card {
        flex: 1 1 100%;
        margin-bottom: 20px;
        max-width: 450px;
    }
    
    .call-to-action p {
        font-size: 20px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .footer-content {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    .footer-section {
        flex: 0 0 45%;
        margin-bottom: 20px;
    }
    
    .contact-info-top {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-info-top div {
        flex: 0 0 auto;
        margin: 5px 15px;
    }
}

/* Selector de idioma */
.language-selector {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
}

.language-selector span {
    margin: 0 5px;
}

.language-selector img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.language-selector a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-selector span.active img {
    box-shadow: 0 0 0 2px #ff0000;
    transform: scale(1.1);
}

.language-selector a:hover img {
    transform: scale(1.1);
}
  