/* ============================================================================
   Landing Theme — White/Orange/Purple (matches goldenpass.cl WordPress)
   Separate from app.css (dark theme) to avoid conflicts.
   ============================================================================ */

:root {
    --lnd-primary: #F5A623;
    --lnd-primary-dark: #E09300;
    --lnd-secondary: #510C76;
    --lnd-secondary-dark: #3a0856;
    --lnd-bg: #FFFFFF;
    --lnd-bg-alt: #F8F9FA;
    --lnd-text: #1a1a2e;
    --lnd-text-muted: #6c757d;
    --lnd-header-h: 72px;
}

/* ── Layout ── */
.lnd-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--lnd-bg);
    color: var(--lnd-text);
    font-family: 'Inter', sans-serif;
}

.lnd-main {
    flex: 1;
}

/* ── Header ── */
.lnd-header {
    height: var(--lnd-header-h);
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.lnd-header-inner {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lnd-header-logo img {
    height: 44px;
    display: block;
}

.lnd-header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.lnd-header-nav a {
    color: var(--lnd-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.lnd-header-nav a:hover,
.lnd-header-nav a.active {
    color: var(--lnd-primary);
    border-bottom-color: var(--lnd-primary);
}

.lnd-btn-account {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--lnd-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

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

.lnd-btn-account svg {
    width: 18px;
    height: 18px;
}

/* ── Mobile hamburger ── */
.lnd-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--lnd-text);
}

.lnd-hamburger svg { width: 28px; height: 28px; }

.lnd-mobile-nav {
    display: none;
    position: fixed;
    top: var(--lnd-header-h);
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    z-index: 99;
    flex-direction: column;
    gap: 1rem;
}

.lnd-mobile-nav.open { display: flex; }

.lnd-mobile-nav a {
    color: var(--lnd-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
}

/* ── Carousel ── */
.lnd-carousel {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0 0 1rem 1rem;
}

.lnd-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.lnd-carousel-slide {
    min-width: 100%;
    position: relative;
}

.lnd-carousel-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.lnd-carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
}

.lnd-carousel-overlay h2 { font-size: 2rem; font-weight: 800; margin: 0; }
.lnd-carousel-overlay p { font-size: 1.1rem; opacity: 0.9; margin: 0.25rem 0 0; }

.lnd-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    z-index: 2;
    transition: background 0.2s;
}

.lnd-carousel-btn:hover { background: #fff; }
.lnd-carousel-btn.prev { left: 1rem; }
.lnd-carousel-btn.next { right: 1rem; }

.lnd-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
}

.lnd-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.lnd-carousel-dot.active { background: var(--lnd-primary); }

/* ── Search Bar ── */
.lnd-search {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.lnd-search input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    color: var(--lnd-text);
}

.lnd-search input:focus { border-color: var(--lnd-primary); }
.lnd-search input::placeholder { color: #aaa; }

.lnd-search-btn {
    padding: 0.85rem 2rem;
    background: var(--lnd-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s;
}

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

/* ── Features Banner ── */
.lnd-features {
    background: var(--lnd-primary);
    padding: 2.5rem 2rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.lnd-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
}

.lnd-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lnd-feature-icon svg,
.lnd-feature-icon i {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #fff;
}

.lnd-feature-title {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

/* ── Event Grid ── */
.lnd-events-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.lnd-events-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lnd-text);
    margin-bottom: 2rem;
    text-align: center;
}

.lnd-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.lnd-event-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.lnd-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.lnd-event-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.lnd-event-card-body {
    padding: 1.25rem;
}

.lnd-event-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--lnd-text);
}

.lnd-event-card-info {
    font-size: 0.85rem;
    color: var(--lnd-text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.lnd-event-card-info svg { width: 16px; height: 16px; flex-shrink: 0; }

.lnd-event-card-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background: var(--lnd-primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background 0.2s;
}

.lnd-event-card-btn:hover { background: var(--lnd-primary-dark); }

/* ── Footer ── */
.lnd-footer {
    background: linear-gradient(135deg, var(--lnd-secondary), var(--lnd-secondary-dark));
    color: #fff;
    padding: 3rem 2rem 1.5rem;
}

.lnd-footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}

.lnd-footer-brand img { max-width: 180px; margin-bottom: 1rem; }
.lnd-footer-brand p { font-size: 0.85rem; opacity: 0.8; line-height: 1.6; }

.lnd-footer-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    color: var(--lnd-primary);
}

.lnd-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lnd-footer-links li { margin-bottom: 0.5rem; }

.lnd-footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.lnd-footer-links a:hover { color: #fff; }

.lnd-footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.lnd-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
}

.lnd-footer-social a:hover { background: rgba(255,255,255,0.3); }
.lnd-footer-social svg { width: 20px; height: 20px; }

.lnd-footer-bottom {
    max-width: 1280px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .lnd-header-nav { display: none; }
    .lnd-hamburger { display: block; }
    .lnd-footer-grid { grid-template-columns: 1fr 1fr; }
    .lnd-features { gap: 2rem; }
}

@media (max-width: 768px) {
    .lnd-carousel-slide img { height: 280px; }
    .lnd-footer-grid { grid-template-columns: 1fr; }
    .lnd-events-grid { grid-template-columns: 1fr; }
    .lnd-search { flex-direction: column; }
    .lnd-features { flex-direction: column; align-items: center; gap: 1.5rem; }
}

/* ── Static page content ── */
.lnd-page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    line-height: 1.8;
    color: var(--lnd-text);
}

.lnd-page-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 1.5rem; }
.lnd-page-content h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; }
.lnd-page-content h3 { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 0.75rem; }
.lnd-page-content p { margin-bottom: 1rem; }
.lnd-page-content ul, .lnd-page-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.lnd-page-content a { color: var(--lnd-primary); text-decoration: underline; }
.lnd-page-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }

/* ── Loading ── */
.lnd-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #eee;
    border-top-color: var(--lnd-primary);
    border-radius: 50%;
    animation: lnd-spin 0.8s linear infinite;
}

@keyframes lnd-spin { to { transform: rotate(360deg); } }

/* ── No results ── */
.lnd-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--lnd-text-muted);
}

.lnd-empty svg { width: 64px; height: 64px; margin-bottom: 1rem; opacity: 0.4; }
