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

:root {
    --primary-black: #1a1a1a;
    --deep-black: #000000;
    --silver: #C0C0C0;
    --light-silver: #E5E5E5;
    --dark-silver: #808080;
    --purple: #6A0DAD;
    --light-purple: #9966CC;
    --dark-purple: #4B0082;
    --white: #ffffff;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, var(--light-silver) 0%, var(--white) 100%);
}

/* Navigation */
.navbar {
    background: linear-gradient(90deg, var(--primary-black), var(--deep-black));
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(106, 13, 173, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector, .currency-selector {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--silver);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector:hover, .currency-selector:hover {
    background: var(--purple);
    border-color: var(--light-purple);
}

.language-selector option, .currency-selector option {
    background: var(--primary-black);
    color: var(--white);
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover {
    background: var(--purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.4);
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(rgba(26, 26, 26, 0.6), rgba(75, 0, 130, 0.4)), 
        url('') center/cover,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="road" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%231a1a1a;stop-opacity:1" /><stop offset="50%" style="stop-color:%236A0DAD;stop-opacity:0.8" /><stop offset="100%" style="stop-color:%23000000;stop-opacity:1" /></linearGradient></defs><rect width="100%" height="100%" fill="url(%23road)"/><path d="M0,300 Q300,200 600,300 T1200,300" stroke="%23C0C0C0" stroke-width="4" fill="none" opacity="0.6"/><circle cx="200" cy="150" r="80" fill="%239966CC" opacity="0.3"/><rect x="900" y="100" width="120" height="60" rx="30" fill="%23C0C0C0" opacity="0.4"/><polygon points="100,400 200,350 250,420 150,470" fill="%236A0DAD" opacity="0.2"/></svg>');
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-blend-mode: overlay;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 40px;
    margin-bottom: 0.2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-top: 3rem;
    margin-bottom: 0.1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 0.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.3s both;
}

/* Tarjetas de Categorías */
.car-categories {
    padding: 20px 0;
    background: linear-gradient(135deg, var(--light-silver), var(--white));
}

.cars-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.car-card {
    background: linear-gradient(135deg, var(--white), var(--light-silver));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(26, 26, 26, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--silver);
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(106, 13, 173, 0.3);
    border-color: var(--purple);
}

.car-image {
    height: 200px;
    background: linear-gradient(45deg, var(--dark-silver), var(--primary-black));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.car-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(106, 13, 173, 0.3));
}

.car-info {
    padding: 1.5rem;
    text-align: center;
}

.car-info h3 {
    color: var(--primary-black);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.car-info p {
    color: var(--dark-silver);
    margin-bottom: 1rem;
}

.price {
    font-size: 0.7rem;    
    color: var(--purple);
    text-shadow: 1px 1px 2px rgba(106, 13, 173, 0.2);
}

/* Links de interés*/
.links-section {
    background: var(--white);
    padding: 80px 0;
    border-top: 2px solid var(--light-silver);
}

.links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.links-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(106, 13, 173, 0.2);
}

.links-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.link-card {
    background: linear-gradient(135deg, var(--light-silver), var(--white));
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    border: 1px solid var(--silver);
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 2rem;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(106, 13, 173, 0.2);
    border-color: var(--purple);
}

.link-card i {
    font-size: 3rem;
    color: var(--purple);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.link-card:hover i {
    transform: scale(1.1);
    color: var(--dark-purple);
}

.link-card-content {
    flex: 1;
}

.link-card h3 {
    color: var(--primary-black);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.link-card p {
    color: var(--dark-silver);
    line-height: 1.6;
}

/* Contactos */
.contact-section {
    background: linear-gradient(135deg, var(--primary-black), var(--dark-purple));
    color: var(--white);
    padding: 80px 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(192, 192, 192, 0.1));
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(192, 192, 192, 0.2);
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(106, 13, 173, 0.2);
    transform: translateY(-5px);
    border-color: var(--purple);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.3);
}

.contact-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--silver);
    transition: all 0.3s ease;
}

.contact-item:hover i {
    color: var(--light-purple);
    transform: scale(1.1);
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-item .whatsapp-btn {
    background: #25D366;
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-item .whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.05);
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background: #25D366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 2px 2px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer */
.footer {
    background: var(--deep-black);
    color: var(--silver);
    text-align: center;
    padding: 2rem 0;
    border-top: 2px solid var(--dark-silver);
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero{
	height: 48vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .car-card {
        min-width: 250px;
    }

    .link-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .link-card i {
        font-size: 2.5rem;
    }
}

.hidden {
    display: none;
}