@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --brutal-black: #111111;
    --brutal-white: #ffffff;
    --brutal-yellow: #FFE66D;
    --brutal-pink: #FF6B6B;
    --brutal-blue: #4ECDC4;
    --brutal-green: #95D5B2;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--brutal-white);
    color: var(--brutal-black);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.brutal-border {
    border: 2px solid var(--brutal-black);
}

.brutal-shadow {
    box-shadow: 4px 4px 0px 0px var(--brutal-black);
}

.brutal-shadow-sm {
    box-shadow: 2px 2px 0px 0px var(--brutal-black);
}

.brutal-shadow-hover:hover {
    box-shadow: 1px 1px 0px 0px var(--brutal-black);
    transform: translate(3px, 3px);
}

.text-outline {
    -webkit-text-stroke: 1px var(--brutal-black);
    color: transparent;
}

.text-outline-white {
    -webkit-text-stroke: 1px var(--brutal-white);
    color: transparent;
}

.bg-grid-pattern {
    background-image: linear-gradient(var(--brutal-black) 1px, transparent 1px),
    linear-gradient(90deg, var(--brutal-black) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    opacity: 0.05;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--brutal-white);
    border-left: 3px solid var(--brutal-black);
}
::-webkit-scrollbar-thumb {
    background: var(--brutal-black);
    border: 2px solid var(--brutal-white);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brutal-pink);
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 100s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: var(--brutal-black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--brutal-white);
    font-family: 'Manrope', sans-serif;
    font-size: 4rem;
    font-weight: bold;
}

.video-overlay {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(2px);
}

/* Gallery Carousel */
.carousel-container {
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.carousel-slide {
    min-width: 100%; /* Default mobile: 1 slide per view */
    flex-shrink: 0;
    padding: 0 10px;
    transition: transform 0.5s ease-in-out;
}

@media (min-width: 768px) {
    .carousel-slide {
        min-width: 33.333%; /* Desktop: 3 slides per view */
    }
}

.carousel-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px; /* Fixed height for consistency */
    border: 2px solid var(--brutal-white);
    overflow: hidden;
}

.carousel-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area without distortion */
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: grayscale(100%);
}

.carousel-image-wrapper:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Hero Background Animations */
.hero-bg-container {
    position: absolute;
    inset: -20% -10%; /* Oversize to cover rotation edges */
    display: flex;
    gap: 20px;
    transform: rotate(-5deg);
    opacity: 0.6;
    filter: contrast(120%);
    z-index: 0;
    pointer-events: none;
    justify-content: center;
}

.hero-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 25%;
    min-width: 300px;
}

.hero-column img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: cover;
}

.scroll-up {
    animation: scroll-up 40s linear infinite;
}

.scroll-down {
    animation: scroll-down 45s linear infinite;
}

.scroll-up-slow {
    animation: scroll-up 55s linear infinite;
}

@keyframes scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scroll-down {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

/* Ended Program Style */
.ended-program {
    filter: grayscale(100%);
    pointer-events: none;
    position: relative;
    opacity: 0.8;
}

.ended-program::after {
    content: "ENDED";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 0, 0, 0.6);
    border: 6px solid rgba(255, 0, 0, 0.6);
    padding: 0.5rem 1.5rem;
    z-index: 50;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    border-radius: 8px;
}
