/* ============================================================
   Gefli — Public layout CSS
   Tüm landing/static page'lerde kullanılır
   ============================================================ */
:root {
    --brand:        #007AFF;
    --brand-deep:   #024EAA;
    --brand-dark:   #011165;
    --brand-soft:   #EBE4E3;
    --ink-1:        #011165;
    --ink-2:        #2a3458;
    --ink-3:        #5a6272;
    --ink-4:        #8a92a6;
    --line:         #e6e8ee;
    --line-soft:    #f0f2f7;
    --paper:        #fafbfd;
    --paper-2:      #f4f6fb;
}
* { -webkit-font-smoothing: antialiased; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif; color: var(--ink-1); background:#fff; margin:0; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ===================== NAVBAR ===================== */
.g-nav { background: rgba(255,255,255,0.94); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.g-nav-inner { display: flex; align-items: center; gap: 28px; padding: 12px 20px; max-width: 1240px; margin: 0 auto; }
.g-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.g-logo .gefli-logo-img { height: 44px; width: auto; display: block; }
.g-nav-links { display: flex; gap: 26px; align-items: center; margin-left: 14px; }
.g-nav-links > a, .g-nav-drop > a { color: var(--ink-2); font-size: 0.92rem; font-weight: 600; padding: 8px 0; transition: color .15s; cursor: pointer; }
.g-nav-links > a:hover, .g-nav-drop > a:hover { color: var(--brand); }
.g-nav-drop { position: relative; }
.g-nav-menu { position: absolute; top: calc(100% + 8px); left: -16px; background:#fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(1,17,101,0.14); padding: 14px; min-width: 320px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s; z-index: 60; }
.g-nav-drop:hover .g-nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.g-nav-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink-1); transition: background .15s; }
.g-nav-menu a:hover { background: var(--paper-2); }
.g-nav-menu a strong { display:block; font-weight: 700; font-size: 0.95rem; }
.g-nav-menu a span { display:block; color: var(--ink-3); font-size: 0.82rem; margin-top: 1px; }
.g-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.g-nav-secondary { color: var(--ink-3); font-size: 0.86rem; font-weight: 500; padding: 8px 4px; }
.g-nav-secondary:hover { color: var(--brand); }
.g-nav-burger { background: transparent; border: 1px solid var(--line); border-radius: 10px; width: 40px; height: 40px; display:flex; align-items:center; justify-content:center; font-size: 1.2rem; color: var(--ink-1); }

.g-nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 16px 20px 24px; background:#fff; border-top: 1px solid var(--line); }
.g-nav-mobile a { padding: 10px 0; color: var(--ink-1); font-weight: 600; }
.g-nav-mobile hr { margin: 12px 0; border-color: var(--line); }
body.nav-open .g-nav-mobile { display: flex; }
@media (max-width: 768px) { .g-nav-links { display: none; } }

/* ===================== BUTTONS ===================== */
.btn-brand { background: var(--brand-dark); border: 1px solid var(--brand-dark); color:#fff; font-weight: 600; padding: 10px 20px; border-radius: 999px; font-size: 0.92rem; transition: all .15s; display: inline-flex; align-items: center; text-decoration: none; }
.btn-brand:hover { background: var(--brand-deep); border-color: var(--brand-deep); color:#fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(1,17,101,0.20); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink-1); font-weight: 600; padding: 10px 20px; border-radius: 999px; font-size: 0.92rem; transition: all .15s; display: inline-flex; align-items: center; text-decoration: none; }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink-1); background:#fff; }
.btn-lg-pill { padding: 14px 28px; font-size: 1rem; border-radius: 999px; }
.btn-cta-light { background:#fff; color: var(--ink-1); font-weight: 700; padding: 14px 32px; border-radius: 999px; border: none; font-size: 1rem; transition: all .15s; display: inline-flex; align-items: center; text-decoration: none; }
.btn-cta-light:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.20); color: var(--ink-1); }

/* ===================== SECTION ===================== */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-eyebrow { color: var(--brand); font-weight: 700; font-size: 0.84rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.8px; color: var(--ink-1); margin-bottom: 12px; line-height: 1.15; }
.section-sub { color: var(--ink-3); font-size: 1.06rem; }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background: var(--paper); }
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(900px 500px at 85% 15%, rgba(0,122,255,0.14), transparent 60%),
        radial-gradient(700px 400px at 8% 95%, rgba(235,228,227,0.55), transparent 60%);
    pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 991px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background:#fff; border: 1px solid var(--line); color: var(--brand-deep); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.4px; padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,0.18); }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); font-weight: 800; line-height: 1.04; letter-spacing: -1.4px; margin-bottom: 22px; color: var(--ink-1); }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 1.14rem; color: var(--ink-3); line-height: 1.55; max-width: 540px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-check { display: flex; gap: 22px; font-size: 0.86rem; color: var(--ink-3); flex-wrap: wrap; }
.hero-check span { display: inline-flex; align-items: center; gap: 6px; }
.hero-check i { color: #16a34a; }

/* Hero visual stack */
.hero-stack { position: relative; min-height: 480px; }
.hero-card { background:#fff; border-radius: 22px; box-shadow: 0 20px 50px rgba(1,17,101,0.10); position: absolute; overflow: hidden; transition: transform .3s; }
.hero-card.c1 { top: 0; left: 0; width: 62%; aspect-ratio: 4/5; padding: 22px; transform: rotate(-3deg); }
.hero-card.c2 { top: 18%; right: 0; width: 46%; aspect-ratio: 1/1; padding: 18px; transform: rotate(4deg); }
.hero-card.c3 { bottom: 0; left: 12%; width: 52%; aspect-ratio: 5/4; padding: 18px; transform: rotate(-2deg); }
.hero-card:hover { transform: translateY(-4px) rotate(0deg) !important; z-index: 5; }
.hero-card .swatch { width: 100%; height: 60%; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.hero-card .meta { padding-top: 14px; }
.hero-card .meta .t { font-weight: 700; color: var(--ink-1); font-size: 0.92rem; }
.hero-card .meta .p { color: var(--ink-3); font-size: 0.78rem; margin-top: 2px; }
@media (max-width: 991px) { .hero-stack { min-height: 360px; max-width: 480px; margin: 0 auto; } }

/* ===================== TRUST STRIP ===================== */
.trust { background:#fff; border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust-row { display:flex; align-items:center; justify-content:space-between; gap: 24px; flex-wrap: wrap; }
.trust-label { font-size: 0.82rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.trust-logos { display: flex; gap: 36px; align-items: center; opacity: 0.62; flex-wrap: wrap; }
.trust-logos span { font-weight: 800; font-size: 1.05rem; color: var(--ink-2); letter-spacing: -0.3px; }
.trust-logos i { font-size: 1.6rem; color: var(--ink-2); }

/* ===================== STATS ===================== */
.stats { background: var(--ink-1); color:#fff; padding: 36px 0; position: relative; overflow: hidden; }
.stats::before { content:''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(0,122,255,0.25), transparent 60%); }
.stats-row { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: center; text-align: center; }
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.stat-num { font-size: 2.2rem; font-weight: 800; letter-spacing: -1.2px; color:#fff; }
.stat-label { font-size: 0.86rem; color: rgba(255,255,255,0.66); margin-top: 4px; }

/* ===================== ALTERNATING FEATURE ROWS ===================== */
.alt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.alt-row + .alt-row { border-top: 1px solid var(--line-soft); }
.alt-row.reverse .alt-text { order: 2; }
.alt-row.reverse .alt-visual { order: 1; }
@media (max-width: 991px) { .alt-row { grid-template-columns: 1fr; gap: 32px; } .alt-row.reverse .alt-text { order: 1; } .alt-row.reverse .alt-visual { order: 2; } }
.alt-eyebrow { color: var(--brand); font-weight: 700; font-size: 0.84rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.alt-title { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -0.6px; color: var(--ink-1); margin-bottom: 16px; line-height: 1.18; }
.alt-text p { color: var(--ink-3); font-size: 1.04rem; line-height: 1.6; margin-bottom: 18px; }
.alt-bullets { list-style: none; padding: 0; margin: 0 0 24px; }
.alt-bullets li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; color: var(--ink-2); font-size: 0.96rem; }
.alt-bullets li i { color: var(--brand); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.alt-visual { position: relative; }
.alt-visual-card { background: linear-gradient(135deg, var(--paper) 0%, #fff 100%); border: 1px solid var(--line); border-radius: 22px; padding: 32px; position: relative; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.alt-visual-card::before { content:''; position: absolute; top: -100px; right: -100px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(0,122,255,0.16), transparent 65%); }

/* ===================== CATEGORY GRID ===================== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 991px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: all .2s; position: relative; overflow: hidden; aspect-ratio: 1/1.05; text-decoration: none; }
.cat-card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 14px 40px rgba(1,17,101,0.10); }
.cat-card .ph { width: 88px; height: 88px; border-radius: 14px; background: linear-gradient(135deg, rgba(0,122,255,0.14), rgba(2,78,170,0.20)); display: flex; align-items: center; justify-content: center; color: var(--brand-deep); font-size: 2rem; margin-bottom: 16px; overflow: hidden; }
.cat-card .ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.cat-card h6 { font-weight: 700; color: var(--ink-1); margin: 0 0 4px; font-size: 1.04rem; }
.cat-card .cnt { font-size: 0.82rem; color: var(--ink-3); }
.cat-card .arr { position: absolute; bottom: 20px; right: 20px; color: var(--brand); opacity: 0; transition: all .2s; }
.cat-card:hover .arr { opacity: 1; transform: translateX(2px); }

/* ===================== HOW IT WORKS ===================== */
.how-bg { background: var(--paper); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 768px) { .how-grid { grid-template-columns: 1fr; } }
.how-card { position: relative; padding: 36px 28px; background:#fff; border: 1px solid var(--line); border-radius: 22px; transition: all .2s; }
.how-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(1,17,101,0.08); }
.how-num { width: 48px; height: 48px; border-radius: 14px; background: var(--ink-1); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 22px; }
.how-card:nth-child(2) .how-num { background: var(--brand); box-shadow: 0 8px 20px rgba(0,122,255,0.30); }
.how-card:nth-child(3) .how-num { background: #16a34a; box-shadow: 0 8px 20px rgba(22,163,74,0.30); }
.how-card h5 { font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; color: var(--ink-1); }
.how-card p { color: var(--ink-3); font-size: 0.95rem; line-height: 1.55; margin: 0; }

/* ===================== PRODUCTS ===================== */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 991px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .prod-grid { grid-template-columns: 1fr; } }
.prod-card { display: block; background:#fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: all .2s; text-decoration: none; }
.prod-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(1,17,101,0.08); }
.prod-img { aspect-ratio: 1/1; background: var(--paper); display: flex; align-items: center; justify-content: center; color: var(--ink-3); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-img i { font-size: 3rem; opacity: 0.35; }
.prod-body { padding: 16px 18px; }
.prod-cat { font-size: 0.74rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; }
.prod-name { font-weight: 700; color: var(--ink-1); margin: 4px 0; font-size: 1rem; line-height: 1.3; }
.prod-price { color: var(--brand-deep); font-weight: 700; font-size: 0.95rem; margin-top: 6px; }

/* ===================== FEATURE 6-LIST ===================== */
.feat-bg { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: all .2s; }
.feat-card:hover { transform: translateY(-2px); border-color: rgba(0,122,255,0.30); box-shadow: 0 10px 28px rgba(1,17,101,0.06); }
.feat-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(0,122,255,0.10); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.feat-card h6 { font-weight: 700; color: var(--ink-1); margin-bottom: 8px; }
.feat-card p { color: var(--ink-3); font-size: 0.92rem; line-height: 1.55; margin: 0; }

/* ===================== TESTIMONIALS ===================== */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .test-grid { grid-template-columns: 1fr; } }
.test-card { background:#fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; position: relative; }
.test-card .quote-mark { position: absolute; top: 22px; right: 26px; font-size: 2.6rem; color: rgba(0,122,255,0.15); line-height: 1; font-family: Georgia, serif; }
.test-card p.quote { color: var(--ink-2); font-size: 1rem; line-height: 1.6; margin-bottom: 22px; position: relative; z-index: 1; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color:#fff; display:flex; align-items:center; justify-content:center; font-weight: 700; font-size: 1rem; }
.test-name { font-weight: 700; color: var(--ink-1); font-size: 0.92rem; }
.test-role { color: var(--ink-3); font-size: 0.8rem; }

/* ===================== PRICING ===================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 991px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background:#fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px 30px; position: relative; transition: all .2s; }
.price-card.featured { border-color: var(--brand); box-shadow: 0 20px 60px rgba(0,122,255,0.18); transform: scale(1.03); }
.price-card:hover { transform: translateY(-3px); }
.price-card.featured:hover { transform: scale(1.03) translateY(-3px); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color:#fff; font-size: 0.74rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; letter-spacing: 0.5px; }
.price-name { font-size: 1rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.8px; }
.price-amount { font-size: 2.6rem; font-weight: 800; color: var(--ink-1); margin: 8px 0 4px; letter-spacing: -1px; }
.price-amount .per { font-size: 0.9rem; color: var(--ink-3); font-weight: 600; }
.price-desc { color: var(--ink-3); font-size: 0.92rem; margin-bottom: 22px; min-height: 40px; }
.price-list { list-style: none; padding: 0; margin: 0 0 28px; }
.price-list li { display: flex; gap: 10px; padding: 8px 0; font-size: 0.92rem; color: var(--ink-2); }
.price-list li i { color: #16a34a; flex-shrink: 0; margin-top: 3px; }
.price-list li.off { color: var(--ink-4); }
.price-list li.off i { color: var(--ink-4); }

/* ===================== BLOG ===================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: all .2s; text-decoration: none; }
.blog-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(1,17,101,0.08); }
.blog-img { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--paper), var(--paper-2)); display: flex; align-items: center; justify-content: center; color: var(--ink-4); font-size: 2.4rem; }
.blog-body { padding: 22px 22px 26px; }
.blog-cat { font-size: 0.74rem; color: var(--brand); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 700; margin-bottom: 8px; }
.blog-title { font-weight: 700; color: var(--ink-1); font-size: 1.08rem; line-height: 1.3; margin-bottom: 10px; }
.blog-meta { font-size: 0.82rem; color: var(--ink-3); }

/* ===================== CTA BIG ===================== */
.cta-big { background: var(--ink-1); border-radius: 28px; padding: 64px 48px; position: relative; overflow: hidden; color: #fff; }
.cta-big::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 90% 15%, rgba(0,122,255,0.45), transparent 60%), radial-gradient(600px 400px at 8% 100%, rgba(2,78,170,0.55), transparent 60%); }
.cta-big > * { position: relative; z-index: 1; }
.cta-big h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; line-height: 1.15; }
.cta-big p { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 26px; max-width: 600px; }
.cta-big .btn-ghost { border-color: rgba(255,255,255,0.32); color:#fff; }
.cta-big .btn-ghost:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.50); color: #fff; }

/* ===================== INNER PAGE HERO (alt sayfalar için) ===================== */
.page-hero { background: var(--paper); padding: 72px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content:''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 80% 20%, rgba(0,122,255,0.10), transparent 60%); }
.page-hero-inner { position: relative; max-width: 760px; }
.page-hero .eyebrow { color: var(--brand); font-weight: 700; font-size: 0.84rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; letter-spacing: -1.2px; line-height: 1.08; color: var(--ink-1); margin-bottom: 18px; }
.page-hero p.lead { font-size: 1.14rem; color: var(--ink-3); line-height: 1.55; max-width: 560px; margin: 0; }

/* Static page article tipografisi */
.prose { max-width: 760px; margin: 0 auto; color: var(--ink-2); }
.prose h2 { font-size: 1.6rem; font-weight: 800; color: var(--ink-1); margin: 36px 0 12px; letter-spacing: -0.5px; }
.prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink-1); margin: 28px 0 10px; }
.prose p { font-size: 1.04rem; line-height: 1.7; margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 18px; }
.prose ul li, .prose ol li { padding: 4px 0; line-height: 1.6; }
.prose strong { color: var(--ink-1); font-weight: 700; }
.prose a { color: var(--brand); text-decoration: underline; }

/* ============================================================
   CATALOG SAYFASI
   ============================================================ */
.cat-page-head { background: var(--paper); padding: 48px 0 32px; border-bottom: 1px solid var(--line); }
.cat-breadcrumb { font-size: 0.84rem; color: var(--ink-3); margin-bottom: 10px; }
.cat-breadcrumb a { color: var(--ink-3); }
.cat-breadcrumb a:hover { color: var(--brand); }
.cat-breadcrumb .sep { margin: 0 6px; color: var(--ink-4); }
.cat-page-title { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.8px; color: var(--ink-1); margin: 0; line-height: 1.15; }
.cat-page-sub { color: var(--ink-3); margin-top: 6px; font-size: 0.96rem; }

.cat-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; padding: 32px 0 72px; }
@media (max-width: 991px) { .cat-layout { grid-template-columns: 1fr; gap: 20px; } }

/* Sidebar */
.cat-sidebar { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 8px; }
.cat-sidebar h3 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-3); margin: 0 0 14px; }
.cat-nav-item { margin-bottom: 4px; }
.cat-nav-link { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 0.92rem; text-decoration: none; transition: all .15s; }
.cat-nav-link:hover { background: var(--paper-2); color: var(--ink-1); }
.cat-nav-link.active { background: rgba(0,122,255,0.10); color: var(--brand-deep); }
.cat-nav-link .chev { font-size: 0.74rem; color: var(--ink-3); transition: transform .15s; }
.cat-nav-item.open .chev { transform: rotate(180deg); }
.cat-nav-sub { padding: 2px 0 4px 14px; display: none; }
.cat-nav-item.open .cat-nav-sub { display: block; }
.cat-nav-sub a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink-3); font-size: 0.88rem; text-decoration: none; transition: all .15s; }
.cat-nav-sub a:hover { color: var(--brand-deep); }
.cat-nav-sub a.active { color: var(--brand-deep); font-weight: 600; }
@media (max-width: 991px) { .cat-sidebar { position: static; max-height: none; overflow: visible; padding-right: 0; } }

/* Toolbar */
.cat-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.cat-count { font-size: 0.88rem; color: var(--ink-3); }
.cat-count strong { color: var(--ink-1); font-weight: 700; }
.cat-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cat-search { display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; transition: border-color .15s; min-width: 240px; }
.cat-search:focus-within { border-color: var(--brand); background: #fff; }
.cat-search input { border: none; background: transparent; outline: none; font-size: 0.9rem; flex: 1; color: var(--ink-1); }
.cat-search i { color: var(--ink-3); }
.cat-sort { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 14px; font-size: 0.88rem; font-weight: 600; color: var(--ink-1); cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%235a6272' viewBox='0 0 16 16' width='12'%3E%3Cpath d='M3.204 5h9.592L8 10.481 3.204 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 32px; }

/* Sub-category grid */
.subcat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
@media (max-width: 991px) { .subcat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .subcat-grid { grid-template-columns: repeat(2, 1fr); } }
.subcat-card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; text-decoration: none; transition: all .2s; }
.subcat-card:hover { border-color: var(--brand); background: #fff; box-shadow: 0 10px 28px rgba(1,17,101,0.08); transform: translateY(-2px); }
.subcat-card .ph { width: 100%; aspect-ratio: 1/1; background: #fff; border-radius: 10px; display:flex; align-items:center; justify-content:center; color: var(--brand-deep); margin-bottom: 12px; overflow: hidden; }
.subcat-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.subcat-card .ph i { font-size: 1.6rem; opacity: 0.6; }
.subcat-card .nm { font-weight: 700; color: var(--ink-1); font-size: 0.9rem; }

/* Catalog product grid */
.cat-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1100px) { .cat-prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .cat-prod-grid { grid-template-columns: 1fr; } }
.cp-card { display: block; background:#fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: all .2s; text-decoration: none; }
.cp-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(1,17,101,0.10); }
.cp-card .img { aspect-ratio: 1/1; background: var(--paper); display: flex; align-items: center; justify-content: center; color: var(--ink-3); position: relative; overflow: hidden; }
.cp-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cp-card:hover .img img { transform: scale(1.04); }
.cp-card .img i { font-size: 3rem; opacity: 0.3; }
.cp-card .img .ovl { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 16px; opacity: 0; transition: opacity .2s; background: linear-gradient(180deg, transparent 50%, rgba(1,17,101,0.50) 100%); }
.cp-card:hover .img .ovl { opacity: 1; }
.cp-card .img .ovl .pill { background: #fff; color: var(--ink-1); font-size: 0.78rem; font-weight: 700; padding: 8px 16px; border-radius: 999px; }
.cp-body { padding: 16px 18px 18px; }
.cp-cat { font-size: 0.72rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; }
.cp-name { font-weight: 700; color: var(--ink-1); margin: 4px 0; font-size: 1rem; line-height: 1.3; }
.cp-price { color: var(--brand-deep); font-weight: 700; font-size: 0.95rem; margin-top: 8px; display: flex; align-items: baseline; gap: 4px; }
.cp-price .from { color: var(--ink-3); font-weight: 500; font-size: 0.78rem; }

.cat-empty { text-align: center; padding: 80px 20px; color: var(--ink-3); }
.cat-empty i { font-size: 3rem; opacity: 0.3; margin-bottom: 18px; }
.cat-empty h3 { font-size: 1.2rem; color: var(--ink-1); font-weight: 700; margin-bottom: 6px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-hero { background: var(--paper); padding: 64px 0 40px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.blog-hero::before { content:''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 80% 20%, rgba(0,122,255,0.08), transparent 60%); pointer-events:none; }
.blog-hero-inner { position: relative; }
.blog-hero .eyebrow { color: var(--brand); font-weight: 700; font-size: 0.82rem; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 10px; }
.blog-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -1.1px; line-height: 1.08; color: var(--ink-1); margin-bottom: 14px; }
.blog-hero p.sub { font-size: 1.08rem; color: var(--ink-3); line-height: 1.55; max-width: 660px; margin: 0; }

.blog-search { background:#fff; border:1px solid var(--line); border-radius: 999px; padding: 10px 16px; display: flex; align-items: center; gap: 10px; max-width: 540px; margin-top: 24px; transition: border-color .15s; }
.blog-search:focus-within { border-color: var(--brand); }
.blog-search i { color: var(--ink-3); }
.blog-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 0.95rem; color: var(--ink-1); }

.blog-layout { display: grid; grid-template-columns: 1fr 260px; gap: 48px; padding: 56px 0 80px; }
@media (max-width: 991px) { .blog-layout { grid-template-columns: 1fr; gap: 32px; } }

/* Post list */
.bp-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 700px) { .bp-list { grid-template-columns: 1fr; } }
.bp-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: all .2s; text-decoration: none; }
.bp-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(1,17,101,0.08); }
.bp-card .img { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--paper) 0%, var(--paper-2) 100%); display:flex; align-items:center; justify-content:center; color: var(--ink-4); overflow: hidden; position: relative; }
.bp-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bp-card:hover .img img { transform: scale(1.04); }
.bp-card .img i { font-size: 3rem; opacity: 0.4; }
.bp-card .body { padding: 22px 22px 24px; }
.bp-card .cat { font-size: 0.74rem; color: var(--brand); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 700; margin-bottom: 10px; }
.bp-card h3 { font-weight: 700; color: var(--ink-1); font-size: 1.14rem; line-height: 1.3; margin: 0 0 10px; letter-spacing: -0.2px; }
.bp-card .excerpt { color: var(--ink-3); font-size: 0.92rem; line-height: 1.55; margin-bottom: 14px; }
.bp-card .meta { display: flex; gap: 14px; font-size: 0.82rem; color: var(--ink-3); align-items: center; flex-wrap: wrap; }
.bp-card .meta span { display: inline-flex; align-items: center; gap: 4px; }

/* Featured first post */
.bp-list .bp-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; }
.bp-list .bp-card.featured .img { aspect-ratio: auto; height: 100%; min-height: 280px; }
.bp-list .bp-card.featured .body { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.bp-list .bp-card.featured h3 { font-size: 1.5rem; }
@media (max-width: 700px) { .bp-list .bp-card.featured { grid-template-columns: 1fr; } .bp-list .bp-card.featured .img { min-height: 200px; } .bp-list .bp-card.featured .body { padding: 22px; } .bp-list .bp-card.featured h3 { font-size: 1.2rem; } }

.bp-empty { text-align: center; padding: 80px 20px; color: var(--ink-3); }
.bp-empty i { font-size: 3rem; opacity: 0.3; margin-bottom: 16px; }
.bp-empty h3 { font-size: 1.2rem; color: var(--ink-1); font-weight: 700; margin-bottom: 6px; }

/* Pagination */
.bp-pag { display: flex; gap: 6px; justify-content: center; margin-top: 48px; }
.bp-pag a, .bp-pag span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: all .15s; }
.bp-pag a:hover { border-color: var(--brand); color: var(--brand); }
.bp-pag .current { background: var(--ink-1); color: #fff; border-color: var(--ink-1); }

/* Sidebar */
.bp-sidebar { position: sticky; top: 88px; align-self: start; }
.bp-side-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 18px; }
.bp-side-box h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-3); margin: 0 0 14px; }
.bp-cat-list { list-style: none; padding: 0; margin: 0; }
.bp-cat-list li a { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: all .15s; }
.bp-cat-list li a:hover { background: var(--paper-2); color: var(--ink-1); }
.bp-cat-list li a.active { background: rgba(0,122,255,0.10); color: var(--brand-deep); }
.bp-cat-list li a .cnt { color: var(--ink-4); font-weight: 500; font-size: 0.78rem; }
@media (max-width: 991px) { .bp-sidebar { position: static; } }

/* Tek post sayfası */
.bp-post-hero { background: var(--paper); padding: 56px 0 32px; }
.bp-post-bc { font-size: 0.84rem; color: var(--ink-3); margin-bottom: 16px; }
.bp-post-bc a { color: var(--ink-3); }
.bp-post-bc a:hover { color: var(--brand); }
.bp-post-bc .sep { margin: 0 6px; color: var(--ink-4); }
.bp-post-cat { display: inline-flex; align-items: center; padding: 4px 12px; background: rgba(0,122,255,0.10); color: var(--brand-deep); border-radius: 999px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 14px; text-decoration: none; }
.bp-post-title { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; letter-spacing: -1.2px; line-height: 1.06; color: var(--ink-1); margin: 0 0 18px; max-width: 880px; }
.bp-post-meta { display: flex; gap: 18px; color: var(--ink-3); font-size: 0.92rem; flex-wrap: wrap; align-items: center; }
.bp-post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.bp-post-cover { max-width: 920px; margin: 0 auto -160px; padding: 36px 20px 0; position: relative; z-index: 1; }
.bp-post-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px rgba(1,17,101,0.18); }
.bp-post-body-wrap { padding: 200px 0 64px; }
.bp-post-body-wrap.no-cover { padding-top: 56px; }
.bp-post-body { max-width: 760px; margin: 0 auto; color: var(--ink-2); font-size: 1.06rem; line-height: 1.8; }
.bp-post-body p { margin-bottom: 20px; }
.bp-post-body h2 { font-size: 1.7rem; font-weight: 800; color: var(--ink-1); margin: 44px 0 14px; letter-spacing: -0.5px; line-height: 1.2; }
.bp-post-body h3 { font-size: 1.32rem; font-weight: 700; color: var(--ink-1); margin: 36px 0 12px; }
.bp-post-body h4 { font-size: 1.12rem; font-weight: 700; color: var(--ink-1); margin: 28px 0 10px; }
.bp-post-body ul, .bp-post-body ol { padding-left: 28px; margin: 0 0 22px; }
.bp-post-body li { padding: 4px 0; }
.bp-post-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 24px 0; box-shadow: 0 10px 28px rgba(1,17,101,0.10); }
.bp-post-body blockquote { border-left: 4px solid var(--brand); background: var(--paper); padding: 18px 24px; margin: 28px 0; border-radius: 0 12px 12px 0; color: var(--ink-1); font-style: italic; }
.bp-post-body pre { background: var(--ink-1); color: #f0f2f7; padding: 18px 22px; border-radius: 12px; overflow-x: auto; font-size: 0.9rem; line-height: 1.55; }
.bp-post-body code { background: var(--paper-2); color: var(--brand-deep); padding: 2px 6px; border-radius: 4px; font-size: 0.92em; font-family: ui-monospace, monospace; }
.bp-post-body pre code { background: transparent; color: inherit; padding: 0; }
.bp-post-body a { color: var(--brand); text-decoration: underline; }
.bp-post-body strong { color: var(--ink-1); }
.bp-post-body hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }

.bp-post-tags { max-width: 760px; margin: 36px auto 0; display: flex; gap: 8px; flex-wrap: wrap; }
.bp-tag { display: inline-flex; align-items: center; padding: 6px 14px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); border-radius: 999px; font-size: 0.84rem; font-weight: 600; text-decoration: none; transition: all .15s; }
.bp-tag:hover { background: #fff; border-color: var(--brand); color: var(--brand-deep); }

.bp-post-share { max-width: 760px; margin: 32px auto 0; display: flex; align-items: center; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.bp-post-share .lbl { font-size: 0.84rem; color: var(--ink-3); font-weight: 600; }
.bp-post-share a { width: 38px; height: 38px; border-radius: 50%; background: var(--paper); display: flex; align-items: center; justify-content: center; color: var(--ink-2); transition: all .15s; }
.bp-post-share a:hover { background: var(--ink-1); color: #fff; }

/* Related */
.bp-related { background: var(--paper); padding: 64px 0; border-top: 1px solid var(--line); }
.bp-related h2 { font-size: 1.6rem; font-weight: 800; color: var(--ink-1); letter-spacing: -0.5px; margin-bottom: 28px; text-align: center; }
.bp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .bp-related-grid { grid-template-columns: 1fr; } }

/* ===================== FOOTER ===================== */
.g-footer { background: var(--ink-1); color: rgba(255,255,255,0.62); padding: 64px 0 28px; }
.g-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; margin-bottom: 48px; }
@media (max-width: 991px) { .g-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .g-footer-grid { grid-template-columns: 1fr; } }
.g-footer h6 { color:#fff; font-size: 0.84rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 16px; }
.g-footer ul { list-style: none; padding: 0; margin: 0; }
.g-footer ul li { margin-bottom: 10px; }
.g-footer a { color: rgba(255,255,255,0.62); font-size: 0.92rem; transition: color .15s; }
.g-footer a:hover { color: #fff; }
.g-footer-brand .gefli-logo-img { height: 44px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.g-footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.62); line-height: 1.6; max-width: 320px; }
.g-footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.g-footer-bottom .copy { font-size: 0.86rem; }
.g-footer-social { display: flex; gap: 10px; }
.g-footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .15s; }
.g-footer-social a:hover { background: var(--brand); }
