
body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #6b21a8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7e22ce;
}

/* Animation for elements */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Delay animations for staggered effect */
.animation-delay-100 {
    animation-delay: 0.1s;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

/* Gradient text */
.text-gradient-purple {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
/* Custom shadow */
.shadow-purple-glow {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}
/* Package grid spacing */
.grid-cols-3 > * {
    margin-bottom: 1.5rem;
}

/* Project card styles */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

/* ============================================
   GALERÍA MASONRY — elenco general
   ============================================ */
.masonry-grid {
    column-count: 2;
    column-gap: 0.75rem;
}
@media (min-width: 640px) {
    .masonry-grid { column-count: 3; }
}
@media (min-width: 1024px) {
    .masonry-grid { column-count: 4; }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 0.75rem;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.masonry-item img {
    height: auto;
    width: 100%;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.25);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(168, 85, 247, 0.5);
}

/* ============================================
   VIDEOS
   ============================================ */
.video-card video {
    width: 100%;
    border-radius: 0.75rem;
    background: #111;
}
/* ============================================
   FILTRO CHICOS / CHICAS (portafolio)
   ============================================ */
[hidden] { display: none !important; }
.filtro-btn { color: #d8b4fe; background: transparent; }
.filtro-btn:hover { background: rgba(126, 34, 206, 0.3); }
.filtro-btn[aria-pressed="true"] { background: #7e22ce; color: #fff; border-color: #7e22ce; }
