/* Global Styles */
html,
html * {
    cursor: url('assets/cursor/tabler--arrows-move-horizontal-white.png') 16 16, auto !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier', monospace;
    cursor: url('assets/cursor/tabler--arrows-move-horizontal-white.png') 16 16, auto !important;
}

html {
    background: #000000;
}

body {
    font-family: 'Courier', monospace;
    overflow: hidden;
    height: 100vh;
    background: #000000;
    color: #ffffff;
    cursor: url('assets/cursor/tabler--arrows-move-horizontal-white.png') 16 16, auto !important;
}

.carousel-container,
.carousel-wrapper,
.slide,
.slide-content,
.slide-title {
    cursor: url('assets/cursor/tabler--arrows-move-horizontal-white.png') 16 16, auto !important;
}

a,
button,
input,
textarea,
select,
.indicator,
.nav-btn {
    cursor: url('assets/cursor/tabler--arrows-move-horizontal-white.png') 16 16, pointer !important;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000000;
    cursor: url('assets/cursor/tabler--arrows-move-horizontal-white.png') 16 16, auto !important;
    touch-action: pan-y;
}

.carousel-container.dragging {
    cursor: grabbing !important;
}

.carousel-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Disable drag on specific elements */
.carousel-wrapper video,
.carousel-wrapper img,
.carousel-wrapper button,
.carousel-wrapper a,
.carousel-wrapper input,
.carousel-wrapper textarea {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

.slide {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin: 20px 0;
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.animations-ready .slide-title {
    animation: fadeInUp 1s ease-out forwards;
}

.slide:nth-child(1) .slide-title:nth-child(1),
.slide:nth-child(2) .slide-title:nth-child(1),
.slide:nth-child(3) .slide-title:nth-child(1),
.slide:nth-child(4) .slide-title:nth-child(1),
.slide:nth-child(5) .slide-title:nth-child(1),
.slide:nth-child(6) .slide-title:nth-child(1),
.slide:nth-child(7) .slide-title:nth-child(1),
.slide:nth-child(8) .slide-title:nth-child(1) {
    animation-delay: 0.2s;
}

.slide:nth-child(1) .slide-title:nth-child(2),
.slide:nth-child(2) .slide-title:nth-child(2),
.slide:nth-child(3) .slide-title:nth-child(2),
.slide:nth-child(4) .slide-title:nth-child(2),
.slide:nth-child(5) .slide-title:nth-child(2),
.slide:nth-child(6) .slide-title:nth-child(2),
.slide:nth-child(7) .slide-title:nth-child(2),
.slide:nth-child(8) .slide-title:nth-child(2) {
    animation-delay: 0.7s;
}

.slide:nth-child(1) .slide-title:nth-child(3),
.slide:nth-child(2) .slide-title:nth-child(3),
.slide:nth-child(3) .slide-title:nth-child(3),
.slide:nth-child(4) .slide-title:nth-child(3),
.slide:nth-child(5) .slide-title:nth-child(3),
.slide:nth-child(6) .slide-title:nth-child(3),
.slide:nth-child(7) .slide-title:nth-child(3),
.slide:nth-child(8) .slide-title:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 1.75rem;
        margin: 15px 0;
    }
}

/* Shared Video Styles */
.slide-video-bg {
    position: relative;
    overflow: hidden;
    background: #000000;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
    z-index: 0;
}

.slide-1-video .background-video {
    pointer-events: none;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.slide-2-video .background-video {
    pointer-events: none;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.slide-5-video .background-video {
    pointer-events: none;
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}

.white-flash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    animation: whiteFlashEffect 4s ease-in-out infinite;
}

@keyframes whiteFlashEffect {
    0%,
    100% {
        opacity: 0;
    }

    25% {
        opacity: 0.9;
    }

    50% {
        opacity: 0;
    }

    75% {
        opacity: 0.7;
    }
}

/* Video Play Button */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: transparent;
    border: none;
    cursor: pointer !important;
    padding: 0;
    transition: all 0.3s ease;
    opacity: 1;
    pointer-events: auto;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn:hover circle {
    fill: rgba(255, 255, 255, 0.3);
    stroke: rgba(255, 255, 255, 0.8);
}

.video-play-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Utility Classes */
.mt-10 {
    margin-top: 10px;
}

.video-play-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.color-red {
    color: rgb(255, 68, 68);
}

/* Global Typography - Standardized across all slides */
/* All Headings - Use slide 4 advertising header style */
h1, h2, h3, h4, h5, h6,
.slide-1-title,
.service-title,
.showcase-title,
.contact-heading,
.brands-header,
.believe-video-title .video-text,
.slide-title {
    font-size: 2rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
}

/* All Paragraphs - Standardized */
p,
.slide-1-text,
.service-description,
.showcase-description,
.contact-text,
.believe-quote,
.videography-quote {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 300 !important;
    margin-bottom: 0 !important;
}

/* Responsive Typography */
@media (max-width: 1024px) {
    h1, h2, h3, h4, h5, h6,
    .slide-1-title,
    .service-title,
    .showcase-title,
    .contact-heading,
    .brands-header,
    .believe-video-title .video-text,
    .slide-title {
        font-size: 1.75rem !important;
    }

    p,
    .slide-1-text,
    .service-description,
    .showcase-description,
    .contact-text,
    .believe-quote,
    .videography-quote {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 768px) {
    h1, h2, h3, h4, h5, h6,
    .slide-1-title,
    .service-title,
    .showcase-title,
    .contact-heading,
    .brands-header,
    .believe-video-title .video-text,
    .slide-title {
        font-size: 1.5rem !important;
    }

    p,
    .slide-1-text,
    .service-description,
    .showcase-description,
    .contact-text,
    .believe-quote,
    .videography-quote {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    h1, h2, h3, h4, h5, h6,
    .slide-1-title,
    .service-title,
    .showcase-title,
    .contact-heading,
    .brands-header,
    .believe-video-title .video-text,
    .slide-title {
        font-size: 1.25rem !important;
    }

    p,
    .slide-1-text,
    .service-description,
    .showcase-description,
    .contact-text,
    .believe-quote,
    .videography-quote {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
}
