/* ==========================================================
   PROJE DETAY SAYFASI - FULLSCREEN
========================================================== */

/* Ana container - tam ekran, kaydırma yok */
.proje-detay {
    width: 100%;
    height: calc(100vh - 89px);
    display: flex;
    flex-direction: column;
    background: var(--navy);
    color: #fff;
    overflow: hidden;
}

/* ==========================================================
   MOBIL PROJE BAŞLIĞI (Varsayılan olarak gizli)
========================================================== */
.mobile-project-bar {
    display: none;
    width: 100%;
    background: #001522;
    border-bottom: 1px solid rgba(246, 185, 31, 0.25);
    padding: 12px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    z-index: 15;
    position: relative;
}

.mobile-project-name {
    font-family: "Playfair Display", serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
}

.mobile-project-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.mobile-project-location i {
    color: var(--gold2);
    font-size: 13px;
}

/* ==========================================================
   GALERİ SECTION - Tam ekran
========================================================== */
.proje-gallery-section {
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.proje-gallery {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ==========================================================
   GALERİ ÜZERİNDEKİ BAŞLIK YAZILARI
========================================================== */
.gallery-title-area {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    pointer-events: none;
}

.gallery-title-area a,
.gallery-title-area button {
    pointer-events: auto;
}

.gallery-subtitle {
    color: var(--gold2);
    font-family: "Great Vibes", cursive;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 6px;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.95),
        0 0 30px rgba(0, 0, 0, 0.8),
        0 1px 3px rgba(0, 0, 0, 1);
}

.gallery-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 4.2vw, 56px);
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    margin: 0;
    line-height: 1.1;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.95),
        0 0 40px rgba(0, 0, 0, 0.8),
        0 2px 6px rgba(0, 0, 0, 1);
}

.gallery-location {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    margin-top: 10px;
}

.gallery-location-line {
    width: 40px;
    height: 1.5px;
    background: var(--gold2);
    display: block;
    box-shadow: 0 0 10px rgba(246, 185, 31, 0.6);
}

.gallery-location strong {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.95),
        0 0 20px rgba(0, 0, 0, 0.8);
}

.gallery-slogan {
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    letter-spacing: 3px;
    margin-top: 14px;
    font-weight: 500;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.95),
        0 0 20px rgba(0, 0, 0, 0.8);
}

.gallery-slogan b {
    color: var(--gold2);
    padding: 0 12px;
    font-weight: 700;
}

.gallery-cta {
    margin-top: 22px;
    pointer-events: auto;
}

/* Buton - Altın sarısı */
.btn-sm {
    height: 46px !important;
    min-width: auto !important;
    padding: 0 32px !important;
    font-size: 13px !important;
    border-radius: 23px !important;
    gap: 10px !important;
    font-weight: 700 !important;
    background: var(--gold2) !important;
    color: #101010 !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-sm:hover {
    background: #e6aa1a !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 185, 31, 0.3);
}

.btn-sm .btn-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-sm:hover .btn-arrow {
    transform: translateX(6px);
}

/* ==========================================================
   SAĞ ÜST KONUM BİLGİSİ (Desktop)
========================================================== */
.gallery-top-right {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
    pointer-events: none;
    padding: 10px 20px;
    background: rgba(0, 21, 34, 0.55);
    border-radius: 30px;
    border: 1px solid rgba(246, 185, 31, 0.35);
    backdrop-filter: blur(8px);
}

.gallery-top-right i {
    color: var(--gold2);
    font-size: 16px;
}

/* ==========================================================
   ANA GALERİ (Slider)
========================================================== */
.gallery-main {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: #000;
}

.gallery-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.7s ease, transform 1s cubic-bezier(0.2, 0.65, 0.25, 1);
    pointer-events: none;
}

.gallery-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.gallery-slide img,
.gallery-slide video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ==========================================================
   FULLSCREEN MODDA RESMİ TAM GÖSTER
========================================================== */
.gallery-main.is-fullscreen .gallery-slide img,
.gallery-main.is-fullscreen .gallery-slide video {
    object-fit: contain;
    object-position: center;
    background: #000;
}

/* Tarayıcı native fullscreen (F11 / requestFullscreen) */
.gallery-main:fullscreen .gallery-slide img,
.gallery-main:fullscreen .gallery-slide video {
    object-fit: contain;
    object-position: center;
    background: #000;
}

/* YouTube iframe kapsayıcı */
.gallery-slide .gallery-video-iframe {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slide .gallery-video-iframe iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================
   GALERİ OKLARI
========================================================== */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--gold2);
    background: #000b12;
    color: #1a1a1a;
    display: grid;
    place-items: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.gallery-arrow:hover {
    background: #01101a;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.gallery-arrow i {
    color: var(--gold2);
}

.gallery-prev {
    left: 24px;
}
.gallery-next {
    right: 24px;
}

/* ==========================================================
   COUNTER
========================================================== */
.gallery-counter {
    position: absolute;
    z-index: 15;
    left: 28px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
}

/* ==========================================================
   FULLSCREEN BUTONU
========================================================== */
.gallery-fullscreen {
    position: absolute;
    right: 24px;
    bottom: 22px;
    z-index: 15;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.gallery-fullscreen:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold2);
    color: var(--gold2);
    transform: scale(1.08);
}

/* ==========================================================
   PROJE HAKKINDA BUTONU (İkon + Yazı, Fullscreen'in solunda)
========================================================== */
.gallery-about-btn {
    position: absolute;
    right: 74px;
    bottom: 22px;
    z-index: 15;
    height: 40px;
    padding: 0 18px 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    white-space: nowrap;
    font-family: "Montserrat", sans-serif;
}

.gallery-about-btn i {
    font-size: 15px;
    color: var(--gold2);
    transition: color 0.3s ease;
}

.gallery-about-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold2);
    color: var(--gold2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 185, 31, 0.25);
}

.gallery-about-btn:hover i {
    color: var(--gold2);
}

/* ==========================================================
   ALT GRADIENT
========================================================== */
.gallery-bottom-gradient {
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

/* ==========================================================
   THUMBNAILS
========================================================== */
.gallery-thumbnails-wrapper {
    position: relative;
    flex-shrink: 0;
    padding: 10px 0 6px;
    background: rgba(0, 21, 34, 0.6);
    display: flex;
    align-items: center;
    z-index: 5;
    width: 100%;
    padding-right: 160px;
}

.gallery-thumbnails {
    width: 100%;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0 40px;
    margin: 0 auto;
}

.gallery-thumbnails::-webkit-scrollbar {
    display: none;
}

.gallery-thumb {
    position: relative;
    flex: 0 0 180px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #071e2b;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.05);
}

.gallery-thumb.active {
    border-color: var(--gold2);
    box-shadow: 0 0 0 1px rgba(246, 185, 31, 0.25), 0 6px 20px rgba(0, 0, 0, 0.5);
}

.gallery-thumb-video {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.3);
}

.gallery-thumb-video i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1.5px solid var(--gold2);
    color: var(--gold2);
    font-size: 15px;
}

/* Sabit Tanıtım Videosu Butonu */
.thumb-video-fixed {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 150px;
    background: rgba(0, 21, 34, 0.9);
    border: none;
    border-left: 1px solid rgba(246, 185, 31, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0 10px;
    text-align: center;
}

.thumb-video-fixed:hover {
    background: rgba(0, 21, 34, 1);
    color: var(--gold2);
}

.thumb-video-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gold2);
    display: grid;
    place-items: center;
    font-size: 16px;
    color: var(--gold2);
    background: rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.thumb-video-fixed:hover .thumb-video-icon {
    background: var(--gold2);
    color: #101010;
    transform: scale(1.1);
}

.thumb-video-text {
    display: block;
    line-height: 1.3;
}

/* Thumbnail scroll okları */
.thumb-scroll {
    position: absolute;
    z-index: 20;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 10, 18, 0.85);
    color: #fff;
    cursor: pointer;
    display: none;
    place-items: center;
    font-size: 13px;
}

.thumb-scroll-prev {
    left: 8px;
}
.thumb-scroll-next {
    right: 8px;
}

/* ==========================================================
   GALERİ KATEGORİLERİ (Tabs)
========================================================== */
.gallery-tabs-wrapper {
    flex-shrink: 0;
    padding: 12px 0 8px;
    background: rgba(0, 21, 34, 0.6);
    border-top: 1px solid rgba(246, 185, 31, 0.1);
    width: 100%;
}

.gallery-tabs {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 0 auto;
}

.gallery-tab {
    position: relative;
    min-height: 82px;
    padding: 14px 28px 14px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(3, 24, 36, 0.7);
    color: #fff;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    width: 100%;
}

.gallery-tab:hover {
    border-color: rgba(246, 185, 31, 0.4);
    transform: translateY(-2px);
    background: rgba(3, 24, 36, 0.85);
}

.gallery-tab.active {
    border-color: rgba(246, 185, 31, 0.6);
    background: rgba(8, 35, 49, 0.95);
}

.gallery-tab-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--gold2);
    font-size: 24px;
}

.gallery-tab-text {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.3px;
    flex: 1;
}

.gallery-tab-arrow {
    margin-left: auto;
    color: var(--gold2);
    font-size: 15px;
    opacity: 0.4;
    flex-shrink: 0;
}

.gallery-tab-line {
    position: absolute;
    left: 22px;
    bottom: 0;
    width: 60px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
}

.gallery-tab.active .gallery-tab-line {
    background: var(--gold2);
    box-shadow: 0 -2px 10px rgba(246, 185, 31, 0.2);
}

/* ==========================================================
   ALT AKSİYONLAR - Fullscreen genişlik, ortalanmış
========================================================== */
.gallery-actions-wrapper {
    flex-shrink: 0;
    padding: 12px 40px 16px;
    background: rgba(0, 21, 34, 0.95);
    border-top: 1px solid rgba(246, 185, 31, 0.2);
    width: 100%;
}

.gallery-actions {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.detail-action {
    min-height: 76px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 29, 40, 0.5);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    gap: 18px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.detail-action:hover {
    transform: translateY(-2px);
    border-color: var(--gold2);
    background: rgba(7, 29, 40, 0.7);
}

.detail-action.active {
    background: linear-gradient(110deg, #ffd66d, #f3b52b);
    border-color: transparent;
    color: #101010;
    box-shadow: 0 6px 20px rgba(246, 185, 31, 0.15);
}

.detail-action-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--gold2);
    font-size: 24px;
    flex-shrink: 0;
}

.detail-action.active .detail-action-icon {
    color: #101010;
}

.detail-action strong {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.detail-action-arrow {
    color: var(--gold2);
    font-size: 15px;
    flex-shrink: 0;
    margin-left: 6px;
}

.detail-action.active .detail-action-arrow {
    color: #101010;
}

/* ==========================================================
   CSS FULLSCREEN (iOS Fallback)
========================================================== */
.gallery-main.is-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important; /* iOS için dinamik viewport */
    z-index: 99999 !important;
    background: #000 !important;
}

/* CSS fullscreen'de kontroller görünür kalsın */
.gallery-main.is-fullscreen .gallery-arrow,
.gallery-main.is-fullscreen .gallery-counter,
.gallery-main.is-fullscreen .gallery-fullscreen,
.gallery-main.is-fullscreen .gallery-about-btn {
    z-index: 100000 !important;
}


/* Close butonu - normalde gizli */
.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 18px;
    display: none;              /* sadece fullscreen'de görünür */
    place-items: center;
    cursor: pointer;
    z-index: 100001;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    padding: 0;
}

/* Fullscreen aktifken göster */
.gallery-main.is-fullscreen .gallery-close {
    display: grid;
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold2);
    color: var(--gold2);
    transform: scale(1.08);
}

/* Body scroll kilidi */
body.css-fullscreen-active {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

/* iOS için safe-area desteği */
.gallery-main.is-fullscreen .gallery-counter {
    left: max(28px, env(safe-area-inset-left));
    bottom: max(24px, env(safe-area-inset-bottom));
}

.gallery-main.is-fullscreen .gallery-fullscreen {
    right: max(24px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
}

.gallery-main.is-fullscreen .gallery-about-btn {
    right: max(74px, calc(env(safe-area-inset-right) + 74px));
    bottom: max(22px, env(safe-area-inset-bottom));
}

.gallery-main.is-fullscreen .gallery-prev {
    left: max(24px, env(safe-area-inset-left));
}

.gallery-main.is-fullscreen .gallery-next {
    right: max(24px, env(safe-area-inset-right));
}

/* ==========================================================
   PROJE HAKKINDA MODAL
========================================================== */
.about-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.about-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.about-modal {
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    background: linear-gradient(160deg, #021a28 0%, #001421 100%);
    border: 1px solid rgba(246, 185, 31, 0.35);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.about-modal-overlay.open .about-modal {
    transform: translateY(0) scale(1);
}

.about-modal-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 1px solid rgba(246, 185, 31, 0.2);
    background: rgba(0, 21, 34, 0.6);
}

.about-modal-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-modal-header h2 i {
    color: var(--gold2);
    font-size: 20px;
}

.about-modal-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.about-modal-close:hover {
    background: var(--gold2);
    color: #101010;
    border-color: var(--gold2);
    transform: rotate(90deg);
}

.about-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.8;
    scrollbar-width: thin;
    scrollbar-color: rgba(246, 185, 31, 0.4) transparent;
}

.about-modal-body::-webkit-scrollbar {
    width: 6px;
}

.about-modal-body::-webkit-scrollbar-thumb {
    background: rgba(246, 185, 31, 0.4);
    border-radius: 3px;
}

.about-modal-body h3 {
    font-family: "Playfair Display", serif;
    color: var(--gold2);
    font-size: 18px;
    margin: 22px 0 10px;
    letter-spacing: 1px;
}

.about-modal-body h3:first-child {
    margin-top: 0;
}

.about-modal-body p {
    margin: 0 0 14px;
}

.about-modal-body ul {
    margin: 0 0 16px;
    padding-left: 22px;
}

.about-modal-body ul li {
    margin-bottom: 8px;
    position: relative;
    list-style: none;
}

.about-modal-body ul li::before {
    content: "◆";
    color: var(--gold2);
    position: absolute;
    left: -20px;
    font-size: 10px;
    top: 4px;
}

.about-modal-body strong {
    color: #fff;
    font-weight: 700;
}

/* Modal açıkken body scroll kilidi */
body.modal-open {
    overflow: hidden;
}

/* ==========================================================
   RESPONSIVE - TABLET
========================================================== */
@media (max-width: 1100px) {
    .gallery-title-area {
        top: 30px;
        padding: 0 24px;
    }
    .gallery-subtitle {
        font-size: 20px;
    }
    .gallery-title {
        font-size: clamp(30px, 3.4vw, 42px);
    }
    .gallery-location strong {
        font-size: 13px;
    }
    .gallery-slogan {
        font-size: 11px;
    }
    .gallery-top-right {
        top: 30px;
        right: 24px;
        font-size: 13px;
        padding: 8px 16px;
    }
    .gallery-thumb {
        flex-basis: 140px;
        height: 80px;
    }
    .gallery-thumbnails-wrapper {
        padding-right: 140px;
    }
    .thumb-video-fixed {
        width: 130px;
        font-size: 10px;
    }
    .thumb-video-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    .gallery-tabs {
        padding: 0 20px;
        gap: 12px;
    }
    .gallery-actions-wrapper {
        padding: 12px 24px 16px;
    }
    .gallery-actions {
        gap: 14px;
    }
    .gallery-thumbnails {
        padding: 0 20px;
    }
    .gallery-tab {
        min-height: 72px;
        padding: 12px 18px 12px 16px;
        gap: 12px;
    }
    .gallery-tab-icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .gallery-tab-text {
        font-size: 13px;
    }
    .detail-action {
        min-height: 68px;
        padding: 0 20px;
        gap: 14px;
    }
    .detail-action-icon {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    .detail-action strong {
        font-size: 13px;
    }
    .gallery-arrow {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
    .gallery-prev {
        left: 18px;
    }
    .gallery-next {
        right: 18px;
    }

    /* Proje Hakkında Butonu - Tablet */
    .gallery-about-btn {
        right: 68px;
        bottom: 20px;
        height: 38px;
        padding: 0 16px 0 12px;
        font-size: 12px;
        gap: 7px;
        border-radius: 19px;
    }
    .gallery-about-btn i {
        font-size: 14px;
    }
}

/* ==========================================================
   RESPONSIVE - MOBIL
========================================================== */
@media (max-width: 800px) {
    .proje-detay {
        height: calc(100vh - 85px - 46px); /* Header + Mobile bar */
    }

    /* Mobil proje barını göster */
    .mobile-project-bar {
        display: flex;
        height: 46px;
        padding: 0 20px;
    }

    .mobile-project-name {
        font-size: 15px;
    }

    .mobile-project-location {
        font-size: 11px;
    }

    /* Desktop başlık alanlarını gizle */
    .gallery-title-area {
        display: none !important;
    }

    .gallery-top-right {
        display: none !important;
    }

    .gallery-arrow {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    .gallery-prev {
        left: 12px;
    }
    .gallery-next {
        right: 12px;
    }

    .gallery-thumbnails-wrapper {
        padding-right: 0;
        padding: 10px 0 6px;
    }

    .gallery-thumb {
        flex-basis: 105px;
        height: 58px;
    }

    .gallery-thumbnails {
        padding: 0 16px;
    }

    /* Mobilde sabit video butonunu gizle */
    .thumb-video-fixed {
        display: none;
    }

    /* Tabs - Mobilde 5 tab yan yana sığacak şekilde küçült */
    .gallery-tabs-wrapper {
        padding: 10px 0 6px;
    }

    .gallery-tabs {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
        padding: 0 12px;
        overflow-x: visible;
    }

    .gallery-tab {
        flex: none;
        min-height: 78px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 8px 4px;
        gap: 4px;
        border-radius: 10px;
        width: 100%;
    }

    .gallery-tab-icon {
        flex: 0 0 auto;
        width: 26px;
        height: 26px;
        font-size: 16px;
    }

    .gallery-tab-text {
        font-size: 8.5px;
        line-height: 1.15;
        letter-spacing: 0;
        font-weight: 600;
    }

    .gallery-tab-arrow {
        display: none;
    }

    .gallery-tab-line {
        left: 50%;
        transform: translateX(-50%);
        width: 28px;
        height: 2px;
    }

    /* Alt aksiyonlar */
    .gallery-actions-wrapper {
        padding: 8px 12px 12px;
        margin-bottom: 12vh;
    }

    .gallery-actions {
        gap: 4px;
        grid-template-columns: repeat(4, 1fr);
    }

    /* ============================================
       MOBİL: Icon solda, yazı sağda (yatay düzen)
       ============================================ */
    .detail-action {
        min-height: 54px;
        padding: 0 10px;
        gap: 8px;
        flex-direction: row;        /* Yatay düzen */
        justify-content: center;    /* İçeriği ortala */
        align-items: center;
        text-align: left;
        border-radius: 14px;
    }

    .detail-action-icon {
        width: 26px;
        height: 26px;
        font-size: 17px;
        flex-shrink: 0;
    }

    .detail-action strong {
        font-size: 11px;
        text-align: left;
        line-height: 1.2;
        letter-spacing: 0.2px;
    }

    .detail-action-arrow {
        display: none;
    }

    .gallery-counter {
        font-size: 13px;
        left: 16px;
        bottom: 16px;
    }

    /* Fullscreen butonu mobilde */
    .gallery-fullscreen {
        width: 34px;
        height: 34px;
        font-size: 15px;
        right: 16px;
        bottom: 14px;
    }

    /* Proje Hakkında Butonu - Mobil */
    .gallery-about-btn {
        right: 58px;
        bottom: 14px;
        height: 34px;
        padding: 0 14px 0 11px;
        font-size: 11px;
        gap: 6px;
        border-radius: 17px;
        background: rgba(0, 0, 0, 0.5);
        border-color: rgba(246, 185, 31, 0.4);
    }

    .gallery-about-btn i {
        font-size: 13px;
    }

    .gallery-about-btn span {
        font-size: 11px;
        letter-spacing: 0.3px;
    }

    /* Modal - Mobil */
    .about-modal {
        max-height: 90vh;
        border-radius: 16px;
    }
    .about-modal-header {
        padding: 18px 20px;
    }
    .about-modal-header h2 {
        font-size: 18px;
        letter-spacing: 1px;
    }
    .about-modal-header h2 i {
        font-size: 16px;
    }
    .about-modal-close {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    .about-modal-body {
        padding: 20px;
        font-size: 14px;
        line-height: 1.7;
    }
    .about-modal-body h3 {
        font-size: 16px;
    }

    /* CSS fullscreen mobile safe-area */
    .gallery-main.is-fullscreen .gallery-counter {
        left: max(16px, env(safe-area-inset-left));
        bottom: max(16px, env(safe-area-inset-bottom));
    }
    .gallery-main.is-fullscreen .gallery-fullscreen {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
    }
    .gallery-main.is-fullscreen .gallery-about-btn {
        right: max(58px, calc(env(safe-area-inset-right) + 58px));
        bottom: max(14px, env(safe-area-inset-bottom));
    }
    .gallery-main.is-fullscreen .gallery-prev {
        left: max(12px, env(safe-area-inset-left));
    }
    .gallery-main.is-fullscreen .gallery-next {
        right: max(12px, env(safe-area-inset-right));
    }
}

/* ==========================================================
   KÜÇÜK MOBIL
========================================================== */
@media (max-width: 480px) {
    .mobile-project-bar {
        height: 42px;
        padding: 0 16px;
    }

    .mobile-project-name {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .mobile-project-location {
        font-size: 10px;
        gap: 4px;
    }

    .mobile-project-location i {
        font-size: 11px;
    }

    .proje-detay {
        height: calc(100vh - 75px - 42px);
    }

    .gallery-thumb {
        flex-basis: 90px;
        height: 50px;
    }

    .gallery-tab {
        min-height: 70px;
        padding: 6px 3px;
        gap: 3px;
    }

    .gallery-tab-icon {
        width: 22px;
        height: 22px;
        font-size: 14px;
    }

    .gallery-tab-text {
        font-size: 7.5px;
        line-height: 1.1;
    }

    .gallery-tab-line {
        width: 22px;
    }

    /* Mobil alt aksiyonlar - icon solda, yazı sağda */
    .detail-action {
        min-height: 48px;
        padding: 0 8px;
        gap: 6px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        text-align: left;
    }

    .detail-action-icon {
        width: 22px;
        height: 22px;
        font-size: 15px;
    }

    .detail-action strong {
        font-size: 9.5px;
        text-align: left;
    }

    .gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .gallery-prev {
        left: 10px;
    }
    .gallery-next {
        right: 10px;
    }

    /* Proje Hakkında Butonu - Küçük Mobil */
    .gallery-about-btn {
        right: 52px;
        bottom: 10px;
        height: 32px;
        padding: 0 12px 0 10px;
        font-size: 10px;
        gap: 5px;
        border-radius: 16px;
        background: rgba(0, 0, 0, 0.55);
        border-color: rgba(246, 185, 31, 0.45);
    }

    .gallery-about-btn i {
        font-size: 12px;
    }

    .gallery-about-btn span {
        font-size: 10px;
        letter-spacing: 0.2px;
    }

    /* Fullscreen butonu küçük mobilde */
    .gallery-fullscreen {
        width: 32px;
        height: 32px;
        font-size: 14px;
        right: 12px;
        bottom: 10px;
    }

    /* Modal - Küçük Mobil */
    .about-modal-body {
        padding: 16px;
        font-size: 13px;
    }
    .about-modal-header {
        padding: 14px 16px;
    }
    .about-modal-header h2 {
        font-size: 16px;
    }
}

/* ==========================================================
   ÇOK KÜÇÜK EKRAN (360px altı) - Yazıyı gizle, sadece ikon
========================================================== */
@media (max-width: 380px) {
    .gallery-about-btn {
        right: 50px;
        height: 30px;
        padding: 0 8px;
        border-radius: 15px;
        gap: 0;
    }

    .gallery-about-btn span {
        display: none;
    }

    .gallery-about-btn i {
        font-size: 14px;
    }
}


/* ==========================================================
   FULLSCREEN KAPATMA BUTONU (Gerçek Element)
========================================================== */
.fullscreen-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 20px;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 100001;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.fullscreen-close-btn:hover {
    background: var(--gold2);
    color: #101010;
    border-color: var(--gold2);
    transform: rotate(90deg) scale(1.08);
    box-shadow: 0 6px 25px rgba(246, 185, 31, 0.4);
}

.fullscreen-close-btn i {
    pointer-events: none; /* İkon tıklamayı engellemesin */
    font-size: 20px;
    line-height: 1;
}

/* iOS safe-area desteği */
@supports (top: env(safe-area-inset-top)) {
    .fullscreen-close-btn {
        top: max(20px, calc(env(safe-area-inset-top) + 12px));
        right: max(20px, calc(env(safe-area-inset-right) + 12px));
    }
}

/* Mobil */
@media (max-width: 800px) {
    .fullscreen-close-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        top: 16px;
        right: 16px;
    }
    .fullscreen-close-btn i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .fullscreen-close-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
        top: 12px;
        right: 12px;
    }
    .fullscreen-close-btn i {
        font-size: 16px;
    }
}