/* =========================
    PALETA MODERNA (PRO)
   ========================= */
:root {
    --color-fondo: #1F1B24;
    --color-contenedores: #2A2433;
    --color-primario: #C8A96A;
    --color-secundario: #6FC3A2;
    --color-detalles: #E8D3A3;
    --color-texto: #F5F5F5;
    --color-texto-suave: #B8B5C0;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: "DM Serif Text", serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
}

/* TITULOS */
h1, h2, h3 {
    font-family: "Titan One", sans-serif;
    color: var(--color-primario);
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--color-contenedores);
}

header h1 {
    color: var(--color-primario);
}

/* NAV */
nav {
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav a {
    color: var(--color-texto);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: var(--color-primario);
    color: var(--color-fondo);
}

/* SECCIONES */
section {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 30px;
    transition: transform 0.2s ease;
}

section:hover {
    transform: scale(1.01);
}

section h2 {
    margin-bottom: 10px;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-text p {
    margin-bottom: 20px;
}

.hero-img img {
    max-width: 250px;
}

/* BOTÓN */
.btn {
    background-color: var(--color-primario);
    color: var(--color-fondo);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--color-secundario);
    color: #000;
}

/* CARDS */
.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: var(--color-contenedores);
    color: var(--color-texto);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    width: 220px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3 {
    margin-bottom: 10px;
    color: var(--color-primario);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* IMAGEN */
img {
    max-width: 300px;
    border-radius: 50%;
    border: 4px solid var(--color-primario);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.05);
}

/* FOOTER */
footer {
    background-color: var(--color-contenedores);
    color: var(--color-texto-suave);
    padding: 40px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
}

.footer-section a {
    color: var(--color-texto-suave);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-primario);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* RESPONSIVE */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }
}