/* ======== Estilos Globales y Variables ======== */
:root {
    --primary-color: #d10000; /* Rojo del logo */
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --text-color: #333;
    --bg-light-gray: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* ======== Sección Principal (Portada) ======== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/Portada.jpg') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    padding: 20px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #a80000;
}

/* ======== Sección de Servicios ======== */
.services {
    padding: 60px 0;
    background-color: var(--bg-light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-color);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* ======== Sección de Contacto ======== */
.contact {
    padding: 60px 0;
    text-align: center;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: var(--light-color);
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    padding: 15px 30px;
}

.btn-whatsapp i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.btn-whatsapp:hover {
    background-color: #1EBE57;
    transform: scale(1.05);
}

/* ======== Pie de Página ======== */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 40px 20px;
}

.footer p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.social-links a {
    color: var(--light-color);
    font-size: 2rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ======== Estilos Responsivos (Para Celulares) ======== */
@media(max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}