/* --- GENEL AYARLAR --- */
html {
    height: auto;
    overflow-x: hidden;
    background-color: #000;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: transparent;
    color: white;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* --- ARKA PLAN (SABİT) --- */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -10; 
    pointer-events: none;
}

.bg-img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    object-position: center top; 
    opacity: 0.6;
}

/* --- ORTA KISIM: LOGO VE SLOGAN (SAYFAYLA BERABER KAYAR) --- */
.header-center {
    position: absolute; /* Absolute: Sayfa kayınca yukarı gider */
    top: 40px; 
    left: 0; 
    width: 100%;
    text-align: center;
    pointer-events: none; /* Tıklamalar alttaki elementlere geçsin */
    z-index: 20; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo linki tıklanabilir olsun */
.header-center a {
    pointer-events: auto;
}

.header-logo {
    width: 180px; 
    height: auto;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.header-logo:hover {
    transform: scale(1.05);
}

.dock-title {
    font-size: 24px;
    font-weight: 200;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
    margin-top: 20px;
    margin-bottom: 0;
    white-space: nowrap;
}

/* --- SAĞ KISIM: SOSYAL MEDYA BAR (SABİT KALIR) --- */
.social-sidebar {
    position: fixed; 
    top: 40px; 
    right: 40px; 
    display: flex;
    flex-direction: column; 
    gap: 15px; 
    z-index: 100; 
    pointer-events: auto; 
}

.social-btn {
    width: 50px; 
    height: 50px;
    border-radius: 50%; /* Tam yuvarlak çerçeve */
    
    /* İkon zaten butonun kendisi olacağı için arka planı şeffaflaştırıyoruz */
    background: transparent; 
    backdrop-filter: blur(0px); /* Bulanıklığı kapattık ki logo net olsun */
    border: none; /* Çerçeveyi kaldırdık */
    
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    
    /* ÖNEMLİ: Taşan kısımları (köşeleri) kes */
    overflow: hidden; 
    
    /* Hafif gölge ekleyelim ki havada dursun */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.social-btn:hover {
    transform: scale(1.1) translateX(-3px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

/* --- İKON AYARLARI (TAM KAPLA) --- */
.social-btn img {
    /* Resmi kutuya tamamen yayıyoruz */
    width: 100%; 
    height: 100%;
    
    /* Cover: Resmi deforme etmeden kutuyu doldurur */
    object-fit: cover; 
    
    filter: none;
    opacity: 1;
    border-radius: 50%; /* Resmin kendisini de yuvarla */
    display: block;
}

/* --- ANA İÇERİK BOŞLUKLARI --- */
.dock-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    padding-top: 220px; /* Logo için üstten boşluk */
    padding-bottom: 50px;
    pointer-events: none;
    min-height: 100vh; 
    box-sizing: border-box;
}

.product-page-container {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 240px 20px 150px 20px; /* Logo için üstten boşluk */
    gap: 60px;
    min-height: auto;
}

/* --- DİĞER ORTAK STİLLER (AYNEN KORUNDU) --- */
.mac-dock, .product-card, .carousel-stage {
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.01) 40%, 
        rgba(255, 255, 255, 0.0) 100%
    );
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.4); 
    border-left: 1px solid rgba(255, 255, 255, 0.2); 
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1); 
}

.mac-dock {
    pointer-events: auto;
    display: flex;
    align-items: flex-end; 
    justify-content: center;
    height: 70px; 
    padding: 0 30px 15px 30px; 
    border-radius: 35px;
    box-sizing: content-box;
}

.dock-item {
    position: relative;
    width: 60px; 
    height: 60px;
    margin: 0 5px; 
    cursor: pointer;
    z-index: 10;
    transition: width 0.05s ease-out, height 0.05s ease-out;
    will-change: width, height;
}

.dock-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none !important; 
    box-shadow: none !important;
}

.dock-item::after {
    content: attr(data-name);
    position: absolute;
    top: -50px; 
    left: 50%;
    transform: translate(-50%, 10px);
    color: white;
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(5px);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease; 
    border: 1px solid rgba(255,255,255,0.15);
}

.dock-item:hover::after { opacity: 1; transform: translate(-50%, 0); }

/* --- ÜRÜN KARTI --- */
.product-card {
    border-radius: 50px; 
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden; 
    min-height: 600px;
    width: 100%;
}
.card-visual { flex: 1.1; position: relative; border-right: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: center; align-items: center; padding: 30px; }
.card-content { flex: 0.9; padding: 60px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; }
.card-content h2 { font-size: 48px; font-weight: 700; margin: 0 0 10px 0; color: white; }
.subtitle { font-size: 20px; color: rgba(255, 255, 255, 0.9); margin-bottom: 25px; font-weight: 500; }
.description { font-size: 16px; color: #eee; line-height: 1.6; margin-bottom: 30px; }
.features-list ul { list-style: none; padding: 0; margin-bottom: 30px;}
.features-list li { margin-bottom: 12px; font-size: 15px; color: rgba(255,255,255,0.85); border-left: 2px solid rgba(255,255,255,0.4); padding-left: 15px; }
.features-list li strong { color: white; }
.btn { padding: 14px 40px; background: white; color: black; text-decoration: none; border-radius: 30px; font-weight: 700; font-size: 16px; transition: all 0.3s ease; cursor: pointer; }
.btn:hover { background: #ddd; transform: translateY(-2px); }

/* VİDEO */
.video-wrapper { position: relative; width: 100%; max-width: 550px; display: flex; justify-content: center; align-items: center; transition: transform 0.3s ease; z-index: 50; pointer-events: auto; cursor: pointer; }
.square-ratio { aspect-ratio: 1 / 1; }
.wide-ratio { aspect-ratio: 16 / 9; }
.video-mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 0; overflow: hidden; z-index: 1; }
.app-icon { position: absolute; z-index: 10; width: 60%; height: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: all 0.4s ease; filter: none; }
.app-video { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.4s ease; }
.video-wrapper:hover .app-icon { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
.video-wrapper:hover .app-video { opacity: 1; }
.video-wrapper:hover .progress-bar-container { opacity: 1; }
.progress-bar-container { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: rgba(255,255,255,0.1); z-index: 5; opacity: 0; transition: 0.3s; }
.progress-bar { width: 0%; height: 100%; background: #ff3b30; }

/* GALERİ */
.gallery-section { width: 100%; display: flex; flex-direction: column; align-items: center; }
.gallery-header { text-align: center; font-size: 32px; font-weight: 200; letter-spacing: 2px; margin-bottom: 40px; color: rgba(255,255,255,0.9); text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.carousel-container { position: relative; width: 100%; max-width: 100%; height: 650px; display: flex; justify-content: center; align-items: center; }
.carousel-stage { position: relative; width: 100%; height: 100%; border-radius: 50px; overflow: hidden; padding: 0; display: flex; justify-content: center; align-items: center; }
.carousel-slide { position: absolute; width: 100%; height: 100%; top: 0; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.5s ease-in-out; pointer-events: none; padding: 40px; box-sizing: border-box; }
.carousel-slide.active { opacity: 1; pointer-events: auto; z-index: 2; }
.carousel-img { max-width: 100%; max-height: 85%; object-fit: contain; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.carousel-text { margin-top: 25px; font-size: 18px; color: #eee; text-align: center; font-weight: 400; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.3); color: white; border: 1px solid rgba(255, 255, 255, 0.1); width: 60px; height: 60px; border-radius: 50%; font-size: 24px; cursor: pointer; backdrop-filter: blur(10px); transition: all 0.3s ease; z-index: 20; display: flex; justify-content: center; align-items: center; }
.carousel-btn:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-50%) scale(1.1); }
.prev-btn { left: 20px; } .next-btn { right: 20px; }
.carousel-indicators { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 15px; z-index: 20; padding: 10px 20px; background: rgba(0,0,0,0.2); border-radius: 20px; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.05); }
.dot { width: 12px; height: 12px; background: rgba(255, 255, 255, 0.3); border-radius: 50%; cursor: pointer; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); border: 1px solid rgba(255,255,255,0.1); }
.dot:hover { background: rgba(255, 255, 255, 0.6); }
.dot.active { background: #fff; transform: scale(1.4); box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 5px rgba(255,255,255,1); border-color: transparent; }

@media (max-width: 1000px) {
    .header-center { top: 20px; } .header-logo { width: 140px; } .dock-title { font-size: 18px; margin-top: 10px; }
    .social-sidebar { top: 20px; right: 20px; gap: 10px; } .social-btn { width: 40px; height: 40px; }
    .dock-container { padding-top: 150px; } .product-page-container { padding-top: 180px; }
    .product-card { flex-direction: column; height: auto; } .card-visual, .card-content { width: 100%; padding: 30px; border: none;}
    .mac-dock { flex-wrap: wrap; height: auto; padding: 20px; align-items: center; } .dock-item { width: 60px; height: 60px; margin: 10px; }
    .carousel-container { height: 450px; } .carousel-btn { width: 40px; height: 40px; font-size: 18px; } .carousel-text { font-size: 15px; } .carousel-slide { padding: 20px; }
}