/* ==================== BURITICA INTERACTIVE GALLERY ==================== */
:root {
    --collection-color: #ff3333;
    --transition-cinematic: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-impact: all 0.3s cubic-bezier(0.7, 0, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #000;
    color: white;
    overflow: hidden;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #000;
}

.gallery-slider {
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.2);
    filter: blur(10px) brightness(0.5) hue-rotate(20deg);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    clip-path: inset(0 0 100% 0);
}

.gallery-slide.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) brightness(1) hue-rotate(0deg);
    z-index: 2;
    clip-path: inset(0 0 0 0);
}

/* Variety Transitions */
.gallery-slide.glitch-out {
    animation: glitchEffect 0.5s forwards;
}

.gallery-slide.zoom-out {
    animation: zoomEffect 0.5s forwards;
}

.gallery-slide.slide-out {
    animation: slideEffect 0.5s forwards;
}

.gallery-slide.pixel-out {
    animation: pixelEffect 0.5s forwards;
}

@keyframes glitchEffect {
    0% {
        transform: scale(1) translate(0);
        filter: blur(0) hue-rotate(0);
        opacity: 1;
    }

    30% {
        transform: scale(1.05) translate(-10px, 5px);
        filter: blur(1px) hue-rotate(45deg);
        opacity: 0.8;
    }

    100% {
        transform: scale(0.9) translate(20px);
        filter: blur(10px) hue-rotate(90deg);
        opacity: 0;
    }
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
        filter: blur(0);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        filter: blur(20px);
        opacity: 0;
    }
}

@keyframes slideEffect {
    0% {
        transform: translateX(0) skewX(0);
        filter: blur(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%) skewX(-10deg);
        filter: blur(10px);
        opacity: 0;
    }
}

@keyframes pixelEffect {
    0% {
        clip-path: inset(0 0 0 0);
        filter: contrast(1);
        opacity: 1;
    }

    50% {
        filter: contrast(5) brightness(2);
    }

    100% {
        clip-path: inset(50% 50% 50% 50%);
        filter: contrast(10);
        opacity: 0;
    }
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 5;
    pointer-events: none;
}

/* Content Overlay */
.gallery-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 40px;
    pointer-events: none;
}

.text-top {
    text-align: left;
}

.text-bottom {
    text-align: center;
}

.main-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 950;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 5px;
    color: #fff;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--collection-color);
}

.slogan {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.cta-button {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--collection-color);
    color: #fff;
    padding: 20px 48px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px var(--collection-accent);
}

.cta-button:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px var(--collection-accent);
    background: #fff;
    color: #000;
}

.cta-button svg {
    width: 24px;
    height: 24px;
}

/* Navigation Exit */
.exit-link {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 100;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.exit-link:hover {
    opacity: 1;
}

/* Color Switcher (For demo/choice) */
.theme-selector {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    display: flex;
    gap: 15px;
}

.theme-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    transition: transform 0.2s;
}

.theme-dot:hover {
    transform: scale(1.3);
}

.dot-red {
    background: #ff3333;
}

.dot-blue {
    background: #33aaff;
}

.dot-gold {
    background: #ffcc00;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .main-title {
        letter-spacing: -1px;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .exit-link {
        top: 20px;
        left: 20px;
    }
}