/* =========================================
   GENEL AYARLAR VE TYPOGRAPHY
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; 
    color: #333;
    overflow-x: hidden; 
}

/* =========================================
   1. HEADER (SÜSLÜ, MODERN VE ORTALI BAŞLIK)
   ========================================= */
.ust-baslik {
    background: linear-gradient(to bottom, #ffffff 0%, #f4f8fb 100%);
    border-top: 5px solid #0d6efd;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 20px 50px;
    display: flex;                                                                                                                                                                                                                                                
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.header-sol .logo {
    height: 85px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.header-sol .logo:hover {
    transform: scale(1.05);
}

.header-orta {
    text-align: center;
    flex-grow: 1;
}

.header-orta h1 {
    margin: 0;
    font-size: 2.4rem;
    font-weight: 800;
    color: #0a1f35;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px rgba(13, 110, 253, 0.1);
}

.header-orta p {
    margin: 5px 0 0 0;
    font-size: 1rem;
    color: #0d6efd;
    font-weight: 600;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

.header-orta p::before,
.header-orta p::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: #ddd;
}
.header-orta p::before { left: -40px; }
.header-orta p::after { right: -40px; }

.header-sag {
    display: flex;
    gap: 20px;
}

.iletisim-kutu {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #eef2f5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.iletisim-kutu:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.15);
    border-color: #0d6efd;
}

.iletisim-kutu .ikon {
    background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.iletisim-kutu .yazi-grubu { display: flex; flex-direction: column; }
.iletisim-kutu .etiket { font-size: 0.7rem; color: #888; font-weight: 700; text-transform: uppercase; }
.iletisim-kutu .deger { font-size: 0.9rem; font-weight: 700; color: #333; }

/* =========================================
   2. NAV BAR (MENÜ)
   ========================================= */
.nav-bar {
    background-color: #0a1f35;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-logo {
    height: 40px;
    width: auto;
    margin-left: 30px;
    display: none; 
    border: 2px solid #fff;
    border-radius: 50%;
}

.nav-links-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav-bar a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 18px 30px;
    transition: all 0.3s;
    border-right: 1px solid rgba(255,255,255,0.05);
}
.nav-bar a:first-child { border-left: 1px solid rgba(255,255,255,0.05); }

.nav-bar a:hover, .nav-bar a.aktif {
    background-color: #0d6efd;
}

.nav-bar.sabit-menu {
    position: fixed;
    top: 0; left: 0;
    background-color: rgba(10, 31, 53, 0.95);
    padding: 5px 0;
    animation: slideDown 0.4s ease forwards;
}
.nav-bar.sabit-menu .nav-logo { display: block; }

@keyframes slideDown { from {transform: translateY(-100%);} to {transform: translateY(0);} }

/* =========================================
   3. ÜRÜN KARTLARI (GRID SİSTEMİ - ALT SAYFALAR)
   ========================================= */
.container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

.icerik-blogu {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.icerik-blogu:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.blok-resim {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.icerik-blogu:hover .blok-resim { transform: scale(1.1); }

.resim-ustu-baslik {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
    color: white; padding: 60px 20px 20px 20px; box-sizing: border-box;
    display: flex; flex-direction: column; justify-content: flex-end; text-align: center;
    transition: all 0.3s ease;
}

.icerik-blogu:hover .resim-ustu-baslik {
    background: linear-gradient(to top, rgba(13, 110, 253, 0.9) 0%, rgba(13, 110, 253, 0.6) 100%);
    padding-bottom: 30px;
}

.resim-ustu-baslik h3 {
    margin: 0; font-size: 1.3rem; font-weight: 600; text-transform: uppercase; margin-bottom: 5px;
}

.resim-ustu-baslik p {
    font-size: 0.9rem; margin: 0; opacity: 0;
    transform: translateY(20px); transition: all 0.3s ease; display: block; 
}

.icerik-blogu:hover .resim-ustu-baslik p { opacity: 1; transform: translateY(0); }

/* =========================================
   4. SLIDER BÖLÜMÜ VE BAŞLIKLARI (ANA SAYFA)
   ========================================= */
.slider-bolumu {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.bolum-basligi {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0a1f35;
    margin-bottom: 40px;
    margin-top: 20px;
    letter-spacing: 1px;
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-pencere {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 50px 0;
}

/* YENİ: Genişlik JS'den gelecek, Geçiş süresi 1.5s yapıldı */
.slider-ray {
    display: flex;
    width: 100%; 
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* YENİ: Padding küçültüldü, daralma iptal edildi */
.urun-karti {
    flex-shrink: 0; 
    display: flex; flex-direction: column; align-items: center;
    position: relative; cursor: pointer; 
    padding: 0 5px; 
    box-sizing: border-box;
}

/* YENİ: Yuvarlaklar 150px'e düşürüldü, ortalandı */
.daire-arkaplan {
    width: 150px; 
    height: 150px;
    background-color: #0a1f35;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
    margin: 0 auto; 
}

.daire-arkaplan img {
    width: 70%; 
    height: auto; 
    object-fit: contain;
    transition: transform 0.4s ease; 
    z-index: 2;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}

.urun-karti:hover .daire-arkaplan {
    transform: scale(1.05); background-color: #0d6efd;
}
.urun-karti:hover img { transform: scale(1.15); }

.urun-karti h3 {
    margin-top: 25px; font-size: 1.1rem; color: #333; font-weight: 600; transition: color 0.3s;
    text-align: center;
}
.urun-karti:hover h3 { color: #0d6efd; }

.kaydirma-btn {
    background-color: #0a1f35; 
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 40%; 
    transform: translateY(-50%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.kaydirma-btn:hover {
    background-color: #0d6efd; 
    transform: translateY(-50%) scale(1.1);
}

.sol-btn { left: -20px; }
.sag-btn { right: -20px; }

/* =========================================
   5. FOOTER
   ========================================= */
.site-footer {
    background-color: #0b1116; color: #ffffff;
    padding: 60px 0 20px 0; margin-top: 50px;
}

.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px;
}

.footer-col { flex: 1; min-width: 250px; }

.footer-logo { max-height: 50px; margin-bottom: 20px; border: 2px solid rgba(255,255,255,0.1);border-radius: 50%; }
.footer-aciklama { color: #aab2bd; font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }

.social-box {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background-color: #2d3238; color: white;
    text-decoration: none; border-radius: 4px; font-size: 1.2rem; transition: 0.3s;
}
.social-box:hover { background-color: #0d6efd; }

.footer-col h4 {
    color: #fff; font-size: 1.2rem; margin-bottom: 25px; position: relative; font-weight: 600;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: #0d6efd;
    border-radius: 2px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #ffffff; text-decoration: none; font-size: 0.95rem; transition: 0.3s; display: flex; align-items: center;
}
.footer-links a:hover { color: #0d6efd; padding-left: 5px; }

.contact-row { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.icon-box {
    background-color: #0d6efd; color: white; width: 35px; height: 35px;
    display: flex; align-items: center; justify-content: center; border-radius: 3px; flex-shrink: 0;
}
.contact-text { color: #ffffff; font-size: 0.9rem; line-height: 1.5; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05); text-align: center;
    padding-top: 20px; margin-top: 40px; color: #555; font-size: 0.8rem;
}

/* =========================================
   6. MODAL (AÇILIR PENCERE)
   ========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; top: 0; 
    width: 100%; height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.85); 
    justify-content: center; align-items: center;
}

.modal-icerik {
    background-color: #fff; 
    width: 90%; max-width: 1100px;
    display: flex; 
    border-radius: 4px; 
    overflow: hidden;
    position: relative; 
    animation: zoomAc 0.3s;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal-sol {
    flex: 1.3; 
    background-color: #ffffff; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding: 20px;
    border-right: 1px solid #eee;
}

.modal-sol img {
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    max-height: 60vh;
}

.modal-sag {
    flex: 1; 
    padding: 50px 40px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    text-align: left;
}

.modal-sag h2 { 
    color: #0d6efd; 
    margin-top: 0; 
    margin-bottom: 20px;
    font-size: 2rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    line-height: 1.2;
}

.modal-sag p { 
    font-size: 1rem; 
    line-height: 1.6; 
    color: #555; 
    margin-bottom: 30px;
}

.ebat-kutusu {
    background-color: #f1f1f1; 
    padding: 15px 20px;
    border-left: 5px solid #0d6efd;
    color: #333;
    font-size: 0.95rem;
    border-radius: 4px;
}

.kapat-btn {
    position: absolute; 
    top: 10px; right: 20px; 
    color: #333; 
    font-size: 40px;
    cursor: pointer; 
    z-index: 1001;
    line-height: 1;
    transition: 0.3s;
}
.kapat-btn:hover { color: #0d6efd; }

.ok-tus {
    cursor: pointer; position: absolute; top: 50%; padding: 16px;
    color: white; font-weight: bold; font-size: 30px; user-select: none;
    background-color: rgba(0,0,0,0.2); 
    border-radius: 5px; text-decoration: none;
    transform: translateY(-50%);
    transition: 0.3s;
}
.ok-tus:hover { background-color: rgba(13, 110, 253, 0.8); }

.sol-ok { left: 20px; }
.sag-ok { right: 20px; }
.ok-tus.pasif { color: #777; pointer-events: none; opacity: 0.3; background: none;}

@keyframes zoomAc { from {transform: scale(0.95); opacity: 0;} to {transform: scale(1); opacity: 1;} }


/* =========================================
   7. YUKARI ÇIK BUTONU
   ========================================= */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(13, 110, 253, 0.1); 
    z-index: 9999;
    opacity: 0; 
    visibility: hidden;
    transform: translateY(20px); 
    transition: all 300ms linear; 
    background-color: #fff; 
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%); 
    font-size: 24px;
    color: #0d6efd; 
    font-weight: bold;
    line-height: 1;
    transition: all 300ms linear;
}
.progress-wrap:hover .progress-arrow {
    transform: translate(-50%, -65%); 
}

.progress-circle {
    transform: rotate(-90deg); 
}
.progress-circle path {
    fill: none;
    stroke: #0d6efd; 
    stroke-width: 5; 
    box-sizing: border-box;
    transition: all 200ms linear;
    stroke-dasharray: 307.919; 
    stroke-dashoffset: 307.919; 
}


/* =========================================
   8. MOBİL DÜZELTMELER
   ========================================= */
@media (max-width: 900px) {
    .nav-bar {
        flex-direction: column; 
        height: auto;
        padding: 0; 
        background-color: #0a1f35; 
    }

    .nav-logo {
        display: block; 
        margin: 15px auto; 
        height: 50px; 
        width: auto; 
        border-radius: 0; 
        object-fit: contain;
        background: transparent;
        border: none;
    }

    .nav-links-container {
        flex-direction: column;
        width: 100%;
        gap: 0; 
        margin: 0;
    }

    .nav-bar a {
        width: 100%; 
        text-align: center;
        padding: 15px 0; 
        margin: 0; 
        border-right: none; 
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1); 
        border-bottom: none;
        border-radius: 0; 
        box-sizing: border-box;
        background-color: #0a1f35; 
    }

    .nav-bar a:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
    .nav-bar a.aktif { background-color: #0d6efd; color: white; font-weight: bold; border-top: 1px solid #0d6efd; }

    .ust-baslik { flex-direction: column; gap: 20px; padding: 20px; text-align: center; }
    .header-orta p::before, .header-orta p::after { display: none; }
    .header-sag { flex-direction: column; width: 100%; gap: 15px;}
    .iletisim-kutu { justify-content: center; width: 100%; }

    .bolum-basligi { font-size: 1.8rem; margin-bottom: 25px; }

    .slider-ray { width: 100%; } /* JS devraldı */
    .urun-karti { padding: 0 5px;} 
    
    /* YENİ: Mobilde yuvarlakları biraz daha küçülttük */
    .daire-arkaplan { width: 110px; height: 110px; }
    
    .slider-pencere { padding: 10px 0 30px 0; } 
    .sol-btn { left: -10px; width: 40px; height: 40px; font-size: 1.2rem;}
    .sag-btn { right: -10px; width: 40px; height: 40px; font-size: 1.2rem;}

    .container { grid-template-columns: 1fr !important; padding: 0 20px; }
    
    .progress-wrap { right: 15px; bottom: 15px; height: 40px; width: 40px; }
    .progress-arrow { font-size: 18px; }
}

@media (max-width: 768px) {
    .modal-icerik {
        flex-direction: column; 
        width: 90%;             
        height: auto;           
        max-height: 85vh;       
        overflow-y: auto;       
    }
    .modal-sol { width: 100%; height: 250px; border-right: none; border-bottom: 1px solid #eee; padding: 10px; flex: none; }
    .modal-sol img { max-height: 100%; width: auto; }
    .modal-sag { width: 100%; padding: 25px 20px; text-align: center; flex: none; }
    .modal-sag h2 { font-size: 1.5rem; margin-bottom: 15px; }
    .kapat-btn { top: 5px; right: 15px; font-size: 35px; color: #333; z-index: 2005; }
    .ok-tus { padding: 10px; font-size: 20px; background-color: rgba(0,0,0,0.1); }
    .sol-ok { left: 5px; }
    .sag-ok { right: 5px; }
}