/* Estilos para Notorious P.N.Wynn Custom Show */

/* Suaviza el desplazamiento al hacer clic en los enlaces del nav */
html {
    scroll-behavior: smooth;
}

/* Estilos adicionales para mejorar la experiencia visual */
body {
    font-family: 'Inter', sans-serif;
}

/* ============================================
   TIPOGRAFÍA NORMALIZADA
   ============================================ */

/* Títulos de sección normalizados */
.section-title {
    font-family: 'Bangers', cursive;
    font-size: 2.5rem; /* 40px */
    line-height: 1.2;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem; /* 48px */
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.5rem; /* 56px */
    }
}

/* Subtítulos de sección */
.section-subtitle {
    font-size: 1.25rem; /* 20px */
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.5rem; /* 24px */
    }
}

/* Mantener fuente Bangers para elementos específicos */
h1, .font-bangers-custom {
    font-family: 'Bangers', cursive;
    letter-spacing: 2px;
}

/* Animaciones personalizadas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Efectos hover mejorados */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Estilos para las tarjetas de galería */
.gallery-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.gallery-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Estilos para el header sticky */
.header-sticky {
    backdrop-filter: blur(10px);
    background-color: rgba(17, 24, 39, 0.8);
}

/* Estilos para botones */
.btn-primary {
    background-color: #fde047;
    color: #111827;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #facc15;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 224, 71, 0.4);
}

/* ============================================
   SECCIONES Y FONDOS ALTERNADOS
   ============================================ */

/* Padding estándar para secciones */
.section-padding {
    padding: 6rem 0;
}

/* Fondos alternados para secciones */
.section-bg-light {
    background-color: #ffffff;
    color: #1f2937; /* gray-800 */
}

.section-bg-light-alt {
    background-color: #afe0f4; /* brand-light-blue */
    color: #0a4a8d; /* brand-blue */
}

.section-bg-dark {
    background-color: #1f2937; /* gray-800 */
    color: #ffffff;
}

/* Colores de texto para cada fondo */
.section-bg-light .section-title,
.section-bg-light-alt .section-title {
    color: #0a4a8d; /* brand-blue */
}

.section-bg-dark .section-title {
    color: #fde047; /* brand-yellow */
}

/* Texto de párrafos con buen contraste */
.section-bg-light p {
    color: #374151; /* gray-700 */
}

.section-bg-light-alt p {
    color: #0a4a8d; /* brand-blue */
}

.section-bg-dark p {
    color: #d1d5db; /* gray-300 */
}

/* Enlaces en cada tipo de fondo */
.section-bg-light a,
.section-bg-light-alt a {
    color: #0a4a8d; /* brand-blue */
}

.section-bg-light a:hover,
.section-bg-light-alt a:hover {
    color: #075985; /* blue-800 */
}

.section-bg-dark a {
    color: #fde047; /* brand-yellow */
}

.section-bg-dark a:hover {
    color: #facc15; /* yellow-400 */
}

/* Estilos para texto destacado */
.text-highlight {
    color: #fde047;
    font-weight: bold;
}

/* Estilos para imágenes responsivas */
.img-responsive {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* ============================================
   HEADER Y FOOTER (MISMO COLOR)
   ============================================ */

/* Header y footer con el mismo fondo */
header,
footer {
    background-color: #111827; /* gray-900 */
}

header {
    background-color: rgba(17, 24, 39, 0.8); /* gray-900 con transparencia */
    backdrop-filter: blur(10px);
}

footer {
    background-color: #111827; /* gray-900 sólido */
    color: #9ca3af; /* gray-400 */
}

.footer-brand {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    color: #fde047; /* brand-yellow */
    margin-bottom: 0.5rem;
}

/* ============================================
   COMPONENTES REUTILIZABLES
   ============================================ */

/* Tarjetas de proceso */
.process-step {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.process-step:hover {
    border-color: #fde047;
    transform: translateY(-5px);
}

/* Piezas en blanco */
.blank-piece {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.blank-piece:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Tarjetas de información (Cuándo, Dónde, Contacto) */
.info-card {
    background-color: #ffffff;
    color: #1f2937; /* gray-800 - texto oscuro para legibilidad */
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Iconos siempre azules sobre fondo blanco */
.info-card svg {
    color: #0a4a8d; /* brand-blue */
}

/* Títulos siempre azules sobre fondo blanco */
.info-card h3 {
    color: #0a4a8d; /* brand-blue */
}

/* Texto principal oscuro para legibilidad */
.info-card p {
    color: #374151; /* gray-700 */
}

/* Texto secundario más claro pero legible */
.info-card p.text-sm {
    color: #6b7280; /* gray-500 */
}

/* Animación para números de proceso */
.process-number {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Estilos para la galería expandida */
.gallery-expanded {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Efectos especiales para las piezas en blanco */
.blank-gallery {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 1rem;
    padding: 1rem;
}

/* Estilos específicos para el slider de galería */
.gallery-slider-container {
    position: relative;
    padding: 0 4rem; /* Espacio para los botones de navegación */
}

.gallery-slider {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-slide {
    flex: 0 0 100%;
    width: 100%;
}

.gallery-slide .gallery-card {
    transform: scale(1);
    transition: transform 0.3s ease;
}

.gallery-slide .gallery-card:hover {
    transform: scale(1.02);
}

/* Botones de navegación */
.gallery-prev,
.gallery-next {
    z-index: 10;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev:active,
.gallery-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Indicadores */
.gallery-indicators {
    z-index: 10;
}

.gallery-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-indicator:hover {
    transform: scale(1.2);
}

.gallery-indicator.active {
    background-color: #fde047 !important;
    transform: scale(1.3);
}

/* Animaciones adicionales */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.gallery-slide {
    animation: slideIn 0.6s ease-out;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .gallery-slider-container {
        padding: 0 2rem;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .gallery-prev {
        left: 0.5rem;
    }
    
    .gallery-next {
        right: 0.5rem;
    }
    
    .gallery-slide .gallery-card img {
        height: 16rem; /* h-64 */
    }
    
    .gallery-slide .gallery-card .p-8 {
        padding: 1.5rem;
    }
    
    .gallery-slide .gallery-card h3 {
        font-size: 1.5rem;
    }
    
    .gallery-slide .gallery-card p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .gallery-slider-container {
        padding: 0 1rem;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 2rem;
        height: 2rem;
    }
    
    .gallery-slide .gallery-card img {
        height: 12rem; /* h-48 */
    }
    
    .gallery-slide .gallery-card .p-8 {
        padding: 1rem;
    }
    
    .gallery-slide .gallery-card h3 {
        font-size: 1.25rem;
    }
}

/* Media queries para responsive design */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .gallery-expanded {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .process-step {
        margin-bottom: 1rem;
    }
}

/* Estilos para el modal de galería de artistas */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

.modal-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.modal-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60%;
    min-height: 400px;
}

.modal-content {
    max-width: 85%;
    max-height: 75vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.modal-loader.hidden {
    display: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(253, 224, 71, 0.2);
    border-top-color: #fde047;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.modal-nav-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-nav-btn:hover {
    background-color: rgba(253, 224, 71, 0.2);
    border-color: #fde047;
    transform: scale(1.1);
}

.modal-nav-btn:active {
    transform: scale(0.95);
}

.modal-nav-btn svg {
    width: 24px;
    height: 24px;
}

.modal-indicators {
    margin-top: 1.5rem;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1001;
    background-color: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    color: #fde047; /* brand-yellow */
    background-color: rgba(0, 0, 0, 0.7);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
    }
    
    .modal-image-container {
        min-height: 300px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .modal-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .modal-nav-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .spinner {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }
}
