/* Reset y fuentes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{ 
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1F1F3B;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h2 {
    text-align: center;
    margin-bottom: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar .logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #E53935;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #1F1F3B;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #E53935;
}

.btn-contact {
    padding: 0.5rem 1rem;
    background: #E53935;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-contact:hover {
    background: #c62828;
}

/* Hero */
.hero {
    height: 100vh;
    background: url('../img/fondo.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.hero-text {
    position: relative;
    max-width: 700px;
    animation: fadeIn 1.5s ease forwards;
    opacity: 0;
    color: white;
    z-index: 30;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.8rem 2rem;
    background: #E53935;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 0 0.5rem;
    transition: 0.3s;
    cursor: pointer;
}

.btn:hover {
    background: #c62828;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #E53935;
}

.autolavado-container {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 3rem 2rem;
    flex-wrap: wrap;
    background: #F5F5F5;
    border-radius: 10px;
    margin-top: 2rem;
}

.autolavado-img img {
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    object-fit: cover;
}

.autolavado-info {
    flex: 1;
}

.autolavado-info h2 {
    color: #E53935;
    margin-bottom: 1rem;
}

.autolavado-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.autolavado-fichas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.ficha {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ficha:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.ficha h3 {
    margin-bottom: 0.5rem;
    color: #1F1F3B;
}

.ficha p {
    font-weight: 600;
    color: #E53935;
}

.autolavado-info .btn-contact {
    padding: 0.8rem 2rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    font-size: 1rem;
}

/* Mobile optimizado */
@media (max-width: 768px) {
    .autolavado-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .autolavado-img img {
        max-width: 100%;
        height: auto;
    }

    .autolavado-fichas {
        grid-template-columns: 1fr; /* todas las fichas en columna */
        gap: 1rem;
    }

    .autolavado-info h2 {
        font-size: 1.8rem;
    }

    .autolavado-info p {
        font-size: 1rem;
    }
}

/* Secciones */
.section {
    padding: 5rem 2rem;
}

.servicios .grid-servicios,
.porque .grid-porque {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.card {
    background: #F5F5F5;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #E53935;
}

/* Grid de costos */
.costos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cost-card {
    background: #F5F5F5;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cost-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cost-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.cost-card h3 {
    margin: 1rem 0 0.5rem;
    color: #E53935;
}

.cost-card p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1F1F3B;
}
/* Horarios y Ubicación */
.horarios ul {
    list-style: none;
    text-align: center;
    font-size: 1.1rem;
}

.ubicacion iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
}


.banner-aseguradoras {
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.banner-container {
    max-width: 500px; /* tamaño tipo post de Instagram */
    width: 100%;
}

.banner-container img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

/* efecto hover (desktop) */
.banner-container img:hover {
    transform: scale(1.03);
}


/* FAQ */
.accordion .item {
    margin-bottom: 1rem;
}

.accordion-btn {
    width: 100%;
    padding: 1rem;
    background: #E53935;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    font-weight: 500;
    transition: 0.3s;
}

.accordion-btn:hover {
    background: #c62828;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    background: #F5F5F5;
    padding: 0 1rem;
    border-radius: 0 0 5px 5px;
}

/* Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.contact-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #F5F5F5;
    border-radius: 10px;
    text-decoration: none;
    color: #1F1F3B;
    transition: 0.3s;
}

.contact-grid a:hover {
    background: #E53935;
    color: white;
    transform: translateY(-5px);
}

.contact-grid .redes a {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    background: #F5F5F5;
    color: #1F1F3B;
    transition: 0.3s;
}

.contact-grid .redes a:hover {
    background: #E53935;
    color: white;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar base ya lo tenés, agregamos responsivo */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #E53935;
}

/* Cuando la pantalla es menor a 768px */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px; /* debajo del navbar */
        right: -100%; /* oculto fuera de pantalla */
        width: 200px;
        height: calc(100% - 70px);
        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding-top: 2rem;
        transition: 0.3s;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0; /* se desliza visible */
    }

    .hamburger {
        display: block;
    }

    .btn-contact {
        display: none; /* opcional: ocultar botón en mobile */
    }
}