/* font imports in HTML head */

:root {
    /* Colors */
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 20, 0.6);
    --primary: #FF5500;
    /* Vibrant Orange */
    --primary-glow: rgba(255, 85, 0, 0.4);
    --accent: #00FFA3;
    /* Cyber Green */
    --accent-glow: rgba(0, 255, 163, 0.4);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border-light: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1400px;
    --header-height: 80px;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --glass-blur: blur(10px);
    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.highlight {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Glass Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.desktop-nav .nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px 5px;
    transition: var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--text-main);
}

.lang-btn.active {
    color: var(--primary);
}

.divider {
    color: rgba(255, 255, 255, 0.2);
}

.hamburger {
    display: none;
    /* Desktop default */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-fast);
}

/* Sections Base */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section-title.center {
    text-align: center;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-fallback {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.3), rgba(5, 5, 5, 1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Scroll Indication */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

/* Make service card an anchor that looks like a div */
a.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card {
    padding: 40px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

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

/* Studio Anywhere - Flashy Style */
.special-card {
    border: 1px solid var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.special-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow), inset 0 0 20px var(--accent-glow);
}

.special-card h3 {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Nav Special */
.nav-special {
    color: var(--accent) !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px var(--accent-glow);
    position: relative;
    padding: 2px 5px;
}

.nav-special::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--accent-glow);
    opacity: 0.2;
    filter: blur(10px);
    border-radius: 4px;
    z-index: -1;
    transition: var(--transition-fast);
}

.nav-special:hover::before {
    opacity: 0.5;
    background: var(--accent);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.about-visual {
    height: 500px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    /* Placeholder */
    border-radius: 20px;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    padding: 60px;
    margin-top: 40px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-details .icon {
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

/* Work/Portfolio Grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.work-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.work-item.large {
    grid-row: span 2;
    height: 830px;
    /* 400 * 2 + 30 gap */
}

.work-item.wide {
    grid-column: span 2;
}

.work-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    opacity: 0;
    transition: var(--transition-fast);
}

.work-item:hover::before {
    opacity: 1;
}

.work-item:hover .work-image {
    transform: scale(1.05);
    filter: blur(3px) brightness(0.7);
}

/* Play Button Glow */

.yt-channel-link .play-icon-wrapper {
    opacity: 1;
}


.work-item:hover .play-icon-wrapper {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.work-item .play-icon-wrapper:hover {
    background: var(--primary);
    box-shadow: 0 0 25px var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    color: #fff;
    font-size: 1.5rem;
    margin-left: 4px; /* Offset to visually center triangle */
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 3;
}

.work-item:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
}

.work-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.work-overlay p {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Video Modal Lightbox */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 90%;
    max-width: 1000px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #000;
}

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

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    background: #000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.social-links svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast), stroke var(--transition-fast);
}

.social-links a:hover svg {
    transform: scale(1.1);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Menu hidden on desktop */
.mobile-menu {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }
}

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

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .mobile-menu {
        display: none;
        /* Hidden by default */
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: #000;
        z-index: 999;
        padding: 40px;
    }

    .mobile-menu.active {
        display: block;
    }
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 350px;
}

.notification.success {
    border-left: 4px solid var(--accent);
}

.notification.error {
    border-left: 4px solid var(--primary);
}