/* product_style.css
   bit.htm, bos.htm, eos.htm, vts.htm ortak stilleri.
   Sayfaya özel stiller her HTM'nin kendi <style> bloğunda kalır.
   common_style.css ile birlikte yüklenir (menü/shine/nav).
*/

/* ── Değişkenler ── */
:root {
    --primary-dark: #0a1e3d;
    --primary-blue: #1a4d7a;
    --primary-cyan: #00d9ff;
    --accent-orange: #ff6b35;
    --neutral-100: #f5f7fa;
    --neutral-200: #e2e8f0;
    --neutral-700: #4a5568;
    --neutral-800: #2d3748;
    --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, var(--primary-cyan) 100%);
    --header-h: 82px;
}

/* ── Reset ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--neutral-800);
    background: var(--neutral-100);
}

html { scroll-behavior: smooth; }

/* ── Header ── */
header { 
    background: url('images/banner.webp') center center / cover no-repeat;
    background-color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky; 
    top: 0; 
    z-index: 1000;
}
header::before { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background: linear-gradient(135deg, rgba(10, 30, 61, 0.7) 0%, rgba(10, 120, 190, 0.6) 100%);
    z-index: -1; 
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ── Logo ── */
.logo-container { display: flex; align-items: center; gap: 1rem; }
.logo-container img { height: 60px; width: auto; transition: transform 0.3s; }
.logo-container img:hover { transform: scale(1.01); }
.company-name { color: #fff; font-size: 1.5rem; font-weight: 700; }

/* Logo hover zoom (<a> içine alındıysa) */
.logo-container a { 
    display: inline-block; 
    position: relative;
    transition: transform .3s ease;
}
.logo-container a img {
    transition: transform .25s ease;
    transform-origin: center;
}
.logo-container a:hover img {
    transform: scale(1.01);
}

/* ── Navigation ── */
nav { display: flex; gap: 1rem; align-items: center; }
.nav-item { position: relative; }
.nav-link { 
    color: rgba(255,255,255,0.95);
    text-decoration: none; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0.85rem; 
    display: block; 
    font-weight: 500;
    font-size: 0.96rem;
    transition: all 0.3s;
    border-radius: 6px;
    white-space: nowrap;
    line-height: 1.2;
}
.nav-link:hover { background: rgba(255,255,255,0.1); color: var(--primary-cyan); }

.dropdown-menu { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: white;
    min-width: 250px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(-10px); 
    transition: all 0.3s ease; 
    border-radius: 8px;
    border: 1px solid var(--neutral-200);
    z-index: 1000;
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { 
    color: var(--neutral-800);
    padding: 0.75rem 1.5rem; 
    display: block; 
    text-decoration: none; 
    transition: all 0.3s;
    border-bottom: 1px solid var(--neutral-200);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--gradient-primary); color: white; padding-left: 2rem; }

.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; margin-left: auto; }

/* ── Breadcrumb ── */
.breadcrumb-container { 
    background: white;
    padding: 1rem 0; 
    border-bottom: 1px solid var(--neutral-200);
    position: sticky;
    top: var(--header-h, 82px);
    z-index: 999;
}
.breadcrumb-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.breadcrumb { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb a { color: var(--primary-cyan); text-decoration: none; transition: all 0.3s; font-weight: 500; font-size: 0.95rem; }
.breadcrumb a:hover { color: var(--accent-orange); }
.breadcrumb span { color: var(--neutral-700); margin: 0 0.5rem; }
.breadcrumb strong { color: var(--neutral-700); font-weight: 600; font-size: 0.95rem; }

/* ── Hero Section ── */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}
.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.hero-section .subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

/* ── Main Content ── */
main { max-width: 1200px; margin: 2rem auto; padding: 0 2rem; }

.section {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.section-title {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-cyan);
}
.section-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}
.section-content b, .section-content strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ── Footer ── */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}
.footer-section h3 {
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
}
.footer-section a:hover {
    color: var(--primary-cyan);
    padding-left: 5px;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); }

/* ── Mobile ── */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    nav { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        background: var(--primary-dark); 
        flex-direction: column; 
        gap: 1rem; 
        padding: 1rem 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        z-index: 999;
        align-items: center;
    }
    nav.active { display: flex; }
    .nav-item { width: 100%; }
    .nav-link { padding: 1rem 1.5rem; color: white; }
    .dropdown-menu { 
        position: static; 
        opacity: 1; 
        visibility: visible; 
        transform: none; 
        box-shadow: none; 
        background: rgba(255,255,255,0.05);
        display: none;
    }
    .nav-item.active .dropdown-menu { display: block; }
    .dropdown-menu a { color: rgba(255,255,255,0.9); }
    .hero-section h1 { font-size: 2rem; }
    .hero-section .subtitle { font-size: 1.1rem; }
    .section { padding: 1.5rem; }
    .back-to-top { bottom: 15px; right: 15px; width: 45px; height: 45px; }

    /* Mobil dropdown temizlik */
    #mainNav .dropdown-menu {
        border: none !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }
    #mainNav .dropdown-menu a {
        border: none !important;
        border-bottom: none !important;
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0.75rem 3rem !important;
    }
    #mainNav .dropdown-menu a:active,
    #mainNav .dropdown-menu a:focus,
    #mainNav .dropdown-menu a:focus-visible {
        outline: none !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }
}
