/* ===== VARIABLES Y RESET ===== */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #7f8c8d;
    --accent-color: #3498db;
    --background-color: #f9f9f9;
    --text-color: #333;
    --light-gray: #ecf0f1;
    --spacing: 1.5rem;
    --border-radius: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* ===== LAYOUT GENERAL ===== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.site-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.site-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 400;
}

/* ===== NAVEGACIÓN ===== */
nav {
    margin: 2rem 0;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--primary-color);
    color: white;
}

/* ===== CONTENIDO PRINCIPAL ===== */
main {
    flex: 1;
}

section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 0.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    background: var(--light-gray);
 /*   color: white; */
    margin: 2rem;
    border-radius: 0;
}

.hero h2 {
    color: white;
    border-bottom: none;
    font-size: 2.5rem;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    margin: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ===== INFORMACIÓN DE CONTACTO ===== */
.contact-info {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.contact-details a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* ===== REDES SOCIALES ===== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    margin-top: auto;
    padding: 2rem 0;
    color: var(--secondary-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-links a {
        display: block;
        text-align: center;
    }
    
    section {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}
