/* 
 * Global Urbanist Font Override 
 */
:root {
    --font-primary: 'Urbanist', sans-serif !important;
    --font-heading: 'Urbanist', sans-serif !important;
    --font-secondary: 'Urbanist', sans-serif !important;
}

html,
body {
    overflow-x: clip;
    max-width: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a,
li,
blockquote,
button,
input,
textarea,
select {
    font-family: 'Urbanist', sans-serif;
}

/* Hard overrides for specific selectors we saw in grep */
* {
    --bs-body-font-family: 'Urbanist', sans-serif !important;
}

body:not(i):not(.fas):not(.far):not(.fal):not(.fad):not(.fab):not([class*="fa-"]):not([class*="icon-"]) {
    font-family: 'Urbanist', sans-serif !important;
}

h1:not(i):not(.fas):not(.far),
h2:not(i):not(.fas),
h3:not(i),
h4:not(i),
h5:not(i),
h6:not(i),
p:not(i),
a:not(i),
span:not(i),
div:not(i),
li:not(i) {
    font-family: 'Urbanist', sans-serif !important;
}

/* Protect icon fonts */
.fa,
.fas,
.far,
.fal,
.fad,
.fab,
[class*="fa-"],
i[class*="icon-"],
.icon {
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
}

/* Custom Menu Hover overrides */
.navbar-nav>.menu-item>a {
    position: relative;
    z-index: 1;
    color: #000 !important;
    /* Yazı rengi siyah */
    font-weight: 400;
}

/* Navigasyonu tam merkeze alma */
@media (min-width: 992px) {
    .main-header__inner {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .main-header__nav {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* Menü öğelerini yanyana getirme */
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        gap: 40px !important;
        /* Öğeler arası boşluk */
        align-items: center !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

.navbar-nav>.menu-item>a::before,
.navbar-nav>.menu-item>a::after,
.navbar-nav>.menu-item>a>span::before,
.navbar-nav>.menu-item>a>span::after {
    display: none !important;
    /* Remove any theme default hover lines */
}

.navbar-nav>.menu-item>a:hover,
.navbar-nav>.menu-item>a:focus,
.navbar-nav>.menu-item>a>span:hover {
    color: inherit !important;
    /* Remove text color changes */
    background: transparent !important;
}

/* Dynamic Elastic Hover Animation (Shared) */
.navbar-nav>.menu-item>a>span,
.dynamic-hover-link>span {
    position: relative;
    z-index: 1;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.navbar-nav>.menu-item>a:hover>span,
.dynamic-hover-link:hover>span {
    transform: translateY(-3px) !important;
}

.navbar-nav>.menu-item>a>span::before,
.dynamic-hover-link>span::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    bottom: 2px !important;
    left: -6px !important;
    right: -6px !important;
    height: 45% !important;
    background-color: #e6ff2a !important;
    z-index: -1 !important;
    transform-origin: left center !important;
    transform: scaleX(0) skewX(-20deg) !important;
    opacity: 0 !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.4), opacity 0.2s ease !important;
}

.navbar-nav>.menu-item>a:hover>span::before,
.dynamic-hover-link:hover>span::before {
    opacity: 1 !important;
    transform: scaleX(1) skewX(-20deg) !important;
}

/* ── Hero Video Section ── */
.hero-video-section {
    position: relative;
    width: 100%;
    /* Let the element naturally fill the wrapper, which already has 1320px max-width and 15px padding */
    height: 341px;
    margin: 40px 0;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    background: url('../images/videobgana.jpg') center/cover no-repeat;
    transform: translateZ(0);
    /* Hardware composite */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

.hero-video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    border-radius: 30px;
    /* Duplicate radius onto the video itself for absolute safety */
}

.hero-video-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: right;
    padding-right: 5%;
    padding-bottom: 30px;
    display: flex;
    justify-content: flex-end;
}

.hero__tagline {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.5px;
    user-select: none;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.tagline-light {
    font-weight: 300;
    color: #ffffff;
}

.tagline-bold {
    font-weight: 900;
    color: #ffffff;
}

/* ── Unified 1320px Global Layout Alignments ── */
.main-header__inner,
.hero-layout-wrapper,
.client-logos-section,
.bento-container {
    width: 100% !important;
    max-width: 1320px !important;
    padding-left: 15px !important;
    /* Perfect uniform padding to prevent edge touches */
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* ── New Hero Container Layout ── */
.hero-layout-wrapper {
    padding-top: 40px !important;
    /* Vertical offset only */
    padding-bottom: 0 !important;
}

.hero-top-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    /* Stretch children to match height */
    margin-bottom: 40px;
}

.hero-text-block {
    width: 100%;
    max-width: 100%;
    /* Allow to stretch fully and push button to the far right */
}

.hero-main-title {
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -3px;
    /* Tighter kerning */
    margin-bottom: 20px;
    white-space: nowrap;
    /* Force single line */
}

.hero-main-title .strike-marker {
    position: relative;
    display: inline-block;
}

/* Marker stroke animation directly over the text */
.hero-main-title .strike-marker::after {
    content: "";
    position: absolute;
    top: 55%;
    left: -15px;
    width: 0%;
    height: 16px;
    /* Slightly thicker for the brush effect */
    background-color: #e6ff2a;
    z-index: 1;
    /* Bring over the text */

    /* Hand-drawn organic, convex (bombeli) brush shape */

    transform: translateY(-50%) rotate(-1.5deg);
    /* Slight angle for human imperfection */

    animation: markerDraw 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.8s;
}

@keyframes markerDraw {
    to {
        width: calc(100% + 15px);
    }
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    font-weight: 400;
}

/* Sideways Fixed Social Links */
.fixed-social-links {
    position: fixed;
    right: 20px;
    top: 300px;
    /* Fallback until JS sets precise video height alignment */
    display: flex;
    justify-content: space-between;
    /* Spreads them perfectly across the dynamically synced height */
    writing-mode: vertical-rl;
    align-items: center;
    text-orientation: mixed;
    height: 341px;
    /* Exact height of hero video fallback */
    z-index: 9999;
}

@media (max-width: 991px) {
    .fixed-social-links {
        display: none !important;
        /* Hide floating social links on mobile to prevent layout issues */
    }
}

.fixed-social-links a.dynamic-vertical-hover {
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: lowercase;
}

.dynamic-vertical-hover>span {
    position: relative;
    z-index: 1;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.dynamic-vertical-hover:hover>span {
    transform: translateX(3px) !important;
    /* Move text right slightly on hover */
}


.dynamic-vertical-hover>span::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: -4px !important;
    bottom: -4px !important;
    left: 2px !important;
    /* Anchor specifically to the left edge of vertical text */
    width: 65% !important;
    /* Cover left half of letters */
    background-color: #e6ff2a !important;
    z-index: -1 !important;
    transform-origin: top center !important;
    transform: scaleY(0) skewY(-15deg) !important;
    opacity: 0 !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.4), opacity 0.2s ease !important;
}

.dynamic-vertical-hover:hover>span::before {
    opacity: 1 !important;
    transform: scaleY(1) skewY(-15deg) !important;
}

/* ── Dynamic Interactivty Services Text ── */
.hero-services-text {
    width: 100%;
    margin-top: 40px;
    margin-bottom: -15px;
    /* Boşluğu azaltmak için negatif margin eklendi */
}

.service-text-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.service-main-text {
    font-size: clamp(18px, 2.5vw, 25px);
    font-weight: 500;
    line-height: 1.6;
    color: #444;
}

.service-highlight-link {
    position: relative;
    font-weight: 800;
    /* Daha kalın */
    color: #1a1a1a;
    text-decoration: none;
    display: inline-block;
    cursor: none !important;
    /* Forces default cursor to vanish to reveal tooltip exclusively */
    transition: color 0.3s ease;
    /* Smooth color transition */
}

.service-highlight-link:hover {
    color: #000000 !important;
    /* Kurumsal metin rengine dönüşüm */
}

/* Static Lime Background under the text */
.service-highlight-link::before {
    content: "";
    position: absolute;
    bottom: 2px;
    left: -4px;
    right: -4px;
    height: 40%;
    background-color: #e6ff2a;
    z-index: -1;
    transform-origin: right center;
    transform: scaleX(1) skewX(-20deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* The Reverse Hover Logic */
.service-highlight-link:hover::before {
    transform: scaleX(0) skewX(-20deg);
}

/* ── Custom Hover Cursor Tooltip ── */
#service-cursor-tracker {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;

    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 99999;

    opacity: 0;
    transform: translate(15px, 15px) scale(0.5);
    /* Base transform pushes it slightly to bottom-right of pointer */
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.4);
}

#service-cursor-tracker.cursor-active {
    opacity: 1;
    transform: translate(15px, 15px) scale(1);
    /* Expands beautifully from the mouse */
}

.cursor-arrow {
    color: #e6ff2a;
    font-weight: 900;
    font-size: 16px;
}

/* ── Client Logos Marquee ── */
.client-logos-section {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0px 0 32px;
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1000;
    /* Soft fade on edges for smooth entry/exit */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
    display: flex;
    width: max-content;
    /* Prevent track from shrinking inside block */
    white-space: nowrap;
}

/* Hovering pauses the animation */
.client-logos-section:hover .logo-group {
    animation-play-state: paused;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-right: 80px;
    flex-shrink: 0;
    /* CRITICAL: Prevent group from shrinking */
    /* Exact match to gap for seamless loop boundary */
    animation: scrollMarquee 35s linear infinite;
}

.logo-group img {
    width: 200px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    /* CRITICAL: Prevent image overlap/squishing */
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ── Custom Bento Section (SEN NE YAPAYSIN) ── */
.custom-bento-section {
    padding: 80px 0;
    width: 100%;
}

.bento-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 5%;
}

.bento-title {
    font-size: clamp(40px, 5vw, 84px);
    font-weight: 900;
    line-height: 1;
    color: #333333;
    letter-spacing: -2px;
    margin-bottom: 50px;
}

.bento-title .text-red {
    color: #ff0000;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(22, 1fr);
    grid-auto-rows: clamp(10px, 2.5vw, 25px);
    gap: clamp(8px, 1.5vw, 20px);
}

.bento-box {
    background-color: #d4fa23;
    /* Bright vibrant lime yellow matching image */

    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.bento-box:hover {
    transform: scale(1.03);
}

/* Precise Desktop Matrix Positioning */
.bento-1 {
    grid-column: 1 / 7;
    grid-row: 1 / 10;
}

/* Left square */
.bento-2 {
    grid-column: 8 / 13;
    grid-row: 6 / 11;
}

/* Center left bot rect */
.bento-3 {
    grid-column: 12 / 17;
    grid-row: 1 / 4;
}

/* Center top thin rect */
.bento-4 {
    grid-column: 17 / 20;
    grid-row: 5 / 10;
}

/* Mid right square */
.bento-5 {
    grid-column: 15 / 17;
    grid-row: 11 / 14;
}

/* Mid right tiny rect */
.bento-6 {
    grid-column: 20 / 23;
    grid-row: 2 / 5;
}

/* Far right top rect */

/* Responsive Collapse for Tablets/Mobile */
@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 15px;
    }

    .bento-1 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bento-2 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-3 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-4 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-5 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-6 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ── Antigravity Cinematic Scroll Concept ── */
.work-showcase-wrapper {
    position: relative;
    width: 100%;
    /* Create a containing block for the sticky title to scroll over the projects */
    z-index: 10;
}

.antigravity-scroll-section {
    position: sticky;
    top: 0;
    /* Reset so it sits perfectly flush with the viewport top */
    width: 100%;
    min-height: 300px;
    padding: 53px 0;
    background-color: transparent !important;
    overflow: visible;
    margin-bottom: 0;
    z-index: 999;
    pointer-events: none;
    /* Important: Allows user to click project cards sliding underneath */
}

.ag-sticky-container {
    position: relative;
    /* Sticky (Sabit kalma) modülü iptal edildi. Hızla akacak. */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Base BG */
.ag-bg-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 0;
}

/* Grid Override - Kaldırıldı */
.ag-grid-overlay {
    display: none;
}

/* Soft Mysterious Cyan Backlight Glow (Disabled for Light Theme) */
.ag-glow-bg {
    display: none;
}

/* Content Boundaries */
.ag-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
}

.ag-text-words {
    font-size: clamp(26px, 4.5vw, 90px);
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
    text-transform: lowercase;
    /* Tamamı küçük harf */
    letter-spacing: -2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(3deg);
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
}

/* Granular Exploding Letters */
.ag-text-words span {
    display: inline-block;
    will-change: transform, opacity;
    white-space: pre;
}

.ag-text-action {
    font-size: clamp(40px, 8vw, 150px);
    font-weight: 900;
    /* Massive solid ultra-bold weight */
    color: #1a1a1a;
    background-color: #e6ff2a;
    padding: 0 40px;
    text-transform: lowercase;
    /* Tamamı küçük harf */
    letter-spacing: -3px;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    /* Default Hidden/Blured state before JS applies math */
    transform: translate(-50%, calc(-50% + 50px)) scale(0.8) rotate(-3deg);
    opacity: 0;
    filter: blur(20px);
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
}

/* Subtle Animated Trigger Wheel */
.ag-scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0.3;
    pointer-events: none;
}

.ag-scroll-indicator svg {
    width: 24px;
    height: 36px;
    fill: none;
    stroke: #1a1a1a;
    stroke-width: 2;
}

.ag-wheel {
    animation: agMouseScroll 1.5s infinite;
}

@keyframes agMouseScroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

/* ── Portfolio Section ── */
.pf-section {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 15px 80px;
}


/* Project Cards Grid */

.pf-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pf-card {

    overflow: hidden !important;
    position: relative;
    display: block;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.pf-card__link {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden !important;

    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.pf-card__media {
    width: 100%;
    overflow: hidden !important;

    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.pf-card__media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pf-card__link:hover .pf-card__media img {
    transform: scale(1.04);
}

/* Bottom-left overlay text */
.pf-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 28px 28px 28px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%);

}

.pf-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.pf-card__cat {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .pf-card__media img {
        height: 260px;
    }
}

/* ── Custom Footer Layout ── */
.site-footer {
    width: 100%;
    margin-top: 60px;
    margin-bottom: 40px;
}

.site-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-card {
    background-color: #F8F8F8;

    padding: 80px 40px 40px 40px;
    display: flex;
    flex-direction: column;
}

.footer-top {
    text-align: center;
    margin-bottom: 60px;
}

.footer-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: #111;
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    font-size: clamp(24px, 3.5vw, 36px);
    color: #999;
    text-decoration: none;
    font-weight: 400;
    gap: 12px;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #111;
}

.email-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #E2E2E2;
    margin-bottom: 30px;
}

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

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

.footer-links a {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #666;
}

.footer-brand-box {
    display: flex;
    align-items: stretch;
    border: 1px solid #111;

    padding: 6px;
    /* max-width so it shrinkwraps nicely */
}

.brand-logo-box {
    width: 50px;
    background-color: #000000;

    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 30px;
    font-weight: normal;
    line-height: 1;
}

.brand-info {
    display: flex;
    flex-direction: column;
    margin-left: 12px;
}

.brand-info-top {
    font-size: 11px;
    font-weight: 900;
    color: #111;
    padding-bottom: 5px;
    padding-top: 2px;
    padding-right: 15px;
    border-bottom: 1px solid #111;
    letter-spacing: 0.5px;
}

.brand-info-bottom {
    font-size: 9px;
    color: #666;
    padding-top: 5px;
    padding-bottom: 2px;
    margin: 0;
    line-height: 1.3;
    padding-right: 15px;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-pill {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    padding: 8px 24px;
    border: 1px solid #111;

    transition: all 0.3s ease;
}

.social-pill:hover {
    background-color: #e6ff2a;
    color: #000000;
}

@media (max-width: 1024px) {
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 20px;
    }

    .footer-brand-box {
        order: -1;
    }
}

/* ══════════════════════════════════════════════════
/* ══════════════════════════════════════════════════
   ANASAYFA — ASYMMETRIC BENTO GRID PROJELER
   ══════════════════════════════════════════════════ */

.hp-bento-section {
    position: relative;
    z-index: 10;
    width: 96%;
    max-width: 1320px;
    margin: -26vh auto 120px;
    padding: 0;
}

.hp-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
    width: 100%;
}

/* Base item */
.hp-bento-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.hp-bento-item.is-revealed {
    transform: translateY(0);
    opacity: 1;
}

/* Nth-child Grid placements for exactly 6 items */
.hp-bento-item:nth-child(1) {
    grid-column: span 8;
    grid-row: span 2;
}

.hp-bento-item:nth-child(2) {
    grid-column: span 4;
    grid-row: span 1;
}

.hp-bento-item:nth-child(3) {
    grid-column: span 4;
    grid-row: span 1;
}

.hp-bento-item:nth-child(4) {
    grid-column: span 4;
    grid-row: span 1;
}

.hp-bento-item:nth-child(5) {
    grid-column: span 8;
    grid-row: span 1;
}

.hp-bento-item:nth-child(6) {
    grid-column: span 12;
    grid-row: span 2;
}

.hp-bento-item:nth-child(n+7) {
    grid-column: span 6;
    grid-row: span 1;
}

.hp-bento-item.is-revealed:nth-child(odd) {
    transform: translateY(0) rotate(-1.5deg);
}

.hp-bento-item.is-revealed:nth-child(even) {
    transform: translateY(0) rotate(1.5deg);
}

/* İmaj */
.hp-bento-img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hp-bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    border-radius: 0;
}

.hp-bento-item:hover .hp-bento-img {
    transform: scale(1.05);
}

/* Karartma Maskesi */
.hp-bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.hp-bento-item:hover .hp-bento-overlay {
    opacity: 1;
}

/* Link Tıklama Alanı */
.hp-bento-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
}

/* İçerik Container */
.hp-bento-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 10;
    pointer-events: none;
    display: block;
}

/* Başlık (Her zaman görünür) */
.hp-bento-title {
    font-size: clamp(14px, 1.8vw, 24px);
    /* Küçültüldü */
    font-weight: 900;
    color: #1a1a1a;
    background: #e6ff2a;
    padding: 8px 24px;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -1px;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-transform: lowercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.hp-bento-item:hover .hp-bento-title {
    opacity: 0;
    transform: translateY(-20px);
}

/* Animasyonlu Butonlar */
.hp-bento-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.hp-bento-item:hover .hp-bento-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hp-bento-actions .project-sticker-btn {
    background: #fff;
    color: #1a1a1a;
    padding: 10px 20px;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s, color 0.3s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hp-bento-actions .project-sticker-btn:hover {
    background: #e6ff2a;
    color: #1a1a1a !important;
    transform: translateY(-3px);
}

/* Responsive Table / Mobilde Tam Genişlik */
@media (max-width: 991px) {
    .hp-bento-section {
        margin-top: 20px;
        width: 100%;
        padding: 0 10px;
    }

    .hp-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 400px;
    }

    .hp-bento-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hp-bento-overlay {
        opacity: 0.8 !important;
    }

    .hp-bento-content {
        opacity: 1 !important;
        transform: translateY(0) !important;
        flex-direction: column;
        align-items: flex-start;
    }

    .hp-bento-actions {
        width: 100%;
    }
}

/* ── Wide Projects 1290x341 Showcase ── */
.wide-projects-section {
    padding: 80px 15px 80px 15px;
    max-width: 1320px;
    margin: -5vh auto 0 auto;
    /* Pulls the projects section up to eliminate massive gaps before it starts passing the text */
    position: relative;
    z-index: 1;
    /* Slide under the sticky header */
}

.wide-projects-grid {
    display: flex;
    flex-direction: column;
    gap: 70px;
    /* Increased gap to accommodate overlapping titles */
}

.wide-project-card {
    position: relative;
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;

    overflow: visible;
    /* Title spills out */
    transform: translateZ(0);
}

.wp-card-link {
    display: block;
    width: 100%;
    height: auto;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    /* Clips the image completely to 30px */

    -webkit-mask-image: -webkit-radial-gradient(white, black);
    cursor: pointer;
}

.wp-card-img {
    display: block;
    width: 100%;
    height: 341px;
    object-fit: cover;
    border-radius: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wp-card-link:hover .wp-card-img {
    transform: scale(1.03);
    /* subtle image zoom */
}

/* Base Gradient Overlay */
.wp-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 70px 40px 50px 40px;
    /* Base padding supports category */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.wp-card-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 900;
    color: #1a1a1a;
    background-color: #e6ff2a;
    display: inline-block;
    padding: 10px 25px;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
    position: absolute;
    bottom: -15px;
    /* Overlaps securely from outside the masking box */
    left: 40px;
    z-index: 10;
    transform: rotate(-3deg);
    transform-origin: left bottom;
    pointer-events: none;
}

.wp-card-cat {
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0 10px;
    /* Align neatly with the title's visual start */
    line-height: 1.4;
}

@media (max-width: 991px) {
    .wp-card-img {
        height: 280px;
    }

    .wp-card-overlay {
        padding: 50px 25px 25px 25px;
    }
}

@media (max-width: 576px) {
    .wp-card-img {
        height: 220px;
    }

    .wp-card-overlay {
        padding: 40px 20px 20px 20px;
    }
}

/* ── Mobile Hamburger Menu Override ── */

/* Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
}

body.no-scroll {
    overflow: hidden;
}

@media (max-width: 991px) {

    /* Ensure Header Inner vertically centers the logo and hamburger on mobile */
    .main-header__inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100%;
    }

    /* Show Hamburger Icon */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 32px;
        height: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: 10px;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #000;

        transition: all 0.3s ease;
        transform-origin: center left;
    }

    /* Animate to X */
    .mobile-menu-toggle.is-active span:nth-child(1) {
        transform: rotate(45deg) translateY(-2px);
    }

    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg) translateY(2px);
    }

    /* Fixed Fullscreen Corporate Green Menu Overlay */
    .main-header__nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        /* Mobile dynamic viewport */
        background-color: #e6ff2a !important;
        /* Corporate Green */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 1000 !important;

        /* Slide in from right effect */
        transform: translateX(100%) !important;
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1) !important;
        pointer-events: none;
        /* Ignore clicks while hidden */
    }

    .main-header__nav.is-open {
        transform: translateX(0) !important;
        pointer-events: auto;
    }

    /* Menu Items Layout Inside Overlay */
    .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 30px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    /* Menu Text Styles */
    .navbar-nav>.menu-item>a {
        font-size: clamp(32px, 8vw, 48px) !important;
        font-weight: 900 !important;
        color: #000 !important;
        /* Siyah yazılar */
        text-transform: lowercase !important;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease !important;
        transition-delay: 0s !important;
    }

    /* Staggered text fade in when opened */
    .main-header__nav.is-open .navbar-nav>.menu-item>a,
    .main-header__nav.is-open .navbar-nav>.menu-item.mobile-lang-selector>div {
        opacity: 1;
        transform: translateY(0);
    }

    .main-header__nav.is-open .navbar-nav>.menu-item:nth-child(1)>a {
        transition-delay: 0.2s !important;
    }

    .main-header__nav.is-open .navbar-nav>.menu-item:nth-child(2)>a {
        transition-delay: 0.3s !important;
    }

    .main-header__nav.is-open .navbar-nav>.menu-item:nth-child(3)>a {
        transition-delay: 0.4s !important;
    }

    .main-header__nav.is-open .navbar-nav>.menu-item:nth-child(4)>a {
        transition-delay: 0.5s !important;
    }

    .mobile-lang-selector>div {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease !important;
        transition-delay: 0.6s !important;
    }

    /* Hide desktop lang selector in header on mobile */
    .lang-selector {
        display: none !important;
    }

    .mobile-lang-selector {
        display: block !important;
    }
}

/* Hide mobile lang selector on desktop */
@media (min-width: 992px) {
    .mobile-lang-selector {
        display: none !important;
    }
}

/* ── Footer Interaction Elements ── */
.footer-action-buttons {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
}

.btn-corporate {
    display: inline-block;
    background-color: #e6ff2a !important;
    /* Corporate Green */
    color: #000 !important;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    padding: 15px 50px;

    text-decoration: none;
    border: none;
    cursor: pointer;
    text-transform: lowercase;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.btn-corporate:hover {
    transform: scale(1.08);
}

/* ── Custom Modal Styling ── */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.custom-modal-content {
    background: #fff;
    padding: 50px 40px;

    max-width: 600px;
    width: 90%;
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.custom-modal-overlay.is-active .custom-modal-content {
    transform: translateY(0);
}

.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #000;
    line-height: 1;
    padding: 0;
    transition: transform 0.3s ease;
}

.custom-modal-close:hover {
    transform: rotate(90deg);
}

.modal-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.1;
    text-transform: lowercase;
    margin-top: 10px;
}

.modal-feedback-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #ddd;

    padding: 20px;
    font-size: 20px;
    font-family: inherit;
    margin-bottom: 25px;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s ease;
    background-color: #fafafa;
}

.modal-feedback-form input[type="text"],
.modal-feedback-form input[type="email"],
.modal-feedback-form input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #ddd;

    padding: 15px 20px;
    font-size: 18px;
    font-family: inherit;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.3s ease;
    background-color: #fafafa;
}

.modal-feedback-form textarea:focus,
.modal-feedback-form input:focus {
    border-color: #e6ff2a;
    background-color: #fff;
}

/* Inline Quote Button (Yamuk Etiket / Sticker Tasarımı) */
.inline-quote-btn {
    position: relative;
    background-color: #e6ff2a;
    border: none;
    color: #1a1a1a;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 900;
    text-transform: lowercase;
    cursor: pointer;
    padding: 10px 28px 12px;
    /*  */
    transform: rotate(-3deg);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    line-height: 1;
    z-index: 1;
    display: inline-block;
}

.inline-quote-btn:hover {
    transform: rotate(0deg) scale(1.05);
    background-color: #1a1a1a;
    color: #e6ff2a;
}

@media (max-width: 768px) {
    .hero-subtitle-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 25px !important;
    }
}

/* ── Proje Detay Sayfası Özel Arka Plan ── */
.project-detail-bg {
    position: fixed;
    inset: 0;
    /* top/right/bottom/left hepsini 0 */
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    /* mobilde fixed sorunları önler */
    z-index: 0;
    /* Hafif karartma katmanı - içerikleri okunabilir kılar */
    /* İstersen kaldırabilir ya da opacity'yi düzenleyebilirsin */
}

/* Arka plan olan sayfalarda body saydamlık için */
body.has-project-bg {
    background-color: transparent;
}

/* Arka plan üzerinde tüm sayfa bölümleri */
body.has-project-bg main,
body.has-project-bg .pf-section,
body.has-project-bg .skew-wrapper,
body.has-project-bg footer {
    position: relative;
    z-index: 1;
}

/* Header'ın arka planın üzerinde görünmesi */
body.has-project-bg .main-header,
body.has-project-bg header,
body.has-project-bg nav {
    position: relative;
    z-index: 1000;
}

/* Mobil uyum: iOS Safari'de position:fixed sorununu background-attachment ile önle */
@media (max-width: 768px) {
    .project-detail-bg {
        background-attachment: scroll;
        /* background-size: cover zaten "en-boy oranını" koruyarak doldurur */
    }
}

/* ══════════════════════════════════════════════════
   İŞLER — KATEGORİ SEÇİM SAYFASI
   ══════════════════════════════════════════════════ */

/* ── Hero Section ── */
.works-hero-section {
    padding-top: 3vh;
    padding-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.works-hero-inner {
    text-align: center;
    max-width: 700px;
    padding: 0 24px;
}

.works-hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 20px;
    border: 1.5px solid #e0e0e0;
    padding: 6px 18px;

}

.works-hero-title {
    font-size: clamp(44px, 8vw, 96px);
    font-weight: 900;
    line-height: 1.0;
    color: #1a1a1a;
    letter-spacing: -3px;
    margin: 0 0 16px;
    text-transform: lowercase;
}

.works-hero-accent {
    position: relative;
    display: inline-block;
    background-color: #e6ff2a;
    padding: 0 10px;
    transform: rotate(-1.5deg);
}

.works-hero-sub {
    font-size: clamp(15px, 2vw, 18px);
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ── Kategori Grid ── */
.works-cats-section {
    padding: clamp(50px, 8vw, 90px) clamp(20px, 5vw, 60px) clamp(80px, 10vw, 120px);
    max-width: 1200px;
    margin: 0 auto;
}

.works-cats-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Kategori Butonu ── */
.works-cat-btn {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    border-bottom: 1.5px solid #e8e8e8;
    text-decoration: none;
    color: #1a1a1a;
    position: relative;
    transition: background 0.25s ease, padding-left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    animation: catFadeUp 0.5s forwards;
    overflow: hidden;
}

.works-cats-grid .works-cat-btn:first-child {
    border-top: 1.5px solid #e8e8e8;
}

.works-cat-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #e6ff2a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.works-cat-btn:hover::before {
    transform: scaleX(1);
}

.works-cat-btn:hover {
    padding-left: 44px;
}

.works-cat-btn>* {
    position: relative;
    z-index: 1;
}

/* Sıra numarası */
.cat-btn-num {
    font-size: 13px;
    font-weight: 800;
    color: #bbb;
    min-width: 32px;
    flex-shrink: 0;
    transition: color 0.25s;
    letter-spacing: 0.5px;
}

.works-cat-btn:hover .cat-btn-num {
    color: #1a1a1a;
}

/* İçerik */
.cat-btn-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cat-btn-name {
    font-size: clamp(22px, 3.5vw, 38px);
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: lowercase;
    line-height: 1;
    transition: letter-spacing 0.3s ease;
}

.works-cat-btn:hover .cat-btn-name {
    letter-spacing: -0.5px;
}

.cat-btn-desc {
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 400;
    color: #666;
    line-height: 1.4;
    max-width: 500px;
    transition: color 0.25s;
}

.works-cat-btn:hover .cat-btn-desc {
    color: #333;
}

/* Sağ meta */
.cat-btn-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.cat-btn-count {
    font-size: 12px;
    font-weight: 700;
    color: #aaa;
    white-space: nowrap;
    transition: color 0.25s;
}

.works-cat-btn:hover .cat-btn-count {
    color: #333;
}

.cat-btn-arrow {
    width: 40px;
    height: 40px;

    border: 1.5px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.25s, background 0.25s;
}

.works-cat-btn:hover .cat-btn-arrow {
    transform: translateX(6px);
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: #fff;
}

.works-cat-btn:hover .cat-btn-arrow svg {
    stroke: #fff;
}

/* Geri butonu */
.works-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    color: #666;
    text-decoration: none;
    padding: 8px 18px;
    border: 1.5px solid #ddd;

    transition: all 0.25s ease;
    margin-bottom: 12px;
}

.works-back-link:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    transform: translateX(-4px);
}

/* Animasyon */
@keyframes catFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Mobil ── */
@media (max-width: 768px) {
    .works-hero-section {
        padding-top: 3vh;
    }

    .works-cats-section {
        padding: 40px 16px 80px;
    }

    .works-cat-btn {
        padding: 22px 20px;
        gap: 16px;
    }

    .works-cat-btn:hover {
        padding-left: 28px;
    }

    .cat-btn-meta {
        gap: 10px;
    }

    .cat-btn-count {
        display: none;
    }

    .cat-btn-arrow {
        width: 34px;
        height: 34px;
    }
}

/* action bar responsive fix (works page) */
.pf-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    padding: 0 30px;
}

@media (max-width: 991px) {
    .pf-action-bar {
        flex-direction: column;
        padding: 0 15px;
        margin-top: -15px;
        gap: 15px;
    }

    .pf-action-bar>div {
        text-align: center !important;
        justify-content: center !important;
        width: 100%;
    }
}

/* ══════════════════════════════════════════════════
   VIDEO VİTRİN — SHOWCASE GRID
   ══════════════════════════════════════════════════ */

.video-showcase-section {
    max-width: 1320px;
    margin: 0 auto;
    padding: 80px 15px 100px;
}

.video-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 30px;
    /* Dikey boşluk artırıldı — etiketler taşıyor */
}

/* ── Kart ── */
.video-showcase-card {
    position: relative;
    overflow: visible;
    /* Etiketin taşmasına izin ver */
    opacity: 0;
    animation: showcardFadeUp 0.5s forwards;
}

@keyframes showcardFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Kapak Görseli ── */
.video-showcase-card__cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    border-radius: 24px;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.video-showcase-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-showcase-card:hover .video-showcase-card__cover img {
    transform: scale(1.06);
}

/* ── Karanlık Overlay + Play Butonu ── */
.video-showcase-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.35s ease;
}

.video-showcase-card:hover .video-showcase-card__overlay {
    background: rgba(0, 0, 0, 0.45);
}

.video-showcase-card__play {
    width: 80px;
    height: 80px;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        background 0.3s ease,
        border-color 0.3s ease;
}

.video-showcase-card__play svg {
    margin-left: 4px;
}

.video-showcase-card:hover .video-showcase-card__play {
    transform: scale(1.12);
    background: rgba(230, 255, 42, 0.85);
    border-color: #e6ff2a;
    color: #1a1a1a;
}

/* ── Video Sayısı Badge ── */
.video-showcase-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;

    letter-spacing: 0.3px;
    pointer-events: none;
    z-index: 5;
}

/* ── Yamuk Etiket: Proje Başlığı (görselden taşar) ── */
.video-showcase-card__sticker {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    transform-origin: center bottom;
    background-color: #e6ff2a;
    color: #1a1a1a;
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 900;
    padding: 8px 28px;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-transform: lowercase;
}

/* ── Detay Linki ── */
.video-showcase-card__detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: -5px;
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
    font-weight: 700;
    color: #888;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease, gap 0.25s ease;
    position: relative;
    z-index: 5;
    /* Ortalamak için blok gibi davransın */
    display: flex;
    justify-content: center;
}

.video-showcase-card__detail-link:hover {
    color: #1a1a1a;
    gap: 10px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .video-showcase-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .video-showcase-card__play {
        width: 64px;
        height: 64px;
    }

    .video-showcase-card__play svg {
        width: 36px;
        height: 36px;
    }

    .video-showcase-card__sticker {
        font-size: clamp(16px, 4vw, 24px);
        padding: 8px 22px;
    }
}

@media (max-width: 576px) {
    .video-showcase-section {
        padding: 50px 12px 80px;
    }

    .video-showcase-card__cover {
        border-radius: 18px;
    }

    .video-showcase-card__play {
        width: 52px;
        height: 52px;
    }

    .video-showcase-card__play svg {
        width: 28px;
        height: 28px;
    }

    .video-showcase-card__sticker {
        font-size: clamp(14px, 4vw, 20px);
        padding: 6px 18px;
        bottom: -14px;
    }
}

/* ── Split Card Design (kalibagno style) ── */
.pf-split-section {
    padding: 80px 15px;
    max-width: 1320px;
    margin: 0 auto;
}

.pf-split-grid {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.pf-split-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.pf-split-card:nth-child(even) {
    flex-direction: row-reverse;
}

.pf-split-card__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pf-split-card__brand-logo {
    max-width: 300px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.pf-split-card__title {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.pf-split-card__desc-box {
    background-color: #e6ff2a;
    padding: 30px;
    transform: rotate(-2deg);
    color: #1a1a1a;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(212, 250, 35, 0.2);
    /* For a slight imperfect paper look */
    border-radius: 2px;
}

.pf-split-card:nth-child(even) .pf-split-card__desc-box {
    transform: rotate(2deg);
}

.pf-split-card__desc {
    margin: 0;
    font-weight: 500;
}

.pf-split-card__actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.pf-split-btn {
    background-color: #e6ff2a;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    padding: 12px 30px;
    transform: rotate(1.5deg);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(212, 250, 35, 0.2);
    min-width: 140px;
    text-align: center;
}

.pf-split-card:nth-child(even) .pf-split-btn {
    transform: rotate(-1.5deg);
}

.pf-split-btn:hover {
    transform: rotate(0deg) scale(1.05);
    background-color: #c0e610;
    color: #1a1a1a;
}

.pf-split-btn__inner {
    display: block;
    font-size: 15px;
    letter-spacing: -0.5px;
}

.pf-split-card__right {
    flex: 1.5;
    position: relative;
}

.pf-split-card__img-link {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* optional subtle shadow for the image itself */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pf-split-card__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pf-split-card__img-link:hover .pf-split-card__img {
    transform: scale(1.03);
}

.pf-split-card__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.pf-split-card__img-link:hover .pf-split-card__play-icon {
    background: #d4fa23;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Responsive */
@media (max-width: 991px) {

    .pf-split-card,
    .pf-split-card:nth-child(even) {
        flex-direction: column;
        gap: 40px;
    }

    .pf-split-card__left,
    .pf-split-card__right {
        width: 100%;
    }
}

/* ── Practical Mode (Video Grid) ── */
.practical-mode .pf-split-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

.practical-mode .pf-split-card {
    display: block !important;
    flex-direction: column !important;
    margin: 0 !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.practical-mode .pf-split-card__left {
    display: none !important;
}

.practical-mode .pf-split-card__right {
    width: 100% !important;
    flex: none !important;
    display: block !important;
}

.practical-mode .pf-split-card__img {
    aspect-ratio: 16/9 !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

.practical-mode .pf-split-card__play-icon {
    width: 60px !important;
    height: 60px !important;
}

.practical-mode .pf-split-card__play-icon svg {
    width: 24px !important;
    height: 24px !important;
}

/* Practical mode responsive */
@media (max-width: 1200px) {
    .practical-mode .pf-split-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .practical-mode .pf-split-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .practical-mode .pf-split-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Practical Mode Toggle Button */
.btn-practical-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: #e6ff2a;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    margin-top: 25px;
    letter-spacing: 0.5px;
    transform: rotate(-1.5deg);
}
.btn-practical-toggle:hover {
    transform: rotate(0deg) scale(1.05);
    background: #000;
}
.btn-practical-toggle.active {
    background: #e6ff2a;
    color: #1a1a1a;
}