/* --- Variables y Estilos Generales --- */
:root {
    --primary: #8B263E; /* Burdeos / Vino solemne */
    --primary-dark: #63192B;
    --accent: #D4AF37; /* Dorado sutil */
    --bg-color: #FAF8F5; /* Crema suave */
    --text-color: #2C2C2C;
    --text-light: #666666;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Lora', serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Cabecera y Navbar Responsive --- */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.logo {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 700;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition);
}

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

.btn-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
}

/* Botón Hamburguesa (Oculto en pantallas grandes) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* --- Media Queries para dispositivos móviles --- */
@media (max-width: 850px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 30px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(0,0,0,0.05);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        gap: 18px;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav a {
        font-size: 1.05rem;
        width: 100%;
        padding-bottom: 5px;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .btn-nav {
        text-align: center;
        width: 100%;
        padding: 10px;
        margin-top: 5px;
    }
}

/* --- Hero Section --- */
.hero {
    padding: 90px 0;
    background: linear-gradient(rgba(139, 38, 62, 0.04), rgba(212, 175, 55, 0.06)), var(--bg-color);
    text-align: center;
}

.hero-inner {
    max-width: 750px;
}

.hero h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* --- Botones --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

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

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

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

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

/* --- Secciones Comunes --- */
.section {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--white);
}

.text-center {
    text-align: center;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 10px;
    margin-bottom: 40px;
}

/* --- Tarjetas de Características --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background-color: var(--bg-color);
    padding: 35px 25px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.04);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature-card h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- Galería --- */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.gallery-info {
    padding: 20px;
}

.location {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.gallery-info h4 {
    font-size: 1.1rem;
    margin: 5px 0;
}

.gallery-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- Pasos de Participación --- */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    padding: 20px;
}

.step-num {
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin: 0 auto 15px auto;
}

.step h4 {
    margin-bottom: 10px;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- Footer --- */
footer {
    background-color: #222222;
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-sub {
    font-style: italic;
    margin-top: 8px;
    color: var(--accent);
}