/* ==========================================================================
   ESTILOS PÁGINA EXPERIENCIAS (STAMPIA)
   ========================================================================== */

.stampia-experiences-layout {
    /*background-color: #fffcfc;*/
    padding-bottom: 80px;
    color: #334155;
}

/* --- HERO --- */
.exp-hero {
    background: linear-gradient(to bottom, #fff0f2, #fffcfc);
    padding: 100px 0 50px 0;
    text-align: center;
}
.exp-hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.exp-tag {
    display: inline-block;
    background: #fff0f2;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.exp-hero h1 {
    font-family: var(--font-serif, serif);
    color: #0D1B2A;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.2;
    margin: 0 0 16px 0;
}
.exp-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: #4a5568;
    margin: 0;
}

/* --- HEADERS DE SECCIÓN --- */
.exp-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
}
.exp-section-header h2 {
    font-family: var(--font-serif, serif);
    color: #0D1B2A;
    font-size: 28px;
    margin-bottom: 12px;
}
.exp-section-header p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* --- GALERÍA / RUTAS VALIDADAS --- */
.exp-validated-section {
    padding: 50px 0;
}
.exp-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.exp-photo-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}
.exp-photo-card:hover {
    transform: translateY(-5px);
}
.photo-placeholder {
    width: 100%;
    height: 220px;
    /*background-color: #cbd5e1; */
    position: relative;
}

.img-seoul-1 {
    background-image: url('../assets/img/stampia-travel-corea-sur.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.img-seoul-2 {
    background-image: url('../assets/img/stampia-travel-comida-local.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.img-japan-1 {
    background-image: url('../assets/img/stampia-travel-tren-bala.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.photo-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    color: #0D1B2A;
}
.photo-info {
    padding: 20px;
}
.photo-info h3 {
    font-family: var(--font-serif, serif);
    font-size: 18px;
    color: #0D1B2A;
    margin: 0 0 8px 0;
}
.photo-info p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* --- ESTILO STAMPIA (PILARES) --- */
.exp-lifestyle-section {
    background: white;
    padding: 70px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}
.exp-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.exp-pillar-item {
    text-align: center;
    padding: 20px;
}
.exp-pillar-item .pillar-icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.exp-pillar-item h3 {
    font-family: var(--font-serif, serif);
    font-size: 17px;
    color: #0D1B2A;
    margin: 0 0 8px 0;
}
.exp-pillar-item p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* --- TESTIMONIOS --- */
.exp-testimonials-section {
    padding: 70px 0 40px 0;
}
.exp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    border-left: 4px solid #d23f57;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.testimonial-card .stars {
    font-size: 14px;
    margin-bottom: 12px;
}
.testimonial-card .quote {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    font-style: italic;
    margin: 0 0 20px 0;
}
.author-info strong {
    display: block;
    font-size: 14px;
    color: #0D1B2A;
}
.author-info span {
    font-size: 12px;
    color: #94a3b8;
}

/* --- CTA FINAL --- */
.exp-cta-section {
    padding-top: 40px;
}
.exp-cta-card {
    background: #0D1B2A;
    color: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.exp-cta-card h2 {
    font-family: var(--font-serif, serif);
    font-size: 28px;
    margin: 0 0 12px 0;
}
.exp-cta-card p {
    color: #94a3b8;
    font-size: 15px;
    margin: 0 auto 24px auto;
}
.btn-exp-cta {
    display: inline-block;
    background: #d23f57;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.btn-exp-cta:hover {
    background: #b83247;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 768px) {
    .exp-hero { padding: 80px 0 30px 0; }
    .exp-section-header h2 { font-size: 22px; }
    .exp-cta-card { padding: 35px 20px; }
    .btn-exp-cta { display: block; width: 100%; box-sizing: border-box; }


    .exp-validated-section {
        padding: 50px 24px;
    }

    .exp-lifestyle-section {
        padding: 0 24px;
    }

    .exp-testimonials-section {
        padding: 0 24px;
    }
}






/* ============================================================
   SECCIÓN: GALERÍA MOSAICO DE EXPERIENCIAS
   ============================================================ */

.gallery-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.photo-masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
    margin-top: 40px;
}

.masonry-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efecto Hover */
.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.location-tag {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
}

/* TAMAÑOS ESPECIALES DE LA CUADRÍCULA */
.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .photo-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .item-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .item-wide {
        grid-column: span 2;
    }
}

@media (max-width: 550px) {
    .photo-masonry-grid {
        grid-template-columns: 1fr;
    }

    .item-large, .item-wide {
        grid-column: span 1;
    }
}


/* Indicador de que la imagen es clicleable */
.masonry-item {
    cursor: pointer;
}

/* ESTILOS DEL LIGHTBOX MODAL */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(13, 27, 42, 0.92); /* Fondo oscuro con el tono azul marino de Stampia */
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ffffff;
    padding: 16px 0;
    font-family: system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover {
    color: #d27484; /* Color rosa Stampia al pasar el cursor */
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}