/* Variables globales */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --background-color: #f5f6fa;
    --spacing: 2rem;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos base */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Header y Navegación */
header {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing);
    text-align: center;
}

nav {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-top: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: var(--secondary-color);
}

/* Secciones */
section {
    padding: var(--spacing);
    max-width: 800px;
    margin: 0 auto;
}

/* Tipografía */
h1, h2 {
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

/* Sección de inicio */
#inicio {
    text-align: center;
    padding: 4rem 2rem;
    background-color: white;
}

#inicio p {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Iconos sociales */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary-color);
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    background-color: white;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.social-icons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background-color: #f8f9fa;
}

.social-icons img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Formulario de contacto */
#contacto form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input, textarea {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

button {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    section {
        padding: 1rem;
    }
}

/* Estilos adicionales para enlaces */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #2980b9;
}

/* Estilos para listas */
ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Estilos para párrafos */
p {
    margin-bottom: 1rem;
}

/* Estilos para elementos strong */
strong {
    color: var(--primary-color);
}
