/* Estilos Generales */
:root {
    --primary-color: #9999CC; /* Morado Nurtep */
    --secondary-color: #9999CC;
    --text-color: #000000;
    --light-bg: #9999CC;
    --dark-bg: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Hace que el cuerpo ocupe el 100% de la pantalla */
    margin: 0;
}

.contenido {
  flex: 1; /* Este elemento "crece" para rellenar todo el espacio vacío */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* Encabezado */
header {
    background: var(--dark-bg);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 5px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #9999CC;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: var(--secondary-color);
}

/* Sección Héroe */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('placeholder-construction-bg.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

/* Secciones de Contenido */
section {
    padding: 60px 0;
    text-align: center;
}

h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
}

/* Sección Servicios */
.services {
    background: var(--light-bg);
}

.service-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.service-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    flex: 1 1 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-item h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Pie de Página */
footer {
    background: var(--dark-bg);
    color: #9999CC;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links a {
    color: #9999CC;
    font-size: 1.5rem;
    margin-left: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}