/* TR: Bu tema Ahmet Doğukan Konuk tarafından geliştirilmiş olup; tüm kaynak kodları, tasarımlar, görseller ve videolar münhasıran BK Creative şirketine aittir. İzinsiz kullanımı, kopyalanması veya dağıtılması kesinlikle yasaktır; tespiti halinde derhal ağır tazminat davaları açılarak hukuki işlem başlatılacaktır.
EN: This theme was developed by Ahmet Doğukan Konuk; all source codes, designs, images, and videos belong exclusively to BK Creative. Unauthorized use, copying, or distribution is strictly prohibited; upon detection, immediate legal action and heavy compensation lawsuits will be initiated. 
*/

/* =========================================
   CUSTOM SPACING SINIFLARI
   ========================================= */
.px-custom {
    padding-left: 4rem;
    padding-right: 4rem;
}
.custom-gap {
    gap: 1.5rem;
}
.custom-ms {
    margin-left: 2rem;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    height: 100vh;
    width: 100vw; 
    padding-top: 80px; 
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    background-color: var(--bg-color);
    box-sizing: border-box;
}

.hero-typography {
    margin-top: 15vh; 
    margin-bottom: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.text-line {
    line-height: 1; 
    margin-bottom: 0.8rem;
    width: 100%;
}

.text-mask {
    overflow: hidden; 
    display: inline-flex;
    will-change: transform, opacity, width;
}

.reveal-text {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    letter-spacing: -2px;
    text-transform: uppercase;
    display: inline-block;
    transform: translateY(100%);
    white-space: nowrap;
}

.hero-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
    padding-right: 5rem;
    will-change: opacity, transform;
}

/* =========================================
   İNTERAKTİF SCROLL VİDEO STİLLERİ
   ========================================= */
.hero-inline-video-wrapper {
    width: 0; 
    height: clamp(3rem, 7vw, 7rem); 
    border-radius: 100px;
    overflow: hidden;
    position: relative;
    background-color: var(--text-main); 
    will-change: width, height, border-radius; 
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none; 
}

.hero-inline-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: transparent;
}

.hero-inline-video-wrapper {
    background-color: transparent !important;
}

/* =========================================
   SCROLL DOWN ANİMASYONU (HERO SAĞ ALT)
   ========================================= */
.scroll-indicator {
    position: absolute;
    right: 4rem; 
    bottom: 8rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    will-change: opacity;
}

.scroll-text {
    writing-mode: vertical-rl; 
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 3px;
    height: 15px;
    background-color: var(--text-main);
    position: absolute;
    top: -15px;
    left: -1px; 
    border-radius: 5px;
    animation: scrollDownAnim 1.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDownAnim {
    0% { top: -15px; }
    50% { top: 60px; }
    100% { top: 60px; } 
}

/* =========================================
   HAKKIMIZDA (NELER YAPIYORUZ) BÖLÜMÜ
   ========================================= */
.what-we-do-section {
    height: 100vh;
    width: 100vw;
    background-color: #111111;
    color: #F4F4F0;
    position: relative;
    overflow: hidden;
}

.what-we-do-left {
    padding-right: 2rem;
    position: relative;
    z-index: 2;
}

.what-we-do-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    display: inline-block;
    color: #888888;
}

.what-we-do-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -2px;
    margin: 0;
    text-transform: uppercase;
}

.what-we-do-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.scrolling-words-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gradient-mask-top,
.gradient-mask-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 25vh;
    z-index: 10;
    pointer-events: none;
}

.gradient-mask-top {
    top: 0;
    background: linear-gradient(to bottom, #111111 10%, transparent 100%);
}

.gradient-mask-bottom {
    bottom: 0;
    background: linear-gradient(to top, #111111 10%, transparent 100%);
}

.scrolling-words-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.scrolling-words-list li {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #F4F4F0;
    white-space: nowrap;
}

.scrolling-words-list li.outline-text {
    color: transparent;
    -webkit-text-stroke: 2px rgba(244, 244, 240, 0.4);
}

/* =========================================
   SOSYAL MEDYA İKONLARI (HERO SAĞ ALT)
   ========================================= */
.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icon {
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid transparent;
}

.social-icon:hover {
    color: var(--text-main);
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.05);
    transform: translateY(-4px); 
}

.social-icon svg {
    transition: transform 0.3s ease;
}

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

/* =========================================
   RESPONSIVE (MOBİL) DÜZENLEMELERİ
   ========================================= */
@media (max-width: 991px) {
    .px-custom {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    .hero-typography {
        margin-top: 20vh;
    }

    .reveal-text {
        font-size: clamp(2.5rem, 12vw, 4rem); 
    }

    .custom-gap {
        gap: 0.8rem;
    }

    .custom-ms {
        margin-left: 0;
        margin-top: 1.5rem;
    }

    .hero-inline-video-wrapper {
        height: clamp(2.5rem, 10vw, 4rem); 
    }

    .what-we-do-section {
        height: 100dvh !important; 
        display: block;
    }

    .what-we-do-section .row {
        align-items: flex-start !important; 
        align-content: flex-start !important;
    }
    
    .what-we-do-left {
        padding-right: 0;
        text-align: center;
        height: auto !important; 
        justify-content: flex-start !important; 
        padding-top: 15vh !important; 
        margin-bottom: 2rem;
    }
    
    .what-we-do-right {
        height: 60vh !important; 
    }

    .scrolling-words-list li {
        font-size: clamp(3rem, 12vw, 4rem); 
        text-align: center;
    }
}

/* =========================================
   PORTFOLYO REVEAL (TEXT FILL & ZOOM) STİLLERİ
   ========================================= */
.portfolio-reveal-container {
    height: 100vh;
    width: 100vw;
    background-color: var(--bg-color); 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    position: relative;
    z-index: 5;
}

.portfolio-reveal-text {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 15rem);
    font-weight: 800;
    text-align: center;
    line-height: 1;
    letter-spacing: -4px;
    margin: 0;
    background: linear-gradient(to right, #111111 50%, rgba(17, 17, 17, 0.08) 50%);
    background-size: 200% 100%;
    background-position: 100% 0; 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transform-origin: center center;
    will-change: transform, background-position, opacity;
}

/* =========================================
   PINTEREST MASONRY GRID VE KART STİLLERİ
   ========================================= */
.portfolio-grid-section {
    background-color: #111111; 
    padding: 15vh 0 25vh 0;
    position: relative;
    z-index: 4;
}

.masonry-grid {
    display: flex;
    gap: 3rem;
    align-items: flex-start; 
}

.masonry-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.project-card {
    display: block;
    text-decoration: none;
    cursor: pointer;
    will-change: transform;
}

.project-media {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.project-card:hover .project-media {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px); 
}

.project-media.short { aspect-ratio: 4/3; }
.project-media.medium { aspect-ratio: 1/1; }
.project-media.tall { aspect-ratio: 3/4; }

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-media img {
    opacity: 0; 
    transform: scale(1.05);
}

.project-info {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.client-name {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #F4F4F0;
    margin: 0.4rem 0 1.2rem 0;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: #ffffff;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tags .tag {
    background: rgba(255, 255, 255, 0.08);
    color: #cccccc;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    transition: background 0.3s ease;
}

.project-card:hover .tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

@media (max-width: 991px) {
    .masonry-grid { flex-direction: column; gap: 1rem; }
    .masonry-col { width: 100%; }
    .project-card { margin-top: 2rem !important; }
}

.bg-video {
    position: absolute;
    top: 50%; 
    left: 50%;
    width: 105%; 
    height: 105%;
    pointer-events: none; 
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    object-fit: cover; 
}

.project-card.hovered .bg-video {
    opacity: 1;
}

/* =========================================
   REFERANSLAR (MÜŞTERİ LOGOLARI) STİLLERİ
   ========================================= */
.clients-section {
    background-color: #f5f5f0; 
    padding: 6rem 0;
    position: relative;
    z-index: 6;
}

.clients-header {
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    text-align: center;
}

.premium-badge {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: #111111;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.6rem 1.8rem;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 50px;
    display: inline-block;
    background: transparent;
}

.clients-mega-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 7rem); 
    font-weight: 800;
    color: #111111;
    line-height: 0.9;
    letter-spacing: -3px;
    text-transform: uppercase;
    margin: 1.5rem 0 0 0;
}

.text-outline-dark {
    color: transparent;
    -webkit-text-stroke: 2px #111111;
}

@media (max-width: 991px) {
    .clients-header {
        margin-bottom: 3rem;
    }
}

.clients-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #888888; 
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.clients-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.clients-marquee-wrapper::before,
.clients-marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15vw;
    height: 100%;
    z-index: 2;
    pointer-events: none; 
}

.clients-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f5f5f0 0%, rgba(255,255,255,0) 100%);
}

.clients-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f5f5f0 0%, rgba(255,255,255,0) 100%);
}

.clients-marquee {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform; 
}

.clients-marquee-wrapper:hover .clients-marquee {
    animation-play-state: paused;
}

.client-logo {
    margin: 0 4rem; 
    cursor: pointer;
}

.client-logo img {
    height: clamp(30px, 4vw, 50px); 
    width: auto;
    filter: grayscale(100%) opacity(0.3); 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1); 
    transform: scale(1.1); 
}

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

@media (max-width: 991px) {
    .clients-section {
        padding: 4rem 0;
    }
    .client-logo {
        margin: 0 2rem;
    }
    .clients-marquee-wrapper::before,
    .clients-marquee-wrapper::after {
        width: 10vw; 
    }
}

/* =========================================
   DARK VIDEO WALL STİLLERİ
   ========================================= */
.dark-wall-portfolio {
    background-color: #050505; 
    height: 120vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    position: relative;
    z-index: 4;
}

.wall-grid {
    display: flex;
    gap: 1.2rem; 
    width: 150vw; 
    transform: rotate(-15deg) scale(1.1); 
    justify-content: center;
    align-items: center;
}

.wall-col {
    display: flex;
    flex-direction: column;
    gap: 1.2rem; 
    width: 320px; 
    flex-shrink: 0;
    will-change: transform;
}

.wall-card {
    position: relative;
    width: 100%;
    background-color: transparent; 
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.wall-card img, .wall-card .bg-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9; 
    object-fit: cover;
    border-radius: 12px;
    box-shadow: -10px 15px 30px rgba(0, 0, 0, 0.9), 0 0 25px rgba(233, 83, 50, 0.15);
}

.wall-card img {
    display: block;
    transition: opacity 0.4s ease;
}

.wall-card.hovered img {
    opacity: 0; 
}

.bg-video {
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: auto; 
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.wall-card.hovered .bg-video {
    opacity: 1;
}

.wall-card:hover {
    transform: scale(1.01); 
    z-index: 10;
}

.wall-card:hover img, .wall-card:hover .bg-video {
    box-shadow: -10px 15px 30px rgba(0, 0, 0, 1), 0 0 35px rgba(233, 83, 50, 0.3);
}

/* =========================================
   SADECE MOBİLDE GÖRÜNEN YAZI ALANI
   ========================================= */
.mobile-project-info {
    display: none; 
}

/* =========================================
   MOBİLDE KART SAYISI DÜZELTMESİ (KESİN ÇÖZÜM)
   ========================================= */
@media (max-width: 991px) {
    .dark-wall-portfolio { height: auto; padding: 5rem 0; }
    
    .wall-grid {
        width: 100%;
        transform: none; 
        flex-direction: column;
        padding: 0 1.5rem;
        gap: 2.5rem;
    }

    .wall-col:not(:first-child) {
        display: none !important;
    }

    .wall-col { 
        width: 100%; 
        display: flex !important; 
    }

    .wall-col:first-child .wall-card:nth-child(n+7) {
        display: none !important;
    }

    .wall-card img, .wall-card .bg-video {
        border-radius: 16px;
        aspect-ratio: 16/9;
        height: auto;
    }

    .mobile-project-info {
        display: block;
        margin-top: 1rem;
    }

    .m-title {
        font-size: 1.4rem;
        color: #F4F4F0;
        margin-bottom: 0.2rem;
    }

    .m-category {
        font-size: 0.8rem;
        color: #e95332;
        text-transform: uppercase;
    }
}