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

:root {
    --bg-dark: #000000;
    --bg-darker: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent: #ff6b00;
    --accent-hover: #ff8c00;
}

body {
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor */
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

.loading-logo-img {
    max-width: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .loading-logo-img {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto; /* Show default cursor on mobile */
    }
    
    .custom-cursor,
    .custom-cursor-dot {
        display: none !important;
    }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 35px;
    height: 35px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background-color: rgba(255, 107, 0, 0.1);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-width 0.3s ease;
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    position: fixed;
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    border-width: 3px;
    background-color: rgba(255, 107, 0, 0.2);
}

.custom-cursor-dot.hover {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #000;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1001;
    filter: invert(100%);
}

.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    height: 40px;
}

.nav-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-menu-toggle:hover span {
    background-color: var(--accent);
}

.nav-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    padding: 8px 12px;
}

.nav-link:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 26, 0.7) 100%),
                url('hero.jpg');
    background-size: 150%;
    background-position: 55% 25%;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 40px;
    padding-bottom: 100px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    padding: 40px 20px 20px 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    overflow: visible;
    min-height: 1em;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.hero-eleven {
    display: inline-block !important;
    transform: translateY(20px);
    position: relative;
    z-index: 2;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 769px) {
    .hero-eleven {
        transform: translateY(45px);
        backface-visibility: hidden;
        -webkit-font-smoothing: antialiased;
    }
}

.hero-workshop {
    display: inline-block;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 24px;
}

.coming-soon {
    font-weight: 700;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
}

.release-date {
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
}

@media (min-width: 769px) {
    .release-date {
        transform: translateY(-10px);
    }
}

.platforms {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 18px;
    opacity: 0.8;
    flex-wrap: wrap;
}

.platforms span {
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.platforms span:hover {
    border-color: var(--accent);
    background-color: rgba(255, 107, 0, 0.1);
    transform: translateY(-2px);
}

.platforms .platform-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 35px;
}

.btn-trailer {
    background-color: #ff0000;
    color: var(--text-primary);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid #ff0000;
}

.btn-trailer:hover {
    background-color: #cc0000;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
    border-color: #cc0000;
}

/* Intro Section */
.intro-section {
    padding: 60px 20px;
    background-color: var(--bg-darker);
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.intro-content {
    flex: 1;
    text-align: left;
}

.intro-image {
    flex-shrink: 0;
}

.bilde-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.services-section .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 10px !important;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Character Sections */
.character-section {
    padding: 40px 20px 60px 20px;
    background-color: var(--bg-dark);
}

.character-section.alt {
    background-color: var(--bg-darker);
    padding: 20px 20px 60px 20px;
}

.character-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.character-section.alt .character-container {
    direction: rtl;
}

.character-section.alt .character-content {
    direction: ltr;
}

.character-image {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.jason-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
    transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.55s ease;
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 107, 0, 0);
}

.jason-image.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.jason-image.fade-in {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.3);
    animation: glowPulse 1.3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 107, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 107, 0, 0.5);
    }
}

.character-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.55s ease;
    pointer-events: none;
    z-index: 1;
}

.character-image.transitioning::after {
    border-color: var(--accent);
    animation: borderGlow 0.7s ease-in-out;
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(255, 107, 0, 0.3);
        box-shadow: inset 0 0 20px rgba(255, 107, 0, 0.2);
    }
    50% {
        border-color: var(--accent);
        box-shadow: inset 0 0 40px rgba(255, 107, 0, 0.4);
    }
}

.placeholder-image {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}

.character-image iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    border: none;
}

.character-content {
    padding: 20px;
}

.character-name {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.character-tagline {
    font-size: 20px;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 25px;
    font-weight: 300;
}

.character-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.character-quotes {
    margin: 30px 0;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}

.quote {
    font-size: 18px;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    color: var(--text-primary);
}

.contact-item:hover i {
    color: var(--accent);
    transform: scale(1.1);
}

.character-quote {
    font-size: 20px;
    font-style: italic;
    color: var(--accent);
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(255, 107, 0, 0.1);
    border-left: 4px solid var(--accent);
    font-weight: 500;
}

/* Location Sections */
.location-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--bg-dark);
}

.location-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
    padding: 10px 0;
}

.location-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
}

.location-link:hover::after {
    width: 100%;
}

.location-link:hover {
    color: var(--accent-hover);
}

/* CTA Section */
.cta-section {
    padding: 120px 20px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    text-align: center;
}

.cta-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.cta-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    font-size: 24px;
}

.btn-wishlist {
    background-color: var(--accent);
    color: var(--text-primary);
    border: none;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 30px;
}

.btn-wishlist:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}

.wishlist-platforms {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.platform-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.platform-link:hover {
    color: var(--accent);
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    padding: 80px 20px 40px;
    opacity: 1;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    z-index: 1;
    display: block;
}

.footer-creator {
    text-align: center;
}

.btn-call-aivars:hover {
    background-color: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
}

.footer-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.footer-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 1.3vw, 0.95rem);
    line-height: 1.6;
}

.footer-contact-item i {
    font-size: 1.1rem;
    color: var(--accent);
    width: 20px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 107, 0, 0.1);
    border: 2px solid rgba(255, 107, 0, 0.3);
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent);
    color: var(--text-primary);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        background-color: #000;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 30px 20px;
        gap: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 14px;
        width: 100%;
        padding: 15px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: block;
    }

    .nav-link:hover {
        background-color: rgba(255, 107, 0, 0.1);
        padding-left: 15px;
    }

    .character-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .character-section.alt .character-container {
        direction: ltr;
    }

    .character-image {
        min-height: 300px;
    }

    .intro-section {
        padding-bottom: 0 !important;
        margin-bottom: -20px;
    }

    .intro-section + .character-section {
        padding-top: 0 !important;
        margin-top: -20px;
        padding-bottom: 40px !important;
        border-bottom: 2px solid rgba(255, 107, 0, 0.3);
    }

    .character-section + .character-section {
        padding-top: 0 !important;
        margin-top: -20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: -20px;
    }

    .btn-trailer {
        width: 100%;
        max-width: 300px;
    }

    .hero {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .platforms {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .platforms .platform-link {
        width: 100%;
        max-width: 300px;
        display: block;
    }

    .platforms span {
        width: 100%;
        display: block;
        text-align: center;
        box-sizing: border-box;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .service-card {
        padding: 30px 20px;
    }

    @media (max-width: 768px) {
        .hero-content {
            overflow: visible;
        }

        .hero-title {
            overflow: visible;
            min-height: auto;
            color: var(--text-primary);
        }

        .hero-eleven {
            transform: translateY(15px);
            display: inline-block !important;
            visibility: visible !important;
            opacity: 1 !important;
            color: var(--text-primary) !important;
            background: none !important;
            -webkit-background-clip: unset !important;
            -webkit-text-fill-color: var(--text-primary) !important;
            background-clip: unset !important;
            backface-visibility: hidden;
            -webkit-font-smoothing: antialiased;
        }

        .hero-workshop {
            display: inline-block !important;
            visibility: visible !important;
            color: var(--text-primary);
        }

        .services-grid {
            grid-template-columns: 1fr !important;
            gap: 30px;
            width: 100% !important;
            max-width: 100% !important;
            padding: 0 20px !important;
        }

        .service-card {
            min-width: auto !important;
            width: 100% !important;
            max-width: 100% !important;
        }

        .features-slide-wrapper {
            overflow: hidden;
        }

        .features-slide-track {
            gap: 30px;
            justify-content: flex-start;
            width: fit-content;
            animation: slideFeatures 30s linear infinite;
        }

        .feature-slide-item {
            padding: 8px 15px;
        }

        .feature-slide-text {
            font-size: 0.9rem;
        }

        .feature-slide-icon {
            width: 40px;
            height: 40px;
        }

        .feature-slide-icon i {
            font-size: 1.2rem;
        }
    }

    .intro-container {
        flex-direction: column;
        text-align: center;
    }

    .intro-content {
        text-align: center;
    }

    .bilde-img {
        max-width: 100%;
    }

    .youtube-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .youtube-section {
        padding: 60px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-section {
        align-items: center;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }
    
    .footer {
        padding-top: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 50px;
    }

    .character-section,
    .intro-section,
    .location-section,
    .cta-section {
        padding: 60px 20px;
    }
}

/* Features Slide Section */
.features-slide-section {
    background-color: var(--bg-darker);
    padding: 30px 0;
    margin: 0;
    overflow: visible;
    border-top: 2px solid rgba(255, 107, 0, 0.2);
    border-bottom: 2px solid rgba(255, 107, 0, 0.2);
    display: flex;
    align-items: center;
    min-height: 100px;
    position: relative;
}

.features-slide-wrapper {
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.features-slide-track {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    flex-wrap: nowrap;
    animation: slideFeatures 30s linear infinite;
    will-change: transform;
}

@keyframes slideFeatures {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

.feature-slide-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    flex: 0 0 auto;
    min-width: fit-content;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.feature-slide-item:hover {
    transform: translateY(-3px);
}

.feature-slide-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(255, 140, 0, 0.1));
    border: 2px solid rgba(255, 107, 0, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-slide-item:hover .feature-slide-icon {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.4), rgba(255, 140, 0, 0.2));
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.4);
    transform: scale(1.1);
}

.feature-slide-icon i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.feature-slide-item:hover .feature-slide-icon i {
    color: var(--accent-hover);
}

.feature-slide-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Services Section */
.services-section {
    padding: 40px 20px 80px 20px;
    background-color: var(--bg-dark);
    width: 100%;
    max-width: 100%;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: 30px;
    max-width: 85%;
    width: 85%;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    width: 100%;
    min-width: 300px;
    max-width: 100%;
    background-color: var(--bg-darker);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(255, 140, 0, 0.1));
    border: 2px solid rgba(255, 107, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.4), rgba(255, 140, 0, 0.2));
    border-color: var(--accent);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.4);
}

.service-icon i {
    font-size: 2rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: var(--accent-hover);
    transform: scale(1.1);
}

.service-icon-image {
    overflow: hidden;
}

.service-icon-image img,
.service-krasa-image,
.service-virsbuve-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    filter: brightness(0) saturate(100%) invert(48%) sepia(93%) saturate(1352%) hue-rotate(0deg) brightness(102%) contrast(101%);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-image img,
.service-card:hover .service-krasa-image,
.service-card:hover .service-virsbuve-image {
    filter: brightness(0) saturate(100%) invert(48%) sepia(93%) saturate(1352%) hue-rotate(0deg) brightness(120%) contrast(101%);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid rgba(255, 107, 0, 0.3);
    border-radius: 6px;
}

.service-link:hover {
    color: var(--text-primary);
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateX(5px);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* YouTube Videos Section */
.youtube-section {
    padding: 50px 20px 50px 20px;
    background-color: var(--bg-darker);
    border-top: 2px solid rgba(255, 107, 0, 0.2);
    border-bottom: 2px solid rgba(255, 107, 0, 0.2);
}

.youtube-header {
    text-align: center;
    margin-bottom: 60px;
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.youtube-card-desktop {
    display: block;
}

.youtube-slider-wrapper {
    display: none;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.youtube-slider-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 40px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.youtube-slider-track .youtube-card {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.youtube-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

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

.youtube-dots .dot.active {
    background-color: var(--accent);
    width: 30px;
    border-radius: 6px;
}

.youtube-card {
    background-color: var(--bg-dark);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.youtube-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.2);
}

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-image {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.youtube-image:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    border: 3px solid var(--text-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.play-button-overlay i {
    font-size: 2rem;
    color: var(--text-primary);
    margin-left: 5px;
}

.youtube-image:hover .play-button-overlay {
    width: 90px;
    height: 90px;
    background: rgba(255, 107, 0, 1);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.5);
}

/* Under Construction Page */
.construction-icon {
    animation: rotateTools 3s ease-in-out infinite;
}

@keyframes rotateTools {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.construction-text {
    animation: fadeInUp 1s ease-out;
}

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

.construction-info a:hover {
    color: var(--accent);
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .play-button-overlay {
        display: none;
    }

    .intro-section {
        display: none !important;
    }

    .youtube-grid {
        display: none !important;
    }

    .youtube-section .container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        width: 100%;
    }

    .youtube-header {
        padding: 0 20px;
    }

    .youtube-slider-wrapper {
        display: block;
        padding: 0;
        margin: 0;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        position: relative;
        clip-path: inset(0);
    }

    .youtube-slider-track {
        gap: 0;
        margin: 0;
        padding: 0;
        display: flex;
        width: 100%;
    }

    .youtube-slider-track > a {
        display: block;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
        box-sizing: border-box;
        position: relative;
    }

    .youtube-slider-track .youtube-card {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        flex-shrink: 0;
        position: relative;
    }

    .youtube-dots {
        display: flex;
    }
}

.youtube-title {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    white-space: nowrap;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

