/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0f172a;      /* Çok koyu lacivert (Slate-900) */
    --secondary: #0ea5e9;    /* Parlak medikal mavi (Sky-500) */
    --accent: #38bdf8;       /* Açık mavi vurgular */
    --dark-bg: #0B1120;      /* Footer zemini */
    --light-bg: #F8FAFC;     /* Kırık beyaz arka plan */
    --white: #FFFFFF;
    --border: #e2e8f0;
    --text-main: #334155;
    --text-light: #64748b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --container: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--light-bg); }

/* Typography */
h1, h2, h3, h4, h5 { color: var(--primary); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 32px; font-weight: 600; border-radius: 8px; font-size: 1rem;
    transition: all 0.3s ease; cursor: pointer;
}
.btn-primary { background: var(--secondary); color: var(--white); border: 2px solid var(--secondary); }
.btn-primary:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); background: var(--primary); color: var(--white); }

/* Header - Fixed & Clean */
header {
    height: 90px; display: flex; align-items: center;
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--secondary); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--text-main); position: relative; }
.nav-links a:hover { color: var(--secondary); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--secondary); transition: 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* Hero Section */
.hero { padding: 120px 0 160px; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-img-box { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-img-box img { width: 100%; height: 300px; object-fit: cover; }

/* Cards & Products */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.card {
    background: var(--white); border: 1px solid var(--border); border-radius: 16px;
    overflow: hidden; transition: 0.4s; position: relative;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--secondary); }
.card-img { height: 280px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 32px; }

/* Contact Section Styles */
.contact-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); border: 1px solid var(--border); }
.contact-info { background: var(--primary); padding: 60px; color: var(--white); display: flex; flex-direction: column; justify-content: space-between; }
.contact-info h2 { color: var(--white); }
.contact-info p { color: rgba(255,255,255,0.7); }
.info-item { margin-bottom: 30px; }
.info-item strong { display: block; font-size: 1.1rem; margin-bottom: 5px; color: var(--secondary); }
.contact-form { padding: 60px; background: var(--white); }

/* Form Elements */
.form-group { margin-bottom: 24px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--primary); }
.form-input {
    width: 100%; padding: 16px; border: 2px solid var(--border); border-radius: 8px;
    font-family: inherit; font-size: 1rem; transition: 0.3s; background: var(--light-bg);
}
.form-input:focus { border-color: var(--secondary); background: var(--white); outline: none; }

/* Footer */
footer { background: var(--dark-bg); color: #cbd5e1; padding: 80px 0 0; font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { color: var(--white); font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; display: inline-block; }
.footer-logo span { color: var(--secondary); }
.footer h5 { color: var(--white); font-size: 1.1rem; margin-bottom: 24px; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a:hover { color: var(--secondary); padding-left: 5px; }
.copyright { padding: 30px 0; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* Maps */
.map-container { height: 450px; width: 100%; filter: grayscale(100%); transition: 0.3s; }
.map-container:hover { filter: grayscale(0%); }

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .contact-split { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; }
    .hero-img-box img { height: 350px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
/* --- YENİ EKLENEN KURUMSAL BÖLÜMLER --- */

/* Markalar / Referanslar Bandı */
.brand-strip { padding: 40px 0; border-bottom: 1px solid var(--border); }
.brand-grid { display: flex; justify-content: space-between; align-items: center; opacity: 0.6; flex-wrap: wrap; gap: 30px; }
.brand-item { font-weight: 800; font-size: 1.5rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 2px; }

/* Özellik Kutuları (Why Us) */
.feature-box {
    background: var(--white); padding: 40px; border-radius: var(--radius);
    border: 1px solid var(--border); transition: 0.3s;
}
.feature-box:hover { border-color: var(--secondary); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
    width: 60px; height: 60px; background: rgba(14, 165, 233, 0.1); color: var(--secondary);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; font-size: 1.5rem;
}

/* İstatistikler Bandı */
.stats-section { background: var(--primary); color: var(--white); position: relative; overflow: hidden; }
.stat-item { text-align: center; }
.stat-number { font-size: 3.5rem; font-weight: 800; color: var(--secondary); display: block; line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: 1.1rem; opacity: 0.8; font-weight: 500; }

/* CTA (Call to Action) Bandı */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #0284c7 100%);
    color: var(--white); text-align: center; padding: 80px 0;
}
.cta-content h2 { color: var(--white); margin-bottom: 15px; }
.cta-content p { color: rgba(255,255,255,0.9); font-size: 1.2rem; max-width: 600px; margin: 0 auto 30px; }
.btn-white { background: var(--white); color: var(--secondary); border: 2px solid var(--white); }
.btn-white:hover { background: transparent; color: var(--white); }

/* Ar-Ge Bölümü */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.check-list li {
    margin-bottom: 15px; display: flex; align-items: center; gap: 10px;
    font-weight: 600; color: var(--text-main);
}
.check-list li svg { color: var(--secondary); flex-shrink: 0; }
/* --- SONSUZ LOGO SLIDER (INFINITE MARQUEE) --- */

.logo-slider {
    background: var(--light-bg);
    padding: 40px 0;
    overflow: hidden; /* Taşan kısımları gizle */
    position: relative;
    border-bottom: 1px solid var(--border);
}

/* Kenarlarda yumuşak beyaz geçiş efekti (Vignette) */
.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--light-bg), transparent);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--light-bg), transparent);
}

/* Kayan Şerit */
.logo-slide-track {
    display: flex;
    width: calc(250px * 14); /* Logo genişliği x Toplam Logo Sayısı (2 set) */
    animation: scroll 30s linear infinite;
}

/* Slider Üzerine Gelince Dursun (Opsiyonel - İstemezseniz silebilirsiniz) */
.logo-slide-track:hover {
    animation-play-state: paused;
}

/* Tekil Logo Kutusu */
.slide {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

/* Logo İmaj Stilleri */
.slide img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%); /* Siyah-beyaz yap */
    opacity: 0.5;            /* Biraz silik yap */
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Hover Efekti */
.slide img:hover {
    filter: grayscale(0%); /* Renklendir */
    opacity: 1;            /* Tam görünür yap */
    transform: scale(1.1); /* Hafif büyüt */
}

/* Animasyon Keyframes */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); } /* 7 Logo genişliği kadar kaydır */
}

/* Mobilde logolar çok büyük kalmasın */
@media (max-width: 768px) {
    .slide { width: 150px; padding: 0 15px; }
    .logo-slide-track { width: calc(150px * 14); }
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-150px * 7)); }
    }
}
/* --- KATALOG ALANI (HOME) --- */
.catalog-section {
    background: linear-gradient(to right, #f8fafc 50%, #e0f2fe 50%);
    overflow: hidden;
}
.catalog-box {
    display: flex; align-items: center; justify-content: space-between;
    gap: 60px; position: relative;
}
.catalog-content { flex: 1; padding: 60px 0; }
.catalog-visual { flex: 1; position: relative; display: flex; justify-content: center; }
.catalog-book {
    width: 300px; height: 420px;
    background: var(--primary);
    border-radius: 4px 16px 16px 4px;
    box-shadow: -15px 15px 30px rgba(0,0,0,0.2);
    position: relative;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 2rem; font-weight: 800; text-align: center;
    transform: perspective(1000px) rotateY(-15deg);
    transition: 0.5s;
}
.catalog-visual:hover .catalog-book { transform: perspective(1000px) rotateY(0deg); }

/* --- HAKKIMIZDA TIMELINE (ZAMAN ÇİZELGESİ) --- */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::after {
    content: ''; position: absolute; width: 4px; background-color: var(--border);
    top: 0; bottom: 0; left: 50%; margin-left: -2px;
}
.timeline-item { padding: 10px 40px; position: relative; width: 50%; box-sizing: border-box; }
.timeline-item::after {
    content: ''; position: absolute; width: 20px; height: 20px;
    right: -10px; top: 25px; border-radius: 50%; z-index: 1;
    background-color: var(--white); border: 4px solid var(--secondary);
}
.left { left: 0; }
.right { left: 50%; }
.right::after { left: -10px; }
.timeline-content {
    padding: 30px; background-color: var(--white); border-radius: var(--radius);
    border: 1px solid var(--border); position: relative; transition: 0.3s;
}
.timeline-content:hover { box-shadow: var(--shadow-lg); border-color: var(--secondary); }
.year-badge {
    display: inline-block; padding: 5px 12px; background: var(--secondary);
    color: white; font-weight: 700; border-radius: 20px; margin-bottom: 15px; font-size: 0.9rem;
}

/* --- SERTİFİKA GRID --- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.cert-item {
    border: 1px solid var(--border); padding: 30px; border-radius: var(--radius);
    transition: 0.3s;
}
.cert-item:hover { border-color: var(--primary); transform: translateY(-5px); }
.cert-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }

/* --- TAKIM KARTLARI --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.team-card { text-align: center; background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; padding-bottom: 20px; }
.team-img { width: 100%; height: 300px; object-fit: cover; filter: grayscale(100%); transition: 0.4s; }
.team-card:hover .team-img { filter: grayscale(0%); }
.team-info { padding: 20px; }
.team-role { color: var(--secondary); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; margin-bottom: 5px; display: block; }

/* Responsive Düzenlemeler */
@media screen and (max-width: 768px) {
    .catalog-section { background: #f8fafc; }
    .catalog-box { flex-direction: column-reverse; gap: 30px; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 21px; }
    .left::after, .right::after { left: 21px; }
    .right { left: 0; }
    .cert-grid { grid-template-columns: 1fr 1fr; }
}
/* --- ÜRÜNLER SAYFASI ÖZEL --- */

/* Ürün Hero Alanı */
.page-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 15px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.2rem; max-width: 600px; margin: 0 auto; }

/* Kategori Filtreleri (Tablar) */
.filter-bar {
    display: flex; justify-content: center; gap: 15px; flex-wrap: wrap;
    margin-top: -30px; margin-bottom: 60px; position: relative; z-index: 10;
}
.filter-btn {
    padding: 12px 30px; background: var(--white); border: 1px solid var(--border);
    border-radius: 50px; font-weight: 600; color: var(--text-main); cursor: pointer;
    transition: 0.3s; box-shadow: var(--shadow-sm);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--secondary); color: var(--white); border-color: var(--secondary);
    transform: translateY(-2px); box-shadow: var(--shadow-md);
}

/* Gelişmiş Ürün Kartı */
.product-card {
    background: var(--white); border-radius: 16px; overflow: hidden;
    border: 1px solid var(--border); transition: 0.4s; position: relative;
}
.product-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); transform: translateY(-10px); }

.p-img-box {
    height: 280px; overflow: hidden; position: relative; background: #f8fafc;
    display: flex; align-items: center; justify-content: center;
}
.p-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.product-card:hover .p-img-box img { transform: scale(1.1); }

/* Kart Üzerindeki Etiket */
.p-badge {
    position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,0.9);
    padding: 6px 14px; border-radius: 8px; font-size: 0.75rem; font-weight: 700;
    color: var(--primary); text-transform: uppercase; z-index: 2;
}

.p-content { padding: 30px; }
.p-cat { color: var(--secondary); font-size: 0.8rem; font-weight: 700; display: block; margin-bottom: 5px; }
.p-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.p-desc { font-size: 0.95rem; color: var(--text-light); line-height: 1.5; margin-bottom: 20px; }

.p-action {
    border-top: 1px solid var(--border); padding-top: 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.p-link { color: var(--secondary); font-weight: 700; display: flex; align-items: center; gap: 5px; }
.p-link:hover { gap: 10px; } /* Hoverda ok kayma efekti */

/* Responsive */
@media (max-width: 768px) {
    .filter-btn { padding: 10px 20px; font-size: 0.9rem; }
}
/* --- RESPONSIVE / MOBİL UYUMLULUK --- */

/* Mobil Menü Butonu (Varsayılan: Gizli) */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}
.mobile-toggle .bar {
    width: 30px; height: 3px; background-color: var(--primary);
    border-radius: 3px; transition: 0.3s;
}

/* TABLET VE MOBİL (1024px altı) */
@media (max-width: 1024px) {
    /* Genel Grid Düzenlemeleri */
    .hero-grid, .about-grid, .contact-split, .catalog-box {
        grid-template-columns: 1fr !important; /* Yan yana olanları alt alta yap */
        flex-direction: column !important;
        gap: 40px;
    }
    
    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Esnek kartlar */
    }

    /* Header & Mobil Menü Mantığı */
    .mobile-toggle { display: flex; } /* Butonu göster */

    .nav-menu {
        position: fixed;
        top: 0; right: -100%; /* Ekran dışına it */
        width: 80%; height: 100vh;
        background: var(--white);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 100px 30px;
        transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1000;
    }
    
    .nav-menu.active { right: 0; /* İçeri kaydır */ }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    .nav-links a { font-size: 1.2rem; display: block; width: 100%; }
    .nav-links .btn { width: 100%; text-align: center; }

    /* Hamburger Animasyonu (X olma) */
    .mobile-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(8px, 6px); }
    .mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
    .mobile-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(7px, -5px); }
}

/* MOBİL TELEFONLAR (768px altı) */
@media (max-width: 768px) {
    /* Genel Ayarlar */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .section-padding { padding: 60px 0; }
    .container { padding: 0 20px; }

    /* Hero Alanı */
    .hero { padding: 100px 0 60px; text-align: center; }
    .hero-content { order: 2; } /* Mobilde görsel üstte, yazı altta olsun */
    .hero-img-box { order: 1; height: 300px; }
    .hero-grid div { display: flex; flex-direction: column; align-items: center; } /* Butonları ortala */
    
    /* Footer */
    .footer-top { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-top ul li a:hover { padding-left: 0; color: var(--secondary); }

    /* Hakkımızda / Timeline */
    .timeline::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; }
    .timeline-item.right { left: 0; }
    .timeline-item::after { left: 10px; }
    .left::after, .right::after { left: 10px; }

    /* Sertifika & Takım */
    .cert-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr; }

    /* İletişim Haritası */
    .map-container { height: 300px; }
    
    /* Ürün Detay Tablosu */
    .specs-table { font-size: 0.9rem; }
    
    /* İstatistikler */
    .stats-section .grid-3 { gap: 40px; }
    .stat-number { font-size: 2.5rem; }
    
    /* Katalog Kitabı */
    .catalog-book { transform: none !important; margin: 0 auto; }
}