:root {
    --primary-color: #003366; /* Azul Marino Corporativo */
    --secondary-color: #ff9900; /* Naranja de acento (opcional) */
    --text-color: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    transition: color 0.3s, border-bottom 0.3s;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,51,102,0.7), rgba(0,51,102,0.7)), url('camion1.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    margin-top: 20px;
}

.btn:hover {
    background: #e68a00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--light-bg);
    text-align: center;
}

.services h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.services h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto;
    border-radius: 2px;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: block;
}

.card h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.6rem;
}

/* Fleet Section */
.fleet {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.fleet h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.fleet h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto;
    border-radius: 2px;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.fleet-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    height: 300px;
    transition: transform 0.3s ease;
}

.fleet-item:hover {
    transform: scale(1.02);
}

.fleet-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mission & Vision Section */
.mision-vision {
    padding: 100px 0;
    background: var(--white);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

.mv-item {
    padding: 40px;
    border-radius: 20px;
    background: var(--light-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: background 0.3s;
}

.mv-item:hover {
    background: #edf2f1;
}

.mv-item h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mv-item h2::before {
    content: '';
    width: 10px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 5px;
}

.mv-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Commitment Section */
.commitment {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #001a33 100%);
    color: var(--white);
}

.commitment-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.commitment h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--white);
}

.commitment p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Map Section */
.map-section {
    padding: 100px 0;
    text-align: center;
}

.map-section h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-grid h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-info a, .footer-location a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-info a:hover, .footer-location a:hover {
    color: var(--secondary-color);
}

.maps-link {
    display: inline-block;
    margin-top: 15px;
    background: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .footer-grid {
        text-align: center;
    }

    .footer-grid h3 {
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}