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

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #f093fb;
    --dark: #0A0E27;
    --dark-light: #1a1f3a;
    --light: #FFFFFF;
    --gray: #A0AEC0;
    --success: #48bb78;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--light);
    background-color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cursor custom */
body {
    cursor: none;
}

.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 5%;
    box-shadow: 0 4px 30px rgba(102, 126, 234, 0.1);
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
}

.logo a {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    max-width: 200px;
}

@keyframes pulse-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.lang-toggle:hover {
    transform: scale(1.1);
}

.lang-toggle svg {
    display: block;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    border: 1px solid var(--primary);
    border-radius: 8px;
    margin-top: 10px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.flag-icon {
    display: inline-block;
    flex-shrink: 0;
}

.lang-option:first-child {
    border-radius: 8px 8px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 8px 8px;
}

.lang-option:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
}

.lang-option.active {
    color: var(--primary);
    background: rgba(102, 126, 234, 0.2);
}

/* Hero Section - Explosive */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #0A0E27 0%, #1a1f3a 50%, #1a1f3a 100%);
}

.hero-bg-animated {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 20%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 60%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(50px, -50px) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 101;
    text-align: left;
    max-width: 1200px;
    width: 100%;
    padding: 0 2%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-cta, .hero-title, .hero-subtitle {
    pointer-events: auto;
}

.hero-title {
    font-size: clamp(32px, 6vw, 70px);
    font-weight: 900;
    line-height: 0.9;
    margin-top: 0;
    margin-bottom: 10px;
    letter-spacing: -4px;
    opacity: 0;
    animation: slideUp 1s ease-out 0.3s forwards;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

.hero-spline {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 60%;
    height: 100%;
    z-index: 100;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

.hero-subtitle {
    font-size: clamp(18px, 3vw, 28px);
    color: var(--gray);
    margin-bottom: 25px;
    font-weight: 400;
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
    line-height: 1.3;
    opacity: 0;
    animation: slideUp 1s ease-out 0.6s forwards;
    text-align: left;
}

.hero-cta {
    display: flex;
    gap: 3.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    opacity: 0;
    margin-bottom: 40px;
    animation: slideUp 1s ease-out 0.9s forwards;
}

.btn {
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 14px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator::after {
    content: '↓';
    font-size: 24px;
}

/* Services Section */
.services-section {
    padding: 120px 5%;
    position: relative;
    background: var(--dark);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    padding: 8px 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.section-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.section-description {
    font-size: 20px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, var(--dark-light) 0%, rgba(26, 31, 58, 0.5) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 24px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 30px;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
}

.service-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    position: relative;
    z-index: 1;
}

.service-features li {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Portfolio Section */
.portfolio-section {
    padding: 0 5% 120px 5%;
    background: linear-gradient(180deg, #1a1f3a 0%, var(--dark-light) 50%, var(--dark) 100%);
}

/* Logo Carousel */
.logos-carousel {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-bottom: 80px;
    background: rgba(102, 126, 234, 0.05);
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    padding: 40px 0;
    overflow: hidden;
}

.logos-track {
    display: flex;
    gap: 60px;
    animation: scroll-logos 80s linear infinite;
    width: fit-content;
}

.logo-item {
    flex-shrink: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.logo-item img {
    height: 100%;
    width: auto;
    max-width: 180px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logos-carousel:hover .logo-item img {
    opacity: 1;
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    transition: all 0.5s ease, transform 0.4s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item:nth-child(1) {
    grid-column: span 2;
}

.portfolio-item.full-width {
    grid-column: span 2;
}

.portfolio-item.full-width .portfolio-overlay {
    pointer-events: none;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
    object-position: center;
    display: block;
}

spline-viewer.portfolio-image {
    background: #000;
}

.portfolio-image.contain {
    object-fit: contain;
    background: #000;
}

.portfolio-item video.portfolio-image.video-scaled {
    transform: scale(1.25);
}

.portfolio-item video.portfolio-image.video-scaled-motion {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 39, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.portfolio-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.portfolio-description {
    color: var(--gray);
    font-size: 16px;
}

/* Team Section */
.team-section {
    min-height: 100vh;
    padding: 120px 5%;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.team-member {
    text-align: left;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 40px;
}

.team-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member:hover .team-image {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.team-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 39, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

spline-viewer {
    width: 100%;
    height: 100%;
    display: block;
}

.team-spline {
    width: 350px;
    height: 350px;
    border-radius: 24px;
    flex-shrink: 0;
    display: block;
    overflow: hidden;
}

.team-info {
    flex: 1;
}

.team-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.team-role {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.team-social {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Automatisation Section */
.automatisation-section {
    padding: 120px 5%;
    background: var(--dark);
}

.automatisation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.automatisation-card {
    padding: 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(240, 147, 251, 0.05) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.automatisation-card:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(240, 147, 251, 0.1) 100%);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-8px);
}

.auto-icon {
    width: 80px;
    height: 80px;
    background: rgba(102, 126, 234, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.automatisation-card:hover .auto-icon {
    background: rgba(102, 126, 234, 0.25);
    transform: scale(1.1);
}

.auto-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--light);
}

.auto-description {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 120px 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 15s ease-in-out infinite;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.cta-description {
    font-size: 22px;
    margin-bottom: 50px;
    opacity: 0.9;
}

.btn-light {
    background: var(--light);
    color: var(--primary);
}

.btn-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: var(--dark);
    padding: 80px 5% 40px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-brand {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--gray);
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 2000;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--light);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100vw;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1500;
        padding: 0;
        margin: 0;
    }
    
    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links.nav-active li {
        opacity: 1;
        transition: opacity 0.5s ease 0.3s;
    }
    
    .nav-links li {
        opacity: 0;
        margin: 30px 0;
    }
    
    .nav-links a {
        font-size: 24px;
        display: block;
        padding: 10px;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 80px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item:nth-child(1) {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-spline {
        display: none;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding-top: 50px;
        text-align: center;
        align-items: center;
    }

    .hero-title {
        font-size: 48px;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    body {
        cursor: auto;
    }

    .custom-cursor,
    .cursor-follower {
        display: none;
    }
    
    .portfolio-item.full-width {
        grid-column: span 1;
    }
    
    .hero-cta {
       flex-direction: column;
       gap: 1.5rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    .team-member {
        flex-direction: column;
        gap: 30px;
    }

    .team-spline {
        width: 280px;
        height: 280px;
    }

    .team-info {
        width: 100%;
        text-align: center;
    }

    .team-name {
        font-size: 20px;
    }

    .team-role {
        font-size: 14px;
    }
}

/* Animations nav */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Video Lightbox Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: auto;
    max-height: 90vh;
    background: #000;
}

.video-modal-content video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.video-modal-close:hover {
    color: var(--primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
