/* Modern Variables */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #2c3e50;
    --accent-color: #ff6b6b;
    --background-dark: #1a1a1a;
    --background-light: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --gradient-primary: linear-gradient(135deg, #6c63ff 0%, #ff6b6b 100%);
    --transition-speed: 0.3s;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--background-dark);
    color: var(--text-primary);
}

/* Header Styles */
.header {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color var(--transition-speed);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--background-dark);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

/* Glitch Effect */
.glitch-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.glitch {
    font-size: 5rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 var(--accent-color),
                -0.05em -0.05em 0 var(--primary-color),
                0.05em 0.05em 0 #ff00ff;
    animation: glitch 1s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--accent-color),
                    -0.05em -0.05em 0 var(--primary-color),
                    0.05em 0.05em 0 #ff00ff;
    }
    14% {
        text-shadow: 0.05em 0 0 var(--accent-color),
                    -0.05em -0.05em 0 var(--primary-color),
                    0.05em 0.05em 0 #ff00ff;
    }
    15% {
        text-shadow: -0.05em -0.025em 0 var(--accent-color),
                    0.025em 0.025em 0 var(--primary-color),
                    -0.05em -0.05em 0 #ff00ff;
    }
    49% {
        text-shadow: -0.05em -0.025em 0 var(--accent-color),
                    0.025em 0.025em 0 var(--primary-color),
                    -0.05em -0.05em 0 #ff00ff;
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--accent-color),
                    0.05em 0 0 var(--primary-color),
                    0 -0.05em 0 #ff00ff;
    }
    99% {
        text-shadow: 0.025em 0.05em 0 var(--accent-color),
                    0.05em 0 0 var(--primary-color),
                    0 -0.05em 0 #ff00ff;
    }
    100% {
        text-shadow: -0.025em 0 0 var(--accent-color),
                    -0.025em -0.025em 0 var(--primary-color),
                    -0.025em -0.05em 0 #ff00ff;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: transform var(--transition-speed);
}

.social-link:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
}

/* Montages Section */
.montages-section {
    padding: 5rem 2rem;
    background-color: var(--background-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.montages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.montage-card {
    background: var(--background-dark);
    border-radius: 15px;
    overflow: hidden;
    transition: transform var(--transition-speed);
}

.montage-card:hover {
    transform: translateY(-10px);
}

.montage-thumbnail {
    aspect-ratio: 16/9;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-primary);
}

.montage-card h3 {
    padding: 1rem;
    font-size: 1.2rem;
}

.views-count {
    display: block;
    padding: 0 1rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Transitions Section */
.transitions-section {
    padding: 5rem 2rem;
    background-color: var(--background-dark);
}

.transitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.transition-card {
    background: var(--background-light);
    border-radius: 15px;
    overflow: hidden;
    transition: transform var(--transition-speed);
}

.transition-card:hover {
    transform: translateY(-10px);
}

.transition-preview {
    aspect-ratio: 16/9;
    background: var(--gradient-primary);
}

.transition-info {
    padding: 1.5rem;
}

.download-btn {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 5px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-speed);
}

.download-btn:hover {
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background-color: var(--background-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    padding: 1.5rem;
    background: var(--background-dark);
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-social {
    margin: 1rem 0;
}

.footer-social a {
    color: var(--text-secondary);
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: color var(--transition-speed);
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .glitch {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.6s ease-out forwards;
}


/* Add these new styles to the existing CSS file */

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transition: width 0.3s, height 0.3s;
    z-index: 1000;
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transition: transform 0.6s, background 0.3s;
    z-index: 1000;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-animation {
    text-align: center;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: var(--primary-color);
    animation: loading 1s infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-primary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* Services Section */
.services-section {
    padding: 5rem 2rem;
    background: var(--background-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    perspective: 1000px;
    height: 300px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 15px;
}

.service-card-back {
    transform: rotateY(180deg);
    background: var(--primary-color);
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Timeline Section */
.journey-section {
    padding: 5rem 2rem;
    background: var(--background-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    width: calc(50% - 50px);
    padding: 1.5rem;
    background: var(--background-dark);
    border-radius: 10px;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

/* Contact Form */
.contact-section {
    padding: 5rem 2rem;
    background: var(--background-dark);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--background-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--text-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-secondary);
    transition: all 0.3s;
    pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.submit-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    color: var(--text-primary);
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Showcase Slider */
.showcase-section {
    padding: 5rem 2rem;
    background: var(--background-light);
}

.showcase-slider {
    max-width: 1400px;
    margin: 0 auto;
}

.swiper-container {
    padding: 2rem 0;
}

.showcase-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.showcase-preview {
    position: relative;
    aspect-ratio: 16/9;
}

.showcase-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.play-btn:hover {
    transform: scale(1.1);
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }

    .service-card {
        height: 250px;
    }
}