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

html {
    scroll-behavior: auto;
    overflow-x: clip;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: #bcff00;
    color: #000;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0514; }
::-webkit-scrollbar-thumb { background: #bcff00; border-radius: 10px; }

.saira-stencil-one-regular {
    font-family: "Saira Stencil One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* --- Hamburger Button --- */
.hamburger {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 400;
    width: 70px;
    height: 70px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 50px;
    height: 5px;
    background: #bcff00;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.2s ease,
                background 0.2s ease;
}

.hamburger span:nth-child(2) {
    width: 24px;
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background: #fff;
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
    transform: translateY(-14px) rotate(-45deg);
    background: #fff;
}

/* --- Menu Overlay --- */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 350;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    will-change: opacity;
}

.menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: min(100vw - 2rem, 42rem);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
    box-sizing: border-box;
}

.menu-link {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    color: rgba(255, 255, 255);
    text-decoration: none;
    letter-spacing: -0.02em;
    line-height: 1.2;
    transform: translateY(30px);
    opacity: 0;
    will-change: transform, opacity;
    transition:
        transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.3s ease,
        color 0.25s ease;
}

/* Kapanışta ters sıra delay */
.menu-link:nth-child(1) { transition-delay: 0.20s; }
.menu-link:nth-child(2) { transition-delay: 0.15s; }
.menu-link:nth-child(3) { transition-delay: 0.10s; }
.menu-link:nth-child(4) { transition-delay: 0.05s; }
.menu-link:nth-child(5) { transition-delay: 0s; }

/* Açılışta sıralı delay */
.menu-overlay.is-open .menu-link {
    transform: translateY(0);
    opacity: 1;
}

.menu-overlay.is-open .menu-link:nth-child(1) { transition-delay: 0.08s; }
.menu-overlay.is-open .menu-link:nth-child(2) { transition-delay: 0.14s; }
.menu-overlay.is-open .menu-link:nth-child(3) { transition-delay: 0.20s; }
.menu-overlay.is-open .menu-link:nth-child(4) { transition-delay: 0.26s; }
.menu-overlay.is-open .menu-link:nth-child(5) { transition-delay: 0.32s; }

.menu-overlay.is-open .menu-link:hover {
    color: #bcff00;
    transform: translateY(0);
    text-shadow: 0 0 36px rgba(188, 255, 0, 0.35);
}

/* --- Directors Sub Menu --- */
.menu-item-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: min(100vw - 2rem, 38rem);
}

.menu-link--parent {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.menu-link--parent::after {
    font-size: 0.6em;
    opacity: 0.4;
    transition: transform 0.3s ease;
    display: inline-block;
}


.menu-sub {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.3s ease,
                margin 0.3s ease;
    opacity: 0;
    margin: 0;
    padding-inline: 0;
    box-sizing: border-box;
}

.menu-sub.is-open {
    max-height: min(70vh, 560px);
    opacity: 1;
    margin: 0.4rem 0 0.2rem;
    padding-inline: clamp(0.5rem, 3vw, 1.75rem);
}

.menu-sub-link {
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    padding: 0.35rem 0;
    text-align: center;
    line-height: 1.35;
    max-width: 100%;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.menu-sub-link:hover {
    color: #bcff00;
    text-shadow: 0 0 20px rgba(188, 255, 0, 0.3);
}

/* Legacy nav-logo (for portfolio page) */
.nav-logo {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    text-decoration: none;
}

/* --- Logo Intro Section --- */
.logo-intro {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #ed72c2;
}

.logo-intro-inner {
    position: fixed;
    z-index: 200;
    pointer-events: none;
    will-change: transform;
}

.logo-intro-text {
    font-size: clamp(6rem, 15vw, 14rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
    white-space: nowrap;
}

.logo-intro-text sup {
    font-size: 0.2em;
    vertical-align: super;
    color: #bcff00;
}

@media (max-width: 768px) {
    .logo-intro-text {
        font-size: clamp(9rem, 32vw, 14rem);
    }

    .hero-banner-text {
        text-align: center;
        margin-inline: auto;
        padding: 0;
    }

    .hero-mobile-break {
        display: inline;
    }
}

/* --- Hero Section --- */
.hero-section {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c03198;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-banner {
    position: relative;
    z-index: 10;
    border-radius: 30px;
}

.hero-banner-text {
    font-family: "Saira Stencil One", sans-serif;
    font-size: clamp(2.5rem, 6vw, 7rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #000;
    white-space: nowrap;
    padding: 3rem 2rem 2rem;
}

.hero-mobile-break {
    display: none;
}

@media (min-width: 769px) {
    .hero-banner-text .hero-banner-word:first-of-type {
        padding-right: 0.32em;
    }
}

/* --- Content wrapper: sits above sticky hero --- */
.content-above-hero {
    position: relative;
    z-index: 10;
}

/* --- Features / Services Section --- */
#features {
    background: #fff;
    color: #000;
    min-height: 100vh;
}

.services-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 100px 3rem;
}

.services-body {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.services-body--centered {
    display: block;
    text-align: center;
}

.services-header {
    margin-bottom: .5rem;
    padding-bottom: 1.5rem;
    text-align: center;
}

.services-label {
    font-family: "Saira Stencil One", sans-serif;
    display: block;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: rgb(128, 21, 222);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.services-desc {
    font-size: 2rem;
    color: #000000;
    line-height: 1.2;
    max-width: 650px;
    margin: 0 auto;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: min(100%, 52rem);
}

.service-item {
    font-family: "Saira Stencil One", sans-serif;
    font-size: clamp(2.25rem, 5.5vw, 4.75rem);
    font-weight: 400;
    line-height: 1.12;
    color: #000;
    cursor: default;
    padding: 0.45em 0;
    user-select: none;
    display: block;
    border-bottom: 1px solid #eee;
    transition: color 0.35s ease;
}

.service-item:first-child {
    border-top: 1px solid #eee;
}

.service-title {
    display: block;
}

.service-item:hover {
    color: rgb(128, 21, 222);
}

@media (max-width: 768px) {
    .service-item {
        font-size: clamp(1.85rem, 8vw, 3rem);
    }

    .services-header {
        margin-bottom: 1rem;
    }

    .services-inner {
        padding: 80px 1.5rem;
    }
}

/* --- Team Section --- */
#team {
    background: #fff;
    color: #000;
}

.team-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
    padding: 100px 2rem;
    max-width: 1500px;
    margin: 0 auto;
    align-items: start;
}

.team-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0.5rem;
    padding: 2rem 1.5rem;
    min-height: 460px;
    background: rgb(128, 21, 222);
    color: #fff;
}

.team-left-top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
}

.team-label sup {
    font-size: 0.55rem;
    vertical-align: super;
}

.team-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: #bcff00;
    margin: 0;
}

.team-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.team-cta {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.team-cta:hover { opacity: 0.7; }

a.team-card,
.team-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.team-photo {
    width: 100%;
    height: 460px;
    overflow: hidden;
    background: #e8e8e8;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.team-card:hover .team-photo img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.team-name {
    font-family: "Saira Stencil One", sans-serif;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 400;
    color: #000;
    margin: 0;
}
    
@media (max-width: 1024px) {
    .team-inner { grid-template-columns: 1fr 1fr; }
    .team-left { min-height: auto; }
    .team-photo { height: 440px; }
}

@media (max-width: 640px) {
    .team-inner { grid-template-columns: 1fr; padding: 2rem; }
    .team-photo { height: 440px; }
}

/* --- Works Section --- */
#works {
    background: #0a0a0a;
    color: #fff;
    padding: 100px 3rem;
}

.works-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.works-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #bcff00;
    text-align: center;
    margin-bottom: 4rem;
}

.works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.work-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}

.work-video {
    width: 100%;
    height: 340px;
    overflow: hidden;
}

.work-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.4s ease, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.work-card:hover .work-video video {
    filter: brightness(1);
    transform: scale(1.04);
}

.work-info {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.work-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgb(128, 21, 222);
}

.work-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.works-cta {
    text-align: center;
    margin-top: 3rem;
}

.works-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.works-btn:hover {
    background: #bcff00;
    border-color: #bcff00;
    color: #000;
}

@media (max-width: 768px) {
    .works-grid { grid-template-columns: 1fr; }
    .work-video { height: 260px; }
}

/* --- Footer --- */
footer {
    background: #111;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 3rem 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta {
    max-width: 420px;
}

.footer-cta-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgb(128, 21, 222);
    margin-bottom: 1rem;
}

.footer-cta-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 2rem;
}

.footer-cta-btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: #bcff00;
    color: #000;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-cta-btn:hover {
    background: #fff;
    color: #000;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col-title {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #bcff00;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.footer-logo sup {
    font-size: 0.5rem;
    vertical-align: super;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .footer-top { flex-direction: column; gap: 3rem; }
    .footer-links { gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

@media (max-width: 768px) {
    .hero-banner-text {
        white-space: normal;
        display: inline-block;
        max-width: none;
        text-align: center;
        line-height: 1.02;
        margin-inline: auto;
        padding: 0;
    }

    .hero-mobile-break {
        display: inline !important;
    }
}
