@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
    /* Colores minimalistas actualizados */
    --primary-color: #1a1a1a;
    --primary-light: #D2001B;
    --primary-dark: #8c0018;
    --background: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --header-bg: rgba(255, 255, 255, 0.98);
    --border-color: rgba(0, 0, 0, 0.05);
    
    /* Efectos sutiles */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.02);
    --transition: all 0.3s ease;
    
    /* Colores principales actualizados */
    --accent-color: #2962ff;
    
    /* Theme oscuro mejorado */
    --header-bg-blur: rgba(18, 18, 18, 0.95);
    --nav-text: #e0e0e0;
    --nav-text-hover: #ffffff;
    
    /* Efectos refinados */
    --glow-primary: 0 0 20px rgba(209, 0, 35, 0.4);
    --glow-strong: 0 0 30px rgba(209, 0, 35, 0.6);
    --glow-hover: 0 0 40px rgba(209, 0, 35, 0.8);
    --transition-normal: all 0.3s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --glassmorphism: rgba(255, 255, 255, 0.1);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) var(--header-bg);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    padding-top: 65px;
}

html {
    scroll-behavior: smooth;
}

.header-fixed {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar {
    height: 65px;
    padding: 0;
}

.logo {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

/* Navegación minimalista */
.navbar-nav {
    margin-left: auto;
    gap: 2rem;
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
}

/* Iconos sociales minimalistas */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-left: 2rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--background);
    border-radius: 50%;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-light);
    color: var(--background);
    transform: translateY(-2px);
}

/* Hero Banner Styles */
.banner-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 90vh;
    margin: 0 auto;
    perspective: 1px;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 0, 0, 0.85), rgba(255, 0, 0, 0.85)), url('../images/IMAGEN_BANNER.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    transform-style: preserve-3d;
    z-index: 1;
}


.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: 60px;
}

.truck-logo {
    margin-bottom: 40px;
    width: 240px;
    height: 120px;
}

.truck-logo .logo {
    height: 100px;
    width: auto;
    transition: var(--transition);
}

.banner-text {
    position: relative; /* Permite ajustar la posición */
    top: -100px; /* Mueve el texto hacia arriba */
    z-index: 4; /* Asegura que el texto esté por encima de la curva */
    color: var(--text-primary);
    font-size: 4rem; /* Ajustado para un tamaño más compacto */
    font-weight: 700;
    line-height: 1.2; /* Reducido para menos espacio entre líneas */
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Reducido para menos espacio entre letras */
    margin: 0.5rem 0; /* Reducido para menos espacio superior e inferior */
}

@media (max-width: 768px) {
    .banner-text {
        font-size: 3.5rem; /* Ajustado para pantallas pequeñas */
        top: -30px; /* Ajuste menor para dispositivos móviles */
        margin: 0.3rem 0; /* Menos espacio superior e inferior en responsive */
    }
}

.hasta-text {
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
}

.un-text {
    font-size: 5rem;
    font-weight: 900;
    margin-right: 15px;
    color: var(--text-primary);
}

.percentage-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.percentage {
    background-color: var(--primary-light);
    display: inline-block;
    font-weight: 900;
    font-size: 5.5rem;
    color: white;
    padding: 0 5px;
}

.curved-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background-color: white;
    border-top-left-radius: 100% 300px; /* Ajuste para una curva más redonda */
    border-top-right-radius: 100% 300px; /* Ajuste para una curva más redonda */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.contact-button {
    background-color: black;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.contact-button:hover {
    color: white;
}

.arrow-icon {
	font-size: 1.2rem;
	font-weight: bold;
	display: inline-block;
	transform: scaleX(1.5);
	margin-left: 0.5rem;
	transition: transform 0.3s ease;
}

.arrow-icon:hover {
	transform: scaleX(1.8);
}


@media (max-width: 768px) {
    .banner-text {
        font-size: 3.5rem;
    }
    
    .percentage {
        font-size: 3.5rem;
    }
    
    .un-text {
        font-size: 3.5rem;
    }
    
    .truck-logo {
        width: 180px;
        height: 60px;
    }
    
    .banner-background {
        background-size: cover;
        background-position: center;
    }
    
    .banner-container {
        height: 60vh; /* Reduce the height for mobile */
        border: none; /* Remove border for mobile version */
    }

    .curved-bottom {
        height: 100px; /* Make the curve less pronounced */
        border-top-left-radius: 100% 150px; /* Adjust the curve for mobile */
        border-top-right-radius: 100% 150px; /* Adjust the curve for mobile */
    }
}

/* Estilos modernos para el scrollbar */
::-webkit-scrollbar {
    width: 10px;
    background-color: var(--header-bg);
}

::-webkit-scrollbar-track {
    background-color: var(--header-bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        45deg,
        var(--primary-light),
        var(--primary-color)
    );
    border-radius: 10px;
    border: 2px solid var(--header-bg);
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--primary-dark)
    );
}

.big-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 2rem 0;
    color: #fff;
}

/* Quienes Somos Section */
.about-section {
    padding: 4rem 0;
    background: var(--background);
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInLeft 1s ease forwards;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 23, 68, 0.1),
        transparent
    );
    border-radius: 20px;
}

.content-wrapper {
    padding-left: 3rem;
    transform: translateX(20px);
    opacity: 0;
    animation: slideInRight 1s ease forwards 0.3s;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 120px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 2px;
}

.section-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

.inventory-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.inventory-btn:hover {
    background: var(--primary-light);
    color: var(--background);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.2);
}

@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Featured Trucks Section */
.featured-trucks {
    padding: 6rem 0;
    background: #f5f5f5;
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--primary-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.section-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1rem auto 0;
}

.trucks-grid {
    gap: 2rem;
    margin: 0 -1rem;
}

.truck-card {
    background: var(--background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.truck-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 75%;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.truck-card:hover .card-image img {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .trucks-grid {
        gap: 1rem;
    }
    
    .truck-card {
        margin-bottom: 0;
    }
}

/* Moving Text Section */
.moving-text-section {
    background: #fff;
    overflow: hidden;
    padding: 1rem 0;
    position: relative;
}

.moving-text-section::before,
.moving-text-section::after {
    content: none;
}

.moving-text-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.text-track {
    display: flex;
    white-space: nowrap;
    animation: scrollText 10s linear infinite;
}

.text-track span {
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #000;
    padding: 0 2rem;
    letter-spacing: 1px;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-track span {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
}

/* Process Section */
.pc-wrapper {
    background-color: var(--primary-light);
    color: white;
    padding: 20px 0;
    width: 100%;
}

.pc-header {
    text-align: center;
    padding: 50px 0 30px;
}

.pc-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.pc-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

.pc-process-container {
    padding: 30px 0 50px;
}

.pc-process-step {
    text-align: center;
    position: relative;
}

.pc-icon-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background-color: var(--primary-light);
}

.pc-step-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.pc-step-description {
    font-size: 0.9rem;
    line-height: 1.3;
}

.pc-highlight {
    font-weight: bold;
}

.pc-dotted-line {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    border-top: 3px dotted white;
    z-index: 1;
}

.pc-process-step:last-child .pc-dotted-line {
    display: none;
}

.pc-cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-light);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 50px;
    transition: all 0.3s ease;
}

.pc-cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.pc-cta-container {
    text-align: center;
    padding: 20px 0 50px;
}

.pc-header-pill {
    background-color: var(--primary-light);
    border: 2px solid white;
    border-radius: 50px;
    padding: 15px 40px;
    display: inline-block;
}

.pc-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .pc-dotted-line {
        display: none;
    }
    
    .pc-process-step {
        margin-bottom: 30px;
    }
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 8rem 0;
    background: url('../images/IMAGEN_BANNER.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 2;
    padding-right: 2rem;
}

.cta-content h5 {
    color: var(--background);
    font-size: 2rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-content h2 {
    color: var(--background);
    font-size: 2.5rem;
    margin-bottom: 0;
    font-weight: 800;
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: var(--primary-light);
    color: var(--background);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    overflow: hidden;
    transition: transform 0.3s ease;
    z-index: 2;
}

.cta-button:hover {
    color: var(--background);
    transform: translateY(-2px);
}

.button-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover .button-glow {
    opacity: 1;
    animation: pulse 2s infinite;
}

@media (max-width: 991px) {
    .cta-section {
        text-align: center;
        padding: 4rem 0;
    }

    .cta-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
    }
}

/* Contact Form Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--background) 0%, #f8f9fa 100%);
}

.contact-form {
    background: var(--background);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-floating {
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    height: 60px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(213, 0, 0, 0.1);
}

.form-floating label {
    padding: 1rem;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 3rem;
    background: var(--primary-light);
    color: var(--background);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    margin-top: 1rem;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(213, 0, 0, 0.3);
}

.submit-button i {
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 2rem;
    }
}

/* Footer Styles */
.site-footer {
    background: var(--primary-color);
    color: var(--background);
    position: relative;
}
@media (max-width: 1200px) {
    .big-heading {
        font-size: 4.5rem;
        margin-top: 2rem; /* Add spacing above */
    }
}

@media (max-width: 992px) {
    .big-heading {
        font-size: 3.5rem;
        margin-top: 4rem; /* Add spacing above */
    }
}

@media (max-width: 768px) {
    .big-heading {
        font-size: 2.5rem;
        margin-top: 4rem; /* Add spacing above */
    }
}

@media (max-width: 576px) {
    .big-heading {
        font-size: 2.5rem;
        margin-top: 4rem; /* Add spacing above */
    }
}
.footer-top {
    padding: 5rem 0 3rem;
    position: relative;
}

.footer-logo {
    height: 100px;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--background);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-light);
    color: var(--background);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--background);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: left;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
    transform: none;
}

.footer-links,
.footer-contact,
.footer-schedule {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 0.5rem;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var (--primary-light);
}

.footer-schedule {
    display: none;
}

.footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var (--transition);
}

.footer-social-item i {
    background: var(--primary-light);
    color: var(--background);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social-item:hover i {
    background: var(--primary-dark);
    color: var(--background);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-light);
}

@media (max-width: 991px) {
    .footer-top {
        padding: 3rem 0 2rem;
    }
}

@media (max-width: 768px) {
    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .copyright {
        text-align: center;
    }
}

.map-wrapper {
    height: 100%;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 991px) {
    .map-wrapper {
        margin-bottom: 2rem;
        min-height: 400px;
    }
}

.header-title {
    border: 2px solid white;
    border-radius: 50px;
    padding: 15px 40px;
    display: inline-block;
}

@media (max-width: 992px) {
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
    text-align: center;
  }
  .navbar-nav {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .navbar-nav .nav-link {
    color: #fff;
  }
  .navbar-nav .nav-link:hover {
    color: var(--primary-light);
  }
  .social-icons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
  }
}

@media (max-width: 768px) {
    .about-section .video-wrapper {
        margin-bottom: 2rem; /* Add spacing below the video */
    }
    .about-section .content-wrapper {
        padding-left: 0; /* Adjust padding for better alignment */
        text-align: center; /* Center-align text for mobile */
    }
}

.banner-politica-privacidad {
    background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 50px 0;
}

.banner-title {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
}

.content-politica-privacidad {
    padding: 30px;
    background: var(--background);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.btn-action {
    background: var(--primary-light);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-action:hover {
    background: var(--primary-dark);
}
