:root {
    --jet-black: #0a0e27;
    --dark-bg: #1a1f3a;
    --gold-leaf: #d4af37;
    --gold-dark: #aa8c2c;
    --red-deep: #8b0000;
    --white: #ffffff;
    --light-gray: #e0e0e0;
    --gray: #a0a0a0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--jet-black);
    color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============= NAVBAR ============= */
.navbar {
    background: linear-gradient(135deg, var(--jet-black) 0%, var(--dark-bg) 100%);
    border-bottom: 2px solid var(--gold-leaf);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.navbar-brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: contain;
    background: #000;
    border: 2px solid var(--gold-leaf);
}

.navbar-brand {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--gold-leaf);
    font-weight: 400;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--gold-leaf);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-leaf);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* ============= HERO SECTION ============= */
.hero {
    background: linear-gradient(135deg, var(--jet-black) 0%, var(--dark-bg) 50%, var(--jet-black) 100%);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 3px solid var(--gold-leaf);
    justify-content: center;
}

.hero-content {
    animation: fadeInDown 0.8s ease;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
    animation: fadeInDown 0.6s ease;
}

.hero-title {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: var(--gold-leaf);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--red-deep);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--light-gray);
}

/* ============= SOBRE SECTION ============= */
.sobre-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--jet-black) 100%);
    border-bottom: 2px solid var(--gold-leaf);
}

.sobre-content {
    max-width: 800px;
    margin: 0 auto;
}

.sobre-texto {
    margin-bottom: 2.5rem;
}

.sobre-texto p {
    color: var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.sobre-texto strong {
    color: var(--gold-leaf);
}

.sobre-destacados {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.destacado-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--dark-bg);
    border: 1px solid var(--gold-dark);
    border-radius: 10px;
    transition: var(--transition);
}

.destacado-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold-leaf);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.destacado-item i {
    font-size: 2rem;
    color: var(--gold-leaf);
    margin-bottom: 0.8rem;
}

.destacado-numero {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.destacado-label {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.sobre-cta {
    text-align: center;
    font-size: 1.3rem;
    color: var(--gold-leaf);
    font-weight: 600;
    font-style: italic;
}

/* ============= SECTIONS ============= */
section {
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

section > .container {
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    color: var(--gold-leaf);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-leaf), var(--red-deep));
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* ============= VIDEOS SECTION ============= */
.videos-section {
    background: linear-gradient(180deg, var(--jet-black) 0%, var(--dark-bg) 50%, var(--jet-black) 100%);
    border-bottom: 2px solid var(--gold-leaf);
    padding-top: 50px;
    padding-bottom: 50px;
}

.videos-carousel-wrapper {
    position: relative;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.videos-carousel {
    overflow: hidden;
    flex: 1;
}

.videos-track {
    display: flex;
    gap: 15px;
    transition: transform 0.4s ease;
    align-items: stretch;
}

.videos-track .video-card {
    min-width: calc((100% - 30px) / 3);
    max-width: calc((100% - 30px) / 3);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.carousel-btn {
    flex-shrink: 0;
    font-size: 1.8rem;
    color: var(--white);
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.carousel-btn:hover {
    background: rgba(212, 175, 55, 0.4);
    border-color: var(--gold-leaf);
    color: var(--gold-leaf);
}

.video-card {
    background: var(--dark-bg);
    border: 1px solid var(--gold-dark);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.video-card:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-leaf);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 0.6rem 0.8rem;
}

.video-title {
    color: var(--gold-leaf);
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-description {
    color: var(--gray);
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-info .btn-detalles {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
}

@media (max-width: 900px) {
    .videos-track .video-card {
        min-width: calc((100% - 15px) / 2);
        max-width: calc((100% - 15px) / 2);
    }
}

@media (max-width: 600px) {
    .videos-track .video-card {
        min-width: 100%;
        max-width: 100%;
    }
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

/* ============= EVENTOS SECTION ============= */
.eventos-section {
    background: var(--jet-black);
    border-bottom: 2px solid var(--gold-leaf);
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.evento-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--dark-bg);
    border-left: 4px solid var(--gold-leaf);
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.evento-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.evento-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-leaf), var(--gold-dark));
    color: var(--jet-black);
    border-radius: 10px;
    min-width: 80px;
    font-weight: 700;
}

.evento-day {
    font-size: 1.8rem;
}

.evento-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.evento-content {
    flex: 1;
}

.evento-nombre {
    color: var(--gold-leaf);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.evento-lugar,
.evento-hora {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.evento-lugar i,
.evento-hora i {
    color: var(--red-deep);
    margin-right: 0.5rem;
}

/* ============= BUTTONS ============= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--gold-leaf);
    color: var(--jet-black);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--gold-leaf);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: scale(1.05);
}

.btn-comprar {
    background: var(--red-deep);
    border-color: var(--red-deep);
    color: var(--white);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.btn-comprar:hover {
    background: #a00000;
    border-color: #a00000;
}

.btn-detalles {
    font-size: 0.9rem;
}

.btn-back {
    margin-bottom: 2rem;
    background: transparent;
    color: var(--gold-leaf);
    border-color: var(--gold-leaf);
}

.btn-back:hover {
    background: var(--gold-leaf);
    color: var(--jet-black);
}

.btn-comprar-grande {
    background: var(--red-deep);
    border-color: var(--red-deep);
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-comprar-grande:hover {
    background: #a00000;
    border-color: #a00000;
}

/* ============= RECUERDOS SECTION ============= */
.recuerdos-section {
    background: var(--jet-black);
    border-bottom: 2px solid var(--gold-leaf);
}

.recuerdos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.recuerdo-card {
    background: var(--dark-bg);
    border: 1px solid var(--red-deep);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

.recuerdo-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.recuerdo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    border-color: var(--gold-leaf);
}

.recuerdo-content {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--dark-bg), var(--jet-black));
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.recuerdo-nombre {
    color: var(--gold-leaf);
    margin-bottom: 0.5rem;
}

.recuerdo-fecha {
    color: var(--red-deep);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.recuerdo-lugar {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-recuerdo {
    background: var(--red-deep);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============= FOTOS SECTION ============= */
.fotos-section {
    background: var(--jet-black);
    border-bottom: 2px solid var(--gold-leaf);
}

.albumes-carousel-wrapper {
    position: relative;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.albumes-carousel {
    flex: 1;
}

.albumes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.albumes-grid .album-card {
    display: none;
}

.albumes-grid .album-card.album-visible {
    display: block;
}

.album-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--gold-dark);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.album-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.album-card:hover {
    transform: scale(1.05);
    border-color: var(--gold-leaf);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.album-portada {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.album-portada-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--dark-bg), var(--red-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gold-leaf);
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-overlay h3 {
    color: var(--gold-leaf);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.album-count {
    color: var(--gray);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .albumes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .albumes-grid {
        grid-template-columns: 1fr;
    }
}

/* ============= ALBUM DETAIL ============= */
.album-detail-section {
    background: var(--jet-black);
    min-height: 100vh;
    padding-top: 60px;
}

.album-header {
    margin: 2rem 0;
}

.album-header h1 {
    color: var(--gold-leaf);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.album-desc {
    color: var(--gray);
    font-size: 1.1rem;
}

.imagenes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.imagen-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gold-dark);
    transition: var(--transition);
}

.imagen-item:hover {
    transform: scale(1.05);
    border-color: var(--gold-leaf);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.imagen {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.imagen-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 14, 39, 1), transparent);
    padding: 1.5rem;
    color: var(--white);
}

.imagen-info h4 {
    color: var(--gold-leaf);
    margin-bottom: 0.5rem;
}

.imagen-info p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.imagen-item {
    cursor: pointer;
}

/* ============= LIGHTBOX ============= */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--gold-leaf);
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: var(--white);
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(212, 175, 55, 0.4);
    border-color: var(--gold-leaf);
    color: var(--gold-leaf);
}

.lightbox-caption {
    color: var(--gold-leaf);
    font-size: 1.1rem;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }
}

/* ============= EVENTO DETAIL ============= */
.evento-detail-section {
    background: var(--jet-black);
    min-height: 100vh;
    padding-top: 60px;
}

.evento-header {
    text-align: center;
    margin: 2rem 0 3rem 0;
}

.evento-header h1 {
    color: var(--gold-leaf);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.evento-status {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.evento-status.proximo {
    background: linear-gradient(135deg, var(--gold-leaf), var(--gold-dark));
    color: var(--jet-black);
}

.evento-status.pasado {
    background: linear-gradient(135deg, var(--red-deep), #a00000);
    color: var(--white);
}

.evento-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--dark-bg);
    border-left: 4px solid var(--gold-leaf);
    border-radius: 10px;
}

.detail-item i {
    font-size: 1.8rem;
    color: var(--gold-leaf);
}

.detail-item h3 {
    color: var(--gold-leaf);
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: var(--light-gray);
}

.evento-descripcion {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--gold-dark);
    margin: 3rem 0;
}

.evento-descripcion h2 {
    color: var(--gold-leaf);
    margin-bottom: 1rem;
}

.evento-acciones {
    text-align: center;
    margin-top: 2rem;
}

/* ============= FOOTER ============= */
.footer {
    background: var(--dark-bg);
    border-top: 2px solid var(--gold-leaf);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    color: var(--gray);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--jet-black);
    color: var(--white);
    border: 2px solid var(--gray);
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--gold-leaf);
    border-color: var(--gold-leaf);
    transform: scale(1.1);
}

/* ============= NO CONTENT ============= */
.no-content {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--gray);
}

/* ============= ANIMATIONS ============= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============= RESPONSIVE ============= */
@media (max-width: 768px) {
    .navbar-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-logo {
        width: 140px;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .sobre-destacados {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sobre-texto p {
        font-size: 1rem;
    }

    .footer-content {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .evento-card {
        flex-direction: column;
    }

    .evento-date {
        width: 100%;
    }

    .evento-details {
        grid-template-columns: 1fr;
    }
}