﻿/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #0c0c0c;
    color: #ffffff;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    z-index: 1000;
}

    .navbar.scrolled {
        background: rgba(0,0,0,0.95);
        box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    }

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 70px;
}

.brand {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

    .nav-links a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        position: relative;
    }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 0;
            height: 2px;
            background: gold;
            transition: width 0.4s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

.cta {
    background: gold;
    color: black !important;
    padding: 10px 25px;
    border-radius: 30px;
}

/* ESPACIO PARA EL NAVBAR */
main {
    margin-top: 80px;
}

/* HERO – INICIO */
.hero {
    height: calc(100vh - 80px);
    width: 100%;
    background: linear-gradient( rgba(0,0,0,0.65), rgba(0,0,0,0.85) ), url('/img/huge.jfif') center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* CONTENIDO CENTRADO */
.hero-content {
    max-width: 900px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TEXTO */
.hero h1 {
    font-size: 3.8rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.hero-sub {
    font-size: 1.1rem;
    opacity: 0.7;
    margin-bottom: 40px;
}

/* BOTÓN */
.hero .btn {
    margin-top: 10px;
}

/* BOTONES */
.btn {
    margin-top: 40px;
    padding: 15px 45px;
    background: linear-gradient(135deg, gold, #ffe8a3);
    border-radius: 50px;
    color: black;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
}

    .btn:hover {
        transform: scale(1.08);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    }
.section {
    min-height: calc(100vh - 80px);
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.5s ease;
}

    .card:hover {
        transform: translateY(-15px);
        box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    }

/* GOOGLE MAPS */
iframe {
    width: 100%;
    border-radius: 20px;
    margin-top: 20px;
}

/* FOOTER */
footer {
    padding: 30px;
    text-align: center;
    background: #050505;
    opacity: 0.7;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: pulse 2s infinite;
}

/* ANIMACIONES */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* MÓVIL – ESTILO APP */
@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .section {
        padding: 70px 30px;
    }
}

/* ABOUT SECTION */
.about {
    gap: 40px;
}

.about-text {
    max-width: 900px;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* VISION / MISSION / VALUES */
.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

    .about-values div {
        background: rgba(255,255,255,0.05);
        padding: 30px;
        border-radius: 20px;
        backdrop-filter: blur(15px);
        transition: transform 0.5s ease;
    }

        .about-values div:hover {
            transform: translateY(-10px);
        }

/* GALLERY */
.gallery-title {
    margin-top: 60px;
    font-size: 2rem;
}

.car-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

    .car-gallery img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 20px;
        transition: all 0.6s ease;
        animation: float 6s ease-in-out infinite;
    }

        /* ANIMACIÓN DESFASADA */
        .car-gallery img:nth-child(odd) {
            animation-delay: 1s;
        }

        .car-gallery img:hover {
            transform: scale(1.08);
            box-shadow: 0 25px 50px rgba(0,0,0,0.6);
        }

/* FLOAT ANIMATION */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}
.services {
    gap: 40px;
}

.services-intro {
    max-width: 800px;
    font-size: 1.1rem;
    opacity: 0.85;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.97);
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 30px 0;
        display: none;
        animation: slideDown 0.4s ease;
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            width: 100%;
            text-align: center;
        }

        .nav-links a {
            font-size: 1.2rem;
        }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
