/* ============================================
   SUPPLY TRANSPORT - ESTILOS PRINCIPALES
   PALETA: #000000, #1d1216, #ee2c28, #ffc51f, #ffffff
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
    overflow-x: hidden;
}

/* ============================================
   HEADER Y NAVEGACION
   ============================================ */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #ee2c28;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: #000000;
    box-shadow: 0 5px 20px rgba(238, 44, 40, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffc51f;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: #ee2c28;
    letter-spacing: 2px;
}

.nav-menu-container {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ee2c28;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #ffc51f;
}

.btn-login {
    background: #ee2c28;
    color: #ffffff;
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #ee2c28;
}

.btn-login:hover {
    background: transparent;
    color: #ffc51f;
    border-color: #ffc51f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 44, 40, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1d1216 50%, #000000 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(238, 44, 40, 0.1) 0%, transparent 50%);
    animation: pulseOverlay 4s ease-in-out infinite;
}

@keyframes pulseOverlay {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line1 {
    display: block;
    font-size: 4rem;
    font-weight: bold;
    color: #ffc51f;
    text-shadow: 3px 3px 0 #ee2c28;
    letter-spacing: 3px;
    animation: glitch 3s infinite;
}

.title-line2 {
    display: block;
    font-size: 2.5rem;
    color: #ffffff;
    letter-spacing: 5px;
}

@keyframes glitch {
    0%, 100% { transform: skew(0deg); }
    95% { transform: skew(0deg); }
    96% { transform: skew(5deg); }
    97% { transform: skew(-5deg); }
    98% { transform: skew(0deg); }
}

.hero-slogan {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    color: #ffffff;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ee2c28;
}

.stat-plus,
.stat-percent {
    font-size: 2rem;
    font-weight: bold;
    color: #ffc51f;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-primary {
    background: #ee2c28;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #ee2c28;
}

.btn-primary:hover {
    background: transparent;
    color: #ffc51f;
    border-color: #ffc51f;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(238, 44, 40, 0.3);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #ffc51f;
}

.btn-outline:hover {
    background: #ffc51f;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 197, 31, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-text {
    color: #ffffff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, #ee2c28, #ffc51f);
    animation: scrollLine 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scrollLine {
    0% { height: 0; opacity: 0; }
    50% { height: 50px; opacity: 1; }
    100% { height: 0; opacity: 0; }
}

/* ============================================
   ANIMACIONES
   ============================================ */

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */

section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    background: #000000;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    color: #ffc51f;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ee2c28;
    margin: 1rem auto;
}

.section-subtitle {
    color: #ffffff;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ============================================
   SERVICIOS
   ============================================ */

.services {
    background: linear-gradient(180deg, #000000 0%, #1d1216 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(29, 18, 22, 0.8);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(238, 44, 40, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #ee2c28;
    box-shadow: 0 20px 40px rgba(238, 44, 40, 0.2);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #ffc51f;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: #ffffff;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.service-features li {
    color: #ffffff;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-features li::before {
    content: '✓';
    color: #ee2c28;
    margin-right: 0.5rem;
    font-weight: bold;
}

/* ============================================
   FLOTA
   ============================================ */

.fleet {
    background: #000000;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.fleet-item {
    text-align: center;
    padding: 2rem;
    background: #1d1216;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-bottom: 4px solid #ee2c28;
}

.fleet-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(238, 44, 40, 0.3);
}

.fleet-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ee2c28;
    margin-bottom: 0.5rem;
}

.fleet-item h3 {
    color: #ffc51f;
    margin-bottom: 0.5rem;
}

.fleet-item p {
    color: #ffffff;
    opacity: 0.9;
}

.fleet-bar {
    height: 3px;
    background: linear-gradient(90deg, #ee2c28, #ffc51f);
    margin-top: 1.5rem;
    border-radius: 3px;
}

/* ============================================
   COBERTURA
   ============================================ */

.coverage {
    background: linear-gradient(180deg, #1d1216 0%, #000000 100%);
}

.coverage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.coverage-map {
    text-align: center;
}

.map-placeholder {
    background: #1d1216;
    height: 300px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 2px solid #ee2c28;
}

.map-points {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ee2c28;
    border-radius: 50%;
    box-shadow: 0 0 20px #ee2c28;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(238, 44, 40, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(238, 44, 40, 0); }
    100% { box-shadow: 0 0 0 0 rgba(238, 44, 40, 0); }
}

.map-caption {
    color: #ffc51f;
    margin-top: 1rem;
    font-weight: bold;
}

.coverage-features h3 {
    color: #ffc51f;
    margin-bottom: 1.5rem;
}

.coverage-list {
    list-style: none;
    margin-bottom: 2rem;
}

.coverage-list li {
    padding: 0.8rem 0;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.coverage-list strong {
    color: #ee2c28;
}

.coverage-highlight {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffc51f;
}

/* ============================================
   CONTACTO
   ============================================ */

.contact {
    background: #000000;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: #ffc51f;
    margin: 1.5rem 0 1rem 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    color: #ffffff;
}

.info-item svg {
    flex-shrink: 0;
}

.info-item.emergency {
    color: #ee2c28;
    font-weight: bold;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #1d1216;
    border: 1px solid rgba(238, 44, 40, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ee2c28;
    box-shadow: 0 0 15px rgba(238, 44, 40, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-submit {
    background: #ee2c28;
    color: #ffffff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #ee2c28;
}

.btn-submit:hover {
    background: transparent;
    color: #ffc51f;
    border-color: #ffc51f;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #1d1216;
    color: #ffffff;
    padding: 3rem 5% 1rem;
    border-top: 3px solid #ee2c28;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section {
    text-align: center;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #ffc51f;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #ee2c28;
    opacity: 1;
}

.certifications {
    color: #ffc51f;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: rgba(238, 44, 40, 0.2);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ee2c28;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .title-line1 {
        font-size: 3rem;
    }
    
    .title-line2 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .logo-text-container {
        display: none;
    }
    
    .title-line1 {
        font-size: 2.2rem;
    }
    
    .title-line2 {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .coverage-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .coverage-highlight {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .title-line1 {
        font-size: 1.8rem;
    }
    
    .title-line2 {
        font-size: 1.2rem;
    }
    
    .hero-slogan {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}