/* ===================== ESTILOS BASE ===================== */
.piercing-section {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 4rem 1rem;
    text-align: center;
    border-top: 2px solid #3b9344;
    border-bottom: 2px solid #3b9344;
}

.piercing-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #eeb914;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.piercing-section p {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    max-width: 900px;
    margin: 0 auto 2rem auto;
    line-height: 1.8;
    color: #ddd;
}

.piercing-section .btn {
    font-size: 1.25rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #eeb914;
    color: #000;
    font-weight: 600;
    border: 2px solid #3b9344;
}

.piercing-section .btn:hover {
    background: #3b9344;
    color: #fff;
    transform: scale(1.05);
}

/* ===================== ANIMACIÓN ===================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    opacity: 0;
    animation: fadeUp 0.8s forwards;
}

.fade-up:nth-child(1) { animation-delay: 0.2s; }
.fade-up:nth-child(2) { animation-delay: 0.4s; }
.fade-up:nth-child(3) { animation-delay: 0.6s; }

/* ===================== ESTILOS EXISTENTES PIERCING ===================== */
.piercing-descripcion {
    color: #ccc;
    max-width: 800px;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.7;
    padding-bottom: 0.5rem;
    margin: 0 auto;
    text-align: left;
}

/* ===================== ESTILOS ARTISTAS / ANILLADORES ===================== */
.artistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    justify-content: center;
}

.artista-card { 
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 15px;
    overflow: hidden;
    transform: scale(0.95);
    opacity: 0;
    animation: zoomIn 0.8s forwards;
    background: linear-gradient(145deg, rgba(59,147,68,0.6), rgba(238,185,20,0.6));
    border: 2px solid #3b9344;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.artista-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.artista-card:hover img {
    filter: brightness(60%) blur(1.5px);
    transform: scale(1.08) rotate(1deg);
}

.artista-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.artista-card:hover .artista-info {
    opacity: 1;
    transform: translateY(0);
}

.artista-info h1 {
    color: #3b9344;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 0.2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.artista-info .btn {
    margin: 0.3rem;
    font-size: clamp(0.9rem, 1.5vw, 1.5rem);
    border-radius: 5px;
    padding: 0.5rem 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.artista-info .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.artista-info .instagram a {
    color: #fff;
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
    margin-top: -5px;
    margin-bottom: 0.3rem;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s;
}

.artista-info .instagram a:hover {
    color: #eeb914;
}

.invitado-card {
    border: 2px dashed #eeb914 !important;
    background: linear-gradient(145deg, rgba(238,185,20,0.5), rgba(59,147,68,0.5));
}

/* ===================== ANIMACIÓN ZOOM ===================== */
@keyframes zoomIn { to { transform: scale(1); opacity: 1; } }

/* ===================== ESTILOS CARRUSEL TRABAJOS ===================== */
.trabajos-section {
    background: transparent !important;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.carrusel-trabajos {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 4rem;
}

.carrusel-container {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

.carrusel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1rem;
}

.trabajo-item {
    min-width: calc(33.333% - 1rem);
    flex: 0 0 calc(33.333% - 1rem);
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    background: transparent;
}

.trabajo-item:hover { transform: translateY(-5px); }

.trabajo-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.trabajo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.trabajo-item:hover .trabajo-info {
    transform: translateY(0);
}

.trabajo-ubicacion { color: #eeb914; font-size: 2rem; font-weight: 600; }
.trabajo-autor { font-size: 1.5rem; opacity: 0.9; }

/* Flechas del carrusel */
.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    border: 2px solid #eeb914;
    color: #eeb914;
    width: 60px; height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}

.carrusel-btn:hover {
    background: #eeb914;
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.carrusel-btn:disabled {
    opacity: 0.5; cursor: not-allowed;
    background: #666; border-color: #999; color: #999;
}

.carrusel-btn:disabled:hover { transform: translateY(-50%) scale(1); }

.carrusel-btn.prev { left: 10px; }
.carrusel-btn.next { right: 10px; }

.carrusel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carrusel-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carrusel-dot.active { background: #eeb914; }

/* Estado de carga */
#cargando { color: #eeb914; display: none; }

/* ================== MODAL (OVERLAY) ====================== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex; justify-content: center; align-items: center;
    z-index: 9999; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    position: relative;
    max-width: 90%; max-height: 90%;
    display: flex; justify-content: center; align-items: center;
    animation: modalZoomIn 0.3s ease;
}

@keyframes modalZoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.modal-image-container { position: relative; max-width: 100%; max-height: 100%; display: flex; justify-content: center; align-items: center; }

.modal-image {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.8);
    border: 2px solid #eeb914;
}

.modal-close,
.modal-nav {
    background: rgba(0,0,0,0.7);
    border: 2px solid #eeb914;
    color: #eeb914;
    font-size: 2.5rem;
    cursor: pointer;
    display: flex; justify-content: center; align-items: center;
    transition: all 0.3s ease; z-index: 10000;
}

.modal-close { position: fixed; top: 20px; right: 25px; width: 60px; height: 60px; border-radius: 50%; }
.modal-close:hover { background: #eeb914; color: #000; transform: scale(1.1); }

.modal-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 70px; height: 70px; border-radius: 50%; }
.modal-prev { left: 25px; }
.modal-next { right: 25px; }
.modal-nav:hover { background: #eeb914; color: #000; transform: translateY(-50%) scale(1.1); }

.modal-counter {
    position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: 1.2rem;
    background: rgba(0,0,0,0.7); padding: 8px 16px;
    border-radius: 20px; border: 1px solid #3b9344; z-index: 10000;
}

/* Responsive */
@media (max-width: 768px) {
    .trabajo-item { min-width: calc(50% - 1rem); flex: 0 0 calc(50% - 1rem); }
    .carrusel-trabajos { padding: 0 3rem; }
    .carrusel-btn { width: 50px; height: 50px; }
}

@media (max-width: 480px) {
    .trabajo-item { min-width: 100%; flex: 0 0 100%; }
    .carrusel-trabajos { padding: 0 2rem; }
}

/* ===== ELIMINAR PADDING DEL MAIN CONTENT EN PIERCING ===== */
@media (max-width: 768px) {
    .main-content { padding: 0.5 !important; }
}
