/* ==========================================================================
   CUMA ŞAFAK KARA - ORİJİNAL NEUMORPHIC TASARIM
   Orijinal #121212 Zemin, .neu-card-dark, .neu-btn-dark, .video-mask
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif !important;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 96%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
}

h1, h2, h3, h4, h5 {
    font-weight: bold;
    color: #ffffff;
}

p {
    font-weight: 400;
}

/* ==========================================================================
   KONTEYNERSİZ MİNİMALİST DÜZEN (.neu-card-dark)
   NOT: Tüm arka plan dikdörtgenleri/konteynerları kaldırıldı.
   ========================================================================== */
.neu-card-dark {
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    transition: none;
}

.neu-card-dark:hover {
    box-shadow: none !important;
}

/* Sayfa Başındaki Tanıtım Alanı (Konteynersiz, Doğrudan Zemin Üzerinde) */
.intro-card {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 0.5rem !important;
}

.intro-photo-col {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.intro-text-col {
    width: 100%;
    text-align: center;
}

/* Tanıtım ve Alt İletişim Buton Grupları (Butonlar Arası Boşluk) */
.intro-btn-group,
.bottom-contact-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px !important;
    margin-top: 1.5rem;
}

@media (max-width: 575.98px) {
    .intro-card {
        padding: 1.5rem 1.15rem !important;
    }

    .intro-photo-col {
        margin-bottom: 1rem;
    }

    .profile-image {
        max-width: 140px !important;
    }

    .intro-btn-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .intro-btn-group .neu-btn-dark {
        width: 100%;
        padding: 10px 10px;
        font-size: 11.5px;
    }

    .intro-btn-group .neu-btn-whatsapp {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) {
    .intro-card {
        padding: 2.5rem 3rem !important;
        gap: 2.5rem;
    }
    
    .intro-photo-col {
        margin-bottom: 0;
    }

    .intro-text-col {
        text-align: left;
    }

    .intro-btn-group {
        justify-content: flex-start;
    }
}

/* Profil Fotoğrafı (Kutusuz, Doğal Yuvarlak & Orijinal Gölge) */
.profile-image {
    max-width: 180px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.65));
    transition: transform 0.35s ease;
}

.profile-image:hover {
    transform: scale(1.02);
}

.role-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* ==========================================================================
   ORİJİNAL NEUMORPHIC BUTON STİLİ (.neu-btn-dark)
   ========================================================================== */
.neu-btn-dark {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 11px 24px;
    color: #ececec;
    font-weight: 500;
    box-shadow: 5px 5px 12px #0a0a0a, -5px -5px 12px #1c1c1c;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    user-select: none;
}

.neu-btn-dark:hover {
    color: #ffffff;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 7px 7px 18px #080808, -7px -7px 18px #202020;
}

.neu-btn-dark:active,
.neu-btn-dark.active {
    transform: translateY(0);
    box-shadow: inset 4px 4px 8px #0e0e0e, inset -4px -4px 8px #222222;
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Instagram Buton Stili (Koyu Neumorphic & Zarif Degrade) */
.neu-btn-instagram {
    background: linear-gradient(135deg, #281022, #3a152e) !important;
    border: 1px solid rgba(225, 48, 108, 0.35) !important;
    color: #ffffff !important;
}

.neu-btn-instagram:hover {
    background: linear-gradient(135deg, #381530, #4c1a3e) !important;
    border-color: rgba(225, 48, 108, 0.6) !important;
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.3) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* E-Posta Buton Stili (Koyu Neumorphic & Mavi Vurgulu) */
.neu-btn-email {
    background: linear-gradient(135deg, #161e29, #1f2a3a) !important;
    border: 1px solid rgba(116, 185, 255, 0.3) !important;
    color: #ffffff !important;
}

.neu-btn-email:hover {
    background: linear-gradient(135deg, #1f2a3a, #28374d) !important;
    border-color: rgba(116, 185, 255, 0.55) !important;
    box-shadow: 0 6px 20px rgba(116, 185, 255, 0.25) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Orijinal WhatsApp Buton Stili (Yedek) */
.neu-btn-whatsapp {
    background: linear-gradient(135deg, #074E54, #0b6972) !important;
    border: 1px solid rgba(37, 211, 102, 0.3) !important;
    color: #ffffff !important;
}

.neu-btn-whatsapp:hover {
    background: linear-gradient(135deg, #0a5f67, #0e7d87) !important;
    box-shadow: 0 6px 20px rgba(7, 78, 84, 0.5) !important;
}

/* ==========================================================================
   KATEGORİ FİLTRELEME ÇUBUĞU (KONTEYNERSİZ & MİNİMALİST SEÇİM)
   ========================================================================== */
.filter-nav-wrap {
    margin-bottom: 20px;
    position: relative;
    z-index: 20;
}

.filter-btn-group {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 6px 8px;
    background: transparent;
    border: none;
    box-shadow: none;
}

#portfolioGrid,
#alt-bilgi-alani > .row,
#ekipman-alani > .row {
    justify-content: center;
}

.filter-btn-group::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 9px 16px;
    font-size: 13px;
    border-radius: 12px;
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 4px 4px 10px #080808, -3px -3px 8px #1c1c1c;
    color: rgba(255, 255, 255, 0.78);
}

.filter-pill:hover {
    background: #1d1d1d;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 5px 5px 12px #060606, -4px -4px 10px #202020;
    transform: translateY(-1px);
    color: #ffffff;
}

.filter-pill.active,
.neu-btn-dark.filter-pill.active {
    background: #ffffff !important;
    color: #111111 !important;
    font-weight: 700 !important;
    border-color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.16) !important;
}

.filter-count {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 8px;
    margin-left: 4px;
}

.neu-btn-dark.active .filter-count,
.filter-pill.active .filter-count {
    color: #ffffff;
    background: #181818;
}

/* ==========================================================================
   DİKEY VİDEO MASKESİ (.video-mask)
   NOT: padding-bottom ve taşma yaratan ekstra boşluklar kaldırıldı.
   ========================================================================== */
.video-mask {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0;
    background: #000000;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.video-mask:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.video-mask video {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 20px;
    border: none !important;
    display: block;
}

/* ==========================================================================
   CAROUSEL VE AFİŞ MASKELERİ (ORANLAR VE KORUMA)
   ========================================================================== */
.carousel-mask {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    line-height: 0;
    background: #0d0d0d;
    aspect-ratio: 1 / 1;
    width: 100%;
    margin-bottom: 0 !important;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.carousel-mask:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.carousel-mask .carousel,
.carousel-mask .carousel-inner,
.carousel-mask .carousel-item,
.carousel-mask .lightbox-trigger {
    width: 100%;
    height: 100%;
}

.carousel-mask img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    border: none !important;
    display: block;
}

/* Standalone Bootstrap Carousel Motoru (Harici dosya bağımlılığı olmadan her ortamda çalışır) */
.carousel {
    position: relative;
}
.carousel.pointer-event {
    touch-action: pan-y;
}
.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.carousel-inner::after {
    display: block;
    clear: both;
    content: "";
}
.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    height: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .carousel-item {
        transition: none;
    }
}
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    display: block !important;
}
.active.carousel-item-end,
.carousel-item-next:not(.carousel-item-start) {
    transform: translateX(100%);
}
.active.carousel-item-start,
.carousel-item-prev:not(.carousel-item-end) {
    transform: translateX(-100%);
}

.poster-mask {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    line-height: 0;
    background: #0d0d0d;
    aspect-ratio: 4 / 5;
    width: 100%;
    margin-bottom: 0 !important;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.poster-mask:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.poster-mask img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 20px;
    border: none !important;
    display: block;
}

/* Medya Başlık ve Açıklama Alanı (Ortalanmış & Boşluk Azaltılmış) */
.media-info {
    padding: 3px 2px 0 2px !important;
    margin-top: 4px !important;
    text-align: center !important;
    width: 100%;
}

.media-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-top: 0 !important;
    margin-bottom: 2px !important;
    letter-spacing: -0.2px;
    text-align: center !important;
}

.media-sub {
    font-size: 11.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.35;
    margin-bottom: 0 !important;
    text-align: center !important;
}

/* Sada Dijital İş Birliği İbaresi & Bağlantısı */
.sada-collab-badge {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.35;
    letter-spacing: -0.1px;
}

.sada-link {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 2.5px;
    transition: opacity 0.2s ease;
}

.sada-link:hover {
    color: #ffffff !important;
    opacity: 0.75;
    text-decoration: underline !important;
}

.portfolio-item-card {
    width: 100%;
}

/* ==========================================================================
   YATAY VİDEO MASKESİ (16:9 - BİRLİKTE NELER YAPABİLİRİZ)
   ========================================================================== */
.horizontal-video-mask {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    border: none !important;
    background: #0d0d0d;
    aspect-ratio: 16 / 9;
    width: 100%;
    cursor: pointer;
    box-shadow: 6px 6px 15px #060606, -5px -5px 12px #1c1c1c;
    z-index: 1;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.horizontal-video-mask:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 20px #040404, -6px -6px 14px #202020;
}

.horizontal-video-mask video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: none !important;
    display: block;
    aspect-ratio: 16 / 9;
}

.video-mask {
    cursor: pointer;
}

.video-mask.is-playing,
.horizontal-video-mask.is-playing {
    cursor: default;
}

/* Mobil Tarayıcılarda (iOS/Android) controls kapalıyken sistem Play ikonunu kesin gizle */
video:not([controls])::-webkit-media-controls,
video:not([controls])::-webkit-media-controls-enclosure,
video:not([controls])::-webkit-media-controls-panel,
video:not([controls])::-webkit-media-controls-overlay-play-button,
video:not([controls])::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Sol Alt Köşe Video Oynatma Rozeti (Seçenek 2 - Açık Kapak Görseli) */
.video-play-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 10;
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    outline: none;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.video-play-badge svg {
    width: 16px;
    height: 16px;
    margin-left: 2px;
    fill: currentColor;
    pointer-events: none;
}

.video-mask:hover .video-play-badge,
.horizontal-video-mask:hover .video-play-badge,
.video-play-badge:hover {
    background: rgba(28, 28, 28, 0.88);
    border-color: rgba(255, 255, 255, 0.45);
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
}

.video-mask.is-playing .video-play-badge,
.horizontal-video-mask.is-playing .video-play-badge {
    opacity: 0 !important;
    transform: scale(0.8) !important;
    pointer-events: none !important;
}

/* Orijinal Video & Görsel Link İkonu */
.gorsel-link-icon, .video-link-icon {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-link-icon:hover, .gorsel-link-icon:hover {
    background: rgba(225, 48, 108, 0.85);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: scale(1.12);
    box-shadow: 0 6px 18px rgba(225, 48, 108, 0.4);
}

@media (max-width: 575.98px) {
    .video-play-badge {
        bottom: 10px;
        left: 10px;
        width: 32px;
        height: 32px;
    }

    .video-play-badge svg {
        width: 14px;
        height: 14px;
        margin-left: 1.5px;
    }

    .gorsel-link-icon, .video-link-icon {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
    }

    .gorsel-link-icon svg, .video-link-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   ORİJİNAL VE GELİŞMİŞ CAROUSEL OK BUTONLARI (KESİN GÖRÜNÜRLÜK & ERİŞİM)
   ========================================================================== */
.carousel-control-prev,
.carousel-control-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 30 !important;
    opacity: 0.95 !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s ease, box-shadow 0.25s ease !important;
    pointer-events: auto !important;
    outline: none !important;
}

.carousel-control-prev {
    left: 10px !important;
    right: auto !important;
}

.carousel-control-next {
    right: 10px !important;
    left: auto !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #ffffff !important;
    transform: translateY(-50%) scale(1.12) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6) !important;
    opacity: 1 !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    filter: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23111'%3e%3cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23111'%3e%3cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==========================================================================
   ORİJİNAL YOUTUBE VİDEO CONTAINER
   ========================================================================== */
.video-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: none !important;
}

.video-container iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
}

/* ==========================================================================
   ORİJİNAL TİPOGRAFİ & OKUNABİLİRLİK
   ========================================================================== */
.responsive-text {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    text-align: left;
}

.responsive-text2 {
    font-size: 12px;
    line-height: 1.6;
}

.h2-responsive {
    text-align: center;
}

@media (min-width: 768px) {
    .responsive-text {
        font-size: 16px;
        line-height: 1.8;
        text-align: left;
    }
    .responsive-text2 {
        font-size: 14px;
    }
    .h2-responsive {
        text-align: left;
    }
}

/* ==========================================================================
   ORİJİNAL FOOTER & BACK TO TOP
   ========================================================================== */
.custom-footer {
    background-color: #000000 !important;
    border-top: 1px solid #141414;
    text-align: center !important;
    padding: 24px 0;
}

.custom-footer .container {
    text-align: center !important;
}

.custom-footer p {
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

.custom-footer .text-secondary {
    color: #6c757d !important;
    text-align: center !important;
}

#btn-back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#btn-back-to-top svg {
    fill: #ffffff;
}

#btn-back-to-top:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   LIGHTBOX MODAL & BOOTSTRAP MODAL MOTORU
   ========================================================================== */
.fade {
    transition: opacity 0.15s linear;
}
.fade:not(.show) {
    opacity: 0;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}
.modal.show {
    display: block !important;
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    pointer-events: none;
    max-width: 800px;
}
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
}
.modal-backdrop.fade {
    opacity: 0;
}
.modal-backdrop.show {
    opacity: 0.75;
}
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #fff;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.7;
    cursor: pointer;
}
.btn-close:hover {
    opacity: 1;
}

.portfolio-modal .modal-content {
    background: #121212;
    border: none !important;
    border-radius: 24px;
    box-shadow: 12px 12px 30px #080808;
    overflow: hidden;
}

.portfolio-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 20px;
}

.portfolio-modal .modal-body {
    padding: 16px;
    text-align: center;
    background: #0c0c0c;
}

.portfolio-modal .modal-body img {
    max-height: 80vh;
    width: auto;
    max-width: 100%;
    border-radius: 16px;
    object-fit: contain;
}

/* ==========================================================================
   WHATSAPP AKILLI İLETİŞİM & YÖNLENDİRME MODALI
   ========================================================================== */
#whatsappModal .modal-dialog {
    max-width: 520px;
    margin: 1.25rem auto;
    padding: 0 12px;
}

#whatsappModal .modal-content {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

#whatsappModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 22px;
    background: #141414;
}

#whatsappModal .modal-body {
    background: #141414;
    padding: 20px 22px 24px 22px;
    text-align: left;
}

.wa-modal-subtitle {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    margin-bottom: 16px;
}

.wa-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wa-option-btn {
    width: 100%;
    text-align: left;
    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 4px 4px 12px #0a0a0a, -3px -3px 10px #222222;
    transition: all 0.25s ease;
}

.wa-option-btn:hover {
    background: #222222;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: #ffffff;
}

.wa-option-btn.wa-option-primary {
    background: linear-gradient(135deg, rgba(7, 78, 84, 0.55), rgba(11, 105, 114, 0.45));
    border-color: rgba(37, 211, 102, 0.4);
}

.wa-option-btn.wa-option-primary:hover {
    background: linear-gradient(135deg, rgba(10, 95, 103, 0.75), rgba(14, 125, 135, 0.65));
    border-color: rgba(37, 211, 102, 0.7);
    box-shadow: 0 8px 22px rgba(7, 78, 84, 0.45);
}

.wa-option-text {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    color: #ffffff;
}

.wa-option-arrow {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.wa-info-panel {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13.5px;
    line-height: 1.65;
}

.wa-back-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 0;
    margin-top: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.wa-back-btn:hover {
    color: #ffffff;
}

/* Filtreleme Geçiş Animasyonu */
.grid-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.grid-item.d-none {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

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

/* ==========================================================================
   5 KOLONLU VİDEO GRİD DÜZENİ (DESKTOP >= 992px)
   Videolar için satır başına 5 adet video yerleşimi sağlar
   ========================================================================== */
@media (min-width: 992px) {
    .col-lg-video {
        flex: 0 0 20% !important;
        max-width: 20% !important;
        width: 20% !important;
    }
}

/* ==========================================================================
   NETFLIX / SPOTIFY TARZI YATAY VİTRİN RAFLARI (MİNİMALİST & TEKİL KONTEYNER)
   ========================================================================== */
.portfolio-shelves-wrapper {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.portfolio-shelf {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2px 0;
    box-shadow: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-shelf.d-none {
    display: none !important;
}

.shelf-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    padding: 0 2px;
}

.shelf-title-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.shelf-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.shelf-title {
    font-size: 17.5px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.shelf-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.56);
    margin: 0;
    line-height: 1.4;
}

.shelf-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.shelf-expand-btn {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 99px;
    box-shadow: 4px 4px 10px #080808, -3px -3px 8px #1a1a1a;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.shelf-expand-btn:hover,
.portfolio-shelf.is-expanded .shelf-expand-btn {
    background: #ffffff;
    color: #0b0b0b;
    border-color: #ffffff;
}

.shelf-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 4px 4px 10px #080808, -3px -3px 8px #1a1a1a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 17px;
    line-height: 1;
    transition: all 0.2s ease;
}

.shelf-nav-btn:hover {
    background: #ffffff;
    color: #0b0b0b;
    border-color: #ffffff;
    transform: scale(1.06);
}

.portfolio-shelf.is-expanded .shelf-nav-btn {
    display: none;
}

/* Yatay Kaydırılabilir Raf İzi (Track) */
.shelf-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 14px;
    padding: 10px 10px 14px 10px;
    margin: 0 -10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.shelf-track::-webkit-scrollbar {
    display: none;
}

/* Videoların Kendisine Doğrudan Gölge Efekti & Alt Yazıların Gölge Üzerinde Kalması */
.shelf-item {
    flex: 0 0 17.4%;
    max-width: 17.4%;
    min-width: 0;
}

.shelf-item .portfolio-item-card {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    position: relative;
}

.shelf-item .video-mask,
.shelf-item .carousel-mask,
.shelf-item .poster-mask,
.shelf-item .video-container {
    border-radius: 18px;
    box-shadow: 6px 6px 15px #060606, -5px -5px 12px #1c1c1c;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shelf-item .video-mask:hover,
.shelf-item .carousel-mask:hover,
.shelf-item .poster-mask:hover,
.shelf-item .video-container:hover {
    box-shadow: 8px 8px 20px #040404, -6px -6px 14px #202020;
}

.shelf-item .video-mask video,
.shelf-item .carousel-mask img,
.shelf-item .poster-mask img {
    border-radius: 18px;
}

/* Altındaki yazılar gölgeden etkilenmesin, gölge katmanının üzerinde dursun */
.shelf-item .media-info {
    position: relative;
    z-index: 3;
    margin-top: 7px !important;
    padding: 0 2px !important;
}

.shelf-item .sada-collab-badge {
    position: relative;
    z-index: 3;
    color: rgba(255, 255, 255, 0.72);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.shelf-item.shelf-item-doc {
    flex: 0 0 41%;
    max-width: 41%;
}

/* Genişletilmiş (Tümünü Gör) Izgara Görünümü */
.portfolio-shelf.is-expanded .shelf-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    overflow-x: visible;
}

.portfolio-shelf.is-expanded .shelf-track.shelf-track-square {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portfolio-shelf.is-expanded .shelf-track.shelf-track-doc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-shelf.is-expanded .shelf-track .shelf-item {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .shelf-item {
        flex: 0 0 24.5%;
        max-width: 24.5%;
    }
    .shelf-item.shelf-item-doc {
        flex: 0 0 62%;
        max-width: 62%;
    }
    .portfolio-shelf.is-expanded .shelf-track,
    .portfolio-shelf.is-expanded .shelf-track.shelf-track-square {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobil (< 768px): %10-%15 büyütülmüş ideal mobil video boyutu */
@media (max-width: 767px) {
    .portfolio-shelves-wrapper {
        gap: 16px;
    }
    .shelf-header {
        margin-bottom: 6px;
        gap: 8px;
    }
    .shelf-title {
        font-size: 14.5px;
    }
    .shelf-subtitle {
        font-size: 11px;
    }
    .shelf-nav-btn {
        width: 28px;
        height: 28px;
        font-size: 15px;
    }
    .shelf-expand-btn {
        font-size: 10.5px;
        padding: 4px 9px;
    }
    .shelf-track {
        gap: 11px;
        padding: 8px 8px 12px 8px;
        margin: 0 -8px;
    }
    .shelf-item {
        flex: 0 0 35%;
        max-width: 35%;
    }
    .shelf-item .video-mask,
    .shelf-item .carousel-mask,
    .shelf-item .poster-mask,
    .shelf-item .video-container {
        border-radius: 15px;
        box-shadow: 5px 5px 12px #060606, -4px -4px 10px #1b1b1b;
    }
    .shelf-item .video-mask video,
    .shelf-item .carousel-mask img,
    .shelf-item .poster-mask img {
        border-radius: 15px;
    }
    .shelf-item.shelf-item-doc {
        flex: 0 0 84%;
        max-width: 84%;
    }
    .portfolio-shelf.is-expanded .shelf-track,
    .portfolio-shelf.is-expanded .shelf-track.shelf-track-square {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .portfolio-shelf.is-expanded .shelf-track.shelf-track-doc {
        grid-template-columns: 1fr;
    }
}
