
.birsatirkes {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.ikisatirkes {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.ucsatirkes {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.dortsatirkes {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.bessatirkes {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.altisatirkes {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.yedisatirkes {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.zoom-thumb {
    width: 250px; 
    height: auto;
    cursor: zoom-in; 
    transition: opacity 0.2s ease;
}
.zoom-thumb:hover {
    opacity: 0.85;
}

.zoom-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); 
    z-index: 99999; 
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-overlay.active {
    display: flex;
    opacity: 1;
}

#zoom-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    cursor: zoom-out; 
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.zoom-overlay.active #zoom-img {
    transform: scale(1);
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}
.zoom-close:hover {
    color: #ccc;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Ana Kapsayıcı */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 500px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-radius: 8px;
    user-select: none;
}

/* Fotoğrafların Ortak Özelliği */
.slider-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Üstteki Fotoğrafın Kapsayıcısı (Genişliği JS ile değişecek) */
.img-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Başlangıçta tam yarıda dursun */
    height: 100%;
    overflow: hidden;
}

/* Ortadaki Çizgi */
.slider-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%; /* Başlangıçta tam yarıda dursun */
    width: 4px;
    background-color: #fff;
    cursor: ew-resize;
    transform: translateX(-50%);
}

/* Çizginin Ortasındaki Yuvarlak Ok Butonu */
.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    pointer-events: none; /* Tıklamayı çizgiye geçirmesi için */
}

/* Tersane Fotoğraf  */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*body {
    background-color: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}
*/
/* Tersane Harita Kapsayıcısı */
.shipyard-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
}

/* İşaretçi Noktalar (Hotspots) */
.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hotspot-trigger {
    width: 35px;
    height: 35px;
    background-color: #38bdf8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
    animation: pulse 2s infinite;
    transition: background-color 0.3s;
}

.hotspot:hover .hotspot-trigger {
    background-color: #0284c7;
}

/* Üzerine Gelince Çıkan İsim (Tooltip) */
.hotspot-tooltip {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(15, 23, 42, 0.95);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 14px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    border: 1px solid #334155;
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Dalgalanma Efekti (Pulse) */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* --- MODAL (AÇILIR PENCERE) STİLLERİ --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background-color: #1e293b;
    color: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    max-width: 550px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 1px solid #475569;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    background: none; border: none;
    color: #94a3b8; font-size: 28px; cursor: pointer;
}
.close-btn:hover { color: #fff; }

.modal-title { margin-bottom: 20px; font-size: 22px; color: #38bdf8; }

/* Sekme Butonları */
.tab-header {
    display: flex;
    border-bottom: 2px solid #334155;
    margin-bottom: 15px;
}

.tab-btn {
    background: none; border: none;
    color: #94a3b8; padding: 10px 20px;
    cursor: pointer; font-size: 16px;
    transition: color 0.3s;
}

.tab-btn.active {
    color: #38bdf8;
    border-bottom: 2px solid #38bdf8;
    margin-bottom: -2px;
}

/* Sekme İçerikleri */
.tab-content { display: none; line-height: 1.6; color: #cbd5e1; }
.tab-content.active { display: block; }

.shipyard-wrapper {
    position: relative;
    width: 1000px;
    height: 600px;
}

/* 1. Karartma Perdesi: Başlangıçta tamamen şeffaf (opacity: 0) */
.dark-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Siyah %60 saydam perde */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5; /* Fotoğrafın üstünde, alanların altında */
    pointer-events: none; /* Altındaki elementlere tıklanabilsin diye */
}

/* Herhangi bir alanın üzerine gelindiğinde PERDEYİ GÖSTER */
.shipyard-wrapper.has-hover .dark-overlay {
    opacity: 1;
}
.whatsapp-float {
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 260px;
    right: 5px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.whatsapp-my-float {
    margin-top: 5px;
}

.phone-float {
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 180px;
    right: 5px;
    background-color: #000000;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.phone-my-float {
    color: white;
    margin-top: 5px;
}

.instagram-float {
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 100px;
    right: 5px;
    background-color: #f56040;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.instagram-my-float {
    margin-top: 5px;
}

/* 2. Etkileşimli Bölge Dilimleri (Örnek: Hangar Bölgesi) */
.area-slice {
    position: absolute;
    border: 2px dashed rgba(255,255,255,0.3); /* Tasarım esnasında yeri görmek için */
    cursor: pointer;
    z-index: 6; /* Perdenin hemen üstü */
    transition: all 0.3s ease;
}

/* Örnek Koordinat: Hangarın fotoğraftaki yeri */
#alan-hangar {
    top: 40%; left: 50%;
    width: 250px; height: 180px;
}

/* JavaScript ile bu sınıfa 'active' verildiğinde o alanı parlat */
.area-slice.active {
    z-index: 10; /* Perdenin EN ÖNÜNE fırlatır */
    border-color: #38bdf8;
    background-color: rgba(56, 189, 248, 0.1); /* Hafif mavi bir parlama */
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
}
