.elementor-648 .elementor-element.elementor-element-7380deb{--display:flex;--position:absolute;top:0px;}body:not(.rtl) .elementor-648 .elementor-element.elementor-element-7380deb{left:0px;}body.rtl .elementor-648 .elementor-element.elementor-element-7380deb{right:0px;}.elementor-648 .elementor-element.elementor-element-481b08f{width:100%;max-width:100%;top:0px;}body:not(.rtl) .elementor-648 .elementor-element.elementor-element-481b08f{left:0px;}body.rtl .elementor-648 .elementor-element.elementor-element-481b08f{right:0px;}/* Start custom CSS for html, class: .elementor-element-481b08f */:root {
    --primary-color: #759cbc; /* Color celeste */
    --secondary-color: #ffffff; /* Púrpura real */
    --background-color: #ffffff;
    --text-color: #333333;
    --modal-background: rgba(0, 0, 0, 0.8);
    --accent-color: #ffffff; /* Color crema suave */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-secondary), sans-serif;
    background: var(--background-color);
    color: #ffffff;
    line-height: 1.6;
    padding-bottom: 0px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary), serif;
    color: #ffffff;
}

h1 { font-size: 2.5em; }

h2 { font-size: 2em; }

h3 { font-size: 1.75em; }
h4 { font-size: 1.5em; }
h5 { font-size: 1.25em; }
h6 { font-size: 1em; }

p {
    font-size: 1em;
    margin-bottom: 1em;
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
    background-color: var(--primary-color);
}

button {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

header {
    position: relative;
    height: 35vh;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 50%, #849b5b 100%);
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

.header-container {
    position: relative;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}

.event-info {
    color: white;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.event-name, .event-title {
    color: #ffffff;
    font-size: 30px;
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.event-title {
    font-size: 40px;
    font-weight: 900;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.event-date {
    font-family: var(--font-secondary);
    font-size: 20px;
    opacity: 0.9;
    font-weight: 500;
}

.decorative-divider {
    width: 0px;
    height: 0px;
    background: var(--primary-color);
    margin: 0px auto;
}

.categories-view {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 45vh);
    background: var(--accent-color, #f8f3e6);
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin: 10px 0 30px;
    text-align: center;
    position: relative;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    margin: 8px auto 0;
}

.carousel-container {
    width: 100%;
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px 0;
}

.carousel-slide {
    position: absolute;
    width: 160px;
    height: 320px;
    transform: translateX(calc(-50% + var(--offset, 0px)));
    opacity: var(--opacity, 0.6);
    z-index: var(--z-index, 0);
    transition: all 0.6s ease;
    pointer-events: all;
    will-change: transform, opacity;
    cursor: pointer;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
    --opacity: 1;
    --z-index: 2;
    transform: translateX(0%) scale(1.1);
    border: 0px solid var(--primary-color);
}

.carousel-slide:not(.active) {
    opacity: 0.8;
    transform: translateX(calc(-10% + var(--offset, 160px))) scale(0.9);
    filter: blur(0.5px);
}

.carousel-slide[data-position="-1"] {
    --offset: -100px;
    z-index: 1;
}

.carousel-slide[data-position="1"] {
    --offset: 100px;
    z-index: 1;
}

.category-card {
    width: 160px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--background-color);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    position: absolute;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    left: 50%;
    transform: translateX(-50%);
    border: none;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    background: var(--background-color);
    border-radius: 20px;
    overflow: hidden;
}

.card-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    position: absolute;
    top: 0;
    left: 0;
}

.category-card:hover .card-content img {
    transform: scale(1.08);
}

.card-content span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0.7) 50%,
        transparent 100%);
    color: white;
    font-size: 18px;
    font-family: var(--font-primary);
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.carousel-indicators {
    display: none;
}

.carousel-3d-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.carousel-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.gallery-view {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background-color: #f0f0f0;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
}

.gallery-item {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background-color: #fff;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 10px 20px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 90;
    width: 100%;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #666;
    font-size: 12px;
    font-family: var(--font-secondary);
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.nav-item i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.nav-item:hover i {
    transform: translateY(-2px);
    color: var(--primary-color);
}

.nav-item.active {
    color: var(--primary-color);
}

.upload-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-color);
    z-index: 200;
}

.upload-content {
    height: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
}

.image-upload-area {
    aspect-ratio: 2/3;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #f8f8f8;
}

.upload-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #666;
}

.upload-placeholder i {
    font-size: 32px;
    margin-bottom: 8px;
}

.image-preview {
    display: none;
    width: 100%;
    height: 100%;
}

.image-preview.active {
    display: block;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-size: 16px;
    resize: none;
    background: var(--background-color);
    color: var(--text-color);
}

.category-select {
    width: 50%;
    padding: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-size: 16px;
    margin-top: 20px;
    background: var(--background-color);
    color: var(--text-color);
    appearance: none;
}

.primary-button {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.primary-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modal-background);
    z-index: 300;
}

.lightbox-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    touch-action: pan-x pan-y pinch-zoom;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#lightbox-image {
    max-height: none;
    height: auto;
    width: 100%;
    object-fit: contain;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 310;
}

.nav-button.prev {
    left: 16px;
}

.nav-button.next {
    right: 16px;
}

.close-lightbox {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 310;
}

.image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 16px;
}

.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    z-index: 400;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-sizing: border-box;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) { 
    .gallery-container { 
        padding: 0; 
        margin: 0 auto; 
        width: 100%; 
        max-width: 100%; 
        justify-content: center; 
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
        margin-left: 97px; /* Ajusta este valor para mover hacia la derecha */
        margin-right: 10px; /* Mantiene un margen simétrico */
    } 
    .category-card { 
        width: 140px; 
        height: 200px; 
    } 
    .gallery-view { 
        width: 100%; 
    } 
} 
    
    /* Aseguramos que la galería ocupe todo el ancho disponible */
    .gallery-view {
        width: 100%;
        padding: 0;
    }
    
    /* Mejoramos la visualización de las imágenes en móvil */
    .gallery-item {
        aspect-ratio: 2/3;
    }
}

/* Estilos para el modal de PIN */
#pinModal {
  display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
}

#pinModal .modal-content {
    background-color: var(--background-color);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--accent-color);
    border-radius: 15px;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

#pinModal h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

#pinInput {
    width: 150px;
    padding: 10px;
    margin: 10px auto;
    display: block;
    font-size: 18px;
    text-align: center;
    letter-spacing: 5px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
}

#submitPin {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

#submitPin:hover {
    background-color: var(--accent-color);
}

.error-message {
    color: #ff3860;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

.close-pin {
    color: var(--text-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-pin:hover {
    color: var(--primary-color);
}

/* Mensaje flotante para notificaciones */
.mensaje-flotante {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(146, 183, 214, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    z-index: 2100;
    font-size: 16px;
    text-align: center;
    max-width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s;
}

.mensaje-flotante.ocultar {
    animation: fadeOut 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translate(-50%, 0); }
    to { opacity: 0; transform: translate(-50%, 20px); }
}/* End custom CSS */