:root {
    --bg-black: #050505;
    --bg-dark: #0a0a0a;
    --gold: #d4af37;
    --gold-dim: rgba(212, 175, 55, 0.3);
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-gray);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--gold);
    letter-spacing: 0.05em;
}

/* SECCIONES */
.section {
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.subtitle {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-white);
    margin-bottom: 2rem;
}

h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--gold);
    margin: 2rem 0 1rem;
}

p {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.gold { color: var(--gold) !important; }
.italic { font-style: italic; }

.divider {
    width: 80px;
    height: 1.5px;
    opacity: 0.8;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 2.5rem auto;
}

/* PARALLAX */
.parallax {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 5, 5, 0.5);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* GALERÍA */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
    border: 1px solid var(--gold-dim);
    aspect-ratio: 4 / 3;
    margin: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(to top, rgba(5,5,5,0.95), transparent);
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--font-sans);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.gallery-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-dark);
    border-top: 1px solid var(--gold-dim);
    color: var(--text-gray);
}

/* ANIMACIONES */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .parallax { background-attachment: scroll; }
    .section { padding: 5rem 2rem; }
}
