/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Encabezado */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
}

header h1 {
    margin: 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Sección Hero con Slideshow */
.hero {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.slide-text h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 3px 3px 5px #2c3e50;
}

.slide-text p {
    font-size: 1.2em;
    margin-bottom: 20px;
    text-shadow: 3px 3px 5px #2c3e50;

}

.slide-text .btn {
    background-color: #e67e22;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* Sección Servicios */
.servicios {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.servicios h2 {
    margin-bottom: 40px;
}

.servicios-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.servicio {
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
    width: 30%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.servicio i {
    font-size: 2em;
    color: #e67e22;
    margin-bottom: 10px;
}

/* Sección Galería */
.galeria {
    padding: 50px 0;
    text-align: center;
}

.galeria-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.galeria-item {
    width: 30%;
    margin-bottom: 20px;
    position: relative;
}

.galeria-item img {
    width: 100%;
    border-radius: 5px;
}

.galeria-descripcion {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-radius: 0 0 5px 5px;
}

/* Banner de Oferta */
.banner {
    background-color: #e67e22;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.banner h2 {
    margin-bottom: 10px;
}

.banner .btn {
    background-color: #fff;
    color: #e67e22;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* Sección Contacto */
.contacto {
    padding: 50px 0;
    text-align: center;
}

.contacto-info {
    margin-bottom: 20px;
}

.contacto-info p {
    margin: 10px 0;
}

.contacto-info i {
    margin-right: 10px;
    color: #e67e22;
}

.contacto form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contacto form input,
.contacto form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contacto form button {
    background-color: #e67e22;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Pie de página */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}
/* Estilos para el modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
/* Estilo para el enlace de WhatsApp */
.contacto-info a {
    color: #25d366; /* Color de WhatsApp */
    text-decoration: none;
    font-weight: bold;
}

.contacto-info a:hover {
    text-decoration: underline;
}

/* modificacioens nuevas */
/* Estilos generales */
.servicios-ofertas {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.titulo-seccion {
    text-align: center;
    font-family: 'Impact', sans-serif;
    color: #2b2d42;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Grid de ofertas */
.ofertas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

/* Tarjetas de ofertas */
.oferta-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    border: 3px solid transparent;
}

.oferta-card:hover {
    transform: translateY(-5px);
}

/* Badges */
.oferta-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ef233c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}

/* Iconos */
.oferta-icono {
    text-align: center;
    margin: 1rem 0;
}

.oferta-icono i {
    font-size: 3rem;
    color: white;
    background: #2b2d42;
    padding: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Contenido */
.oferta-contenido {
    text-align: center;
}

.oferta-titulo {
    color: #2b2d42;
    font-family: 'Arial Black', sans-serif;
    margin: 1rem 0;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.oferta-descripcion {
    color: #4a4e69;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.precio {
    color: #d90429;
    font-weight: bold;
    font-size: 1.4rem;
}

/* Lista de características */
.oferta-lista {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1.5rem 0;
}

.oferta-lista li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #6c757d;
    position: relative;
    padding-left: 1.5rem;
}

.oferta-lista li:before {
    content: "✔";
    color: #2b9348;
    position: absolute;
    left: 0;
}

/* Botones */
.btn-oferta {
    display: inline-block;
    background: linear-gradient(45deg, #d90429, #ef233c);
    color: white!important;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-oferta:hover {
    background: linear-gradient(45deg, #ef233c, #d90429);
    box-shadow: 0 5px 15px rgba(239,35,60,0.4);
}

/* Destacados especiales */
.destacado {
    color: #d90429;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Efectos de borde para cada tarjeta */
.oferta-destacada {
    border-color: #d90429;
}

.oferta-reparaciones {
    border-color: #3a86ff;
}

.oferta-pintura {
    border-color: #ffbd00;
}

/* Responsive */
@media (max-width: 768px) {
    .ofertas-grid {
        grid-template-columns: 1fr;
    }
    
    .oferta-card {
        margin-bottom: 2rem;
    }
}
/* Estilos actualizados del Footer */
.site-footer {
    background: #111111;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    width: 180px;
    height: auto;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
}

/* Mantenemos el resto de estilos igual */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.footer-branding {
    flex: 0 0 200px;
}

.footer-legal {
    color: #ffffff;
    text-align: right;
    font-family: 'Arial', sans-serif;
}

.copyright {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.nif {
    font-size: 0.85rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-legal {
        text-align: center;
        order: -1;
    }
    
    .footer-logo {
        width: 160px;
    }
}