/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    list-style: none;
}

body {
    background: #3b3b3b;
    color: #fff
}


/* MENU ESTILO BARBERIA */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #3b3b3b;
    border-bottom: 1px solid white;
    z-index: 1000;
}

.logo-text {
    color: #38bdf8;
    font-size: 28px;
    font-weight: bold;
}

.navbar ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.navbar ul li a:hover {
    color: #38bdf8;
}

#menu {
    display: none;
}

.menu-icono {
    width: 28px;
    cursor: pointer;
    display: none;
}

.menu label {
    cursor: pointer;
    display: none;
}


/* HERO */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url('../images/civic.jpg');
    background-size: cover;
    background-position: center;
    padding: 0;
    position: relative;
    z-index: 1;
}

.hero h2,
.hero p {
    position: relative;
    z-index: 2;
    color: white;
}

.btn {
    background: #666666;
    padding: 8px 15px;
    width: 150px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: block;
    transition: .3s;
    margin: 15px auto 0;
}

.btn:hover {
    background: #fff;
    color: #000;
    cursor: pointer;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0.4);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin: 15px auto 0;
}

.btn-whatsapp img {
    width: 28px;
}

.btn-whatsapp:hover:hover {
    background: #fff;
    color: #25D366;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

section {
    padding: 100px 20px;
    text-align: center
}

/* SERVICIOS */
.cards {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap
}

.card {
    background: #4e4e4e;
    padding: 30px;
    border-radius: 15px;
    width: 300px;
    transition: .4s;
}

.card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

.card i {
    font-size: 45px;
    color: #2c2c2c;
    margin-bottom: 15px;
}

/* GALERIA */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 90%;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
    transition: .3s;
}

/* PRECIOS */
.prices {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.price {
    background: #4e4e4e;
    padding: 35px;
    border-radius: 15px;
    width: 260px;
    transition: .3s;
}

.price:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

/* OPINIONES */
.opiniones {
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.opinion {
    background: #4e4e4e;
    padding: 20px;
    border-radius: 10px;
}

/* MAPA */
iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 10px;
}

/* CONTACTO */
form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    padding: 12px;
    border: none;
    border-radius: 8px;
}

/* FOOTER */
footer {
    background: #3b3b3b;
    padding: 30px;
    text-align: center;
    border-top: 1px solid white;
}


/* PAGINA GRACIAS */
.pagina-gracias {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url("../images/civic.jpg");
    background-size: cover;
    background-position: center;
}

/* CONTENIDO */
.pagina-gracias .contenido-gracias {
    color: #fff;
    max-width: 600px;
    padding: 20px;
    animation: aparecer 0.6s ease;
}

/* TEXTO */
.pagina-gracias h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.pagina-gracias p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #ddd;
}

/* BOTON */
.pagina-gracias .btn-enviar {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    background: #666666;
    transition: 0.3s;
    font-weight: bold;
}

.pagina-gracias .btn-enviar:hover {
    background: #fff;
    color: #000;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0.4);
}

/* RESPONSIVE */
@media(max-width:768px) {

    .menu {
        padding: 20px;
    }

    .menu label {
        display: block;
    }

    .menu-icono {
        display: block;
    }

    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #020617;
        display: none;
    }

    .navbar ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .navbar ul li {
        margin: 15px 0;
    }

    #menu:checked~.navbar {
        display: block;
    }
}