/* --- 1. DEĞİŞKENLER & RENKLER --- */
:root {
    --primary-color: #0f172a;    /* Derin Lacivert (Havacılık/Kurumsal) */
    --secondary-color: #334155;  /* Koyu Gri (Teknik) */
    --accent-color: #f97316;     /* Turuncu (CTA / Safety) */
    --light-bg: #f8fafc;         /* Açık Gri Arkaplan */
    --white: #ffffff;
    --text-color: #1e293b;
    --border-color: #e2e8f0;
    --max-width: 1200px;
}

/* --- 2. TEMEL SIFIRLAMA (RESET) --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- 3. LAYOUT & UTILITIES --- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.main-content {
    flex: 1; /* Footer'ı aşağı iter */
    padding: 40px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}
.btn-primary:hover { background-color: #ea580c; }

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover { background-color: var(--white); color: var(--primary-color); }

/* --- 4. HEADER & NAV --- */
.site-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.main-nav a {
    color: #cbd5e1;
    margin-left: 20px;
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent-color);
}

/* --- 5. HERO SECTION (Ana Sayfa İçin) --- */
.hero {
    /* Background görseli HTML içinde inline style olarak veriliyor */
    /* background: ... (Buradan sildik) */
    position: relative;
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #cbd5e1;
}

/* --- 6. FOOTER --- */
.site-footer {
    background-color: var(--secondary-color);
    color: #cbd5e1;
    padding: 40px 0 20px;
    margin-top: auto;
    border-top: 4px solid var(--accent-color);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* --- 7. RESPONSIVE --- */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 15px; }
    .hero h1 { font-size: 2rem; }
    .footer-inner { flex-direction: column; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Kart Efekti (Yukarı Kalkma) */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Profesyonel İkon Kutusu */
.icon-box {
    width: 70px;
    height: 70px;
    background-color: #f1f5f9;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
}

.value-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
}

/* SVG İkon Boyutu */
.icon-box svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

/* Kategori Kartları */
.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
    padding: 20px;
    color: white;
    transform: translateY(0);
    transition: 0.3s;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card:hover .category-overlay {
    padding-bottom: 30px; /* Hafif yukarı kayma hissi */
}

/* Süreç Adımları (Timeline) */
.process-step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.process-number {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
    position: relative;
    z-index: 2;
}

/* Arama Barı */
.search-wrapper {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: -50px; /* Hero'nun üstüne binmesi için */
    position: relative;
    z-index: 10;
}

/* --- 10. KATALOG & DETAY SAYFASI --- */

/* Katalog Layout */
.catalog-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Sidebar */
.catalog-sidebar {
    width: 250px;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.cat-filter-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

.cat-list li {
    margin-bottom: 10px;
}

.cat-list a {
    color: #64748b;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
}

.cat-list a:hover, .cat-list a.active {
    color: var(--accent-color);
    font-weight: 600;
}

/* Ürün Grid */
.product-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Responsive Grid */
    gap: 25px;
}

/* Ürün Kartı */
.product-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.product-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.p-img-box {
    height: 200px;
    overflow: hidden;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.p-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya sığdırır */
    transition: transform 0.5s;
}

.product-item:hover .p-img-box img { transform: scale(1.1); }

.p-info { padding: 20px; }
.p-cat { font-size: 0.75rem; text-transform: uppercase; color: #94a3b8; font-weight: 600; margin-bottom: 5px; display:block;}
.p-title { font-size: 1.1rem; color: var(--primary-color); margin-bottom: 10px; font-weight: 700; line-height: 1.3; }
.p-desc { font-size: 0.9rem; color: #64748b; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Detay Sayfası Layout */
.detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.detail-img img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.detail-specs {
    margin: 20px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: #64748b; font-weight: 600; }
.spec-val { color: var(--primary-color); font-weight: 700; }

@media (max-width: 768px) {
    .catalog-layout { flex-direction: column; }
    .catalog-sidebar { width: 100%; }
    .detail-container { grid-template-columns: 1fr; }
}