/*
Theme Name: SEK HUKUK Tema
Author: Emre
Version: 2.0 (Premium Revizyon)
*/

/* =========================================
   0. KÜRESEL DEĞİŞKENLER (DESIGN SYSTEM)
   Tüm site renkleri, fontları ve köşeleri buradan beslenir.
   ========================================= */
:root {
    /* Renk Paleti */
    --c-lacivert: #002347;
    --c-lacivert-koyu: #001a35;
    --c-gold: #d4af37;
    --c-gold-hover: #b8932f;
    --c-bg-acik: #f8fafc;
    --c-bg-koyu: #1a1a1a;
    --c-metin-koyu: #334155;
    --c-metin-acik: #64748b;
    --c-border: #e2e8f0;

    /* Tipografi */
    --font-baslik: 'Playfair Display', serif;
    --font-metin: 'Montserrat', sans-serif;
    
    /* Ortak Standartlar */
    --radius-standart: 6px; /* Tüm site genelindeki zarif köşe kıvrımı */
    --golge-hafif: 0 4px 6px rgba(0,0,0,0.02);
    --golge-orta: 0 10px 30px rgba(0,0,0,0.04);
    --gecis: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

/* SADECE ANASAYFA İÇİN ÖZEL KİLİT SINIFI */
html.homepage-mode { scroll-snap-type: y mandatory; height: 100vh; overflow-y: scroll; }

body { 
    font-family: var(--font-metin); 
    line-height: 1.6; 
    color: var(--c-metin-koyu); 
    background-color: var(--c-bg-acik); 
}

/* Tüm Başlıkların Otomatik Olarak Otoriter (Extra Bold) Olması Sağlandı */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-baslik);
    color: var(--c-lacivert);
    font-weight: 800; 
}

a { text-decoration: none; color: inherit; transition: var(--gecis); }
ul { list-style: none; }

/* --- SECTIONS (BANNERLAR) --- */
section, footer { scroll-snap-align: start; scroll-snap-stop: always; }

/* --- HEADER (ŞEFFAF VE GÖRSELİN ÜSTÜNDE) --- */
header { position: fixed; top: 0; left: 0; width: 100%; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(4px); z-index: 1000; border-bottom: 1px solid rgba(255, 255, 255, 0.1); transition: background 0.3s; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; max-width: 1400px; margin: 0 auto; }
.logo-link { display: flex; align-items: center; gap: 15px; }
.main-logo { height: 60px; width: auto; filter: brightness(0) invert(1); }
.logo-text { font-family: var(--font-baslik); font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.nav-links { display: flex; align-items: center; }
.nav-links li { margin-left: 30px; }
.nav-links a { font-size: 13px; font-weight: 600; color: #fff; text-transform: uppercase; opacity: 0.9; }
.nav-links a:hover { color: var(--c-gold); opacity: 1; }

/* --- MOBİL MENÜ İKONU (GİZLİ BAŞLAR) --- */
.menu-toggle { display: none; color: #fff; font-size: 24px; cursor: pointer; z-index: 1001; }
.mobile-menu-extras { display: none; }
.mobile-sticky-bar { display: none; }

/* --- KAYDIRMA (REVEAL) ANİMASYONU SINIFLARI --- */
.reveal-hidden { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.revealed { opacity: 1; transform: translateY(0); }

/* --- HERO (TAM EKRAN SAYFA) --- */
.hero { height: 100vh; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; margin-top: 0; position: relative; }
.hero-content { max-width: 900px; padding: 20px; margin-top: 60px; }
.hero-content h1 { font-family: var(--font-baslik); font-size: 3.5rem; margin-bottom: 25px; line-height: 1.2; text-shadow: 0 2px 10px rgba(0,0,0,0.3); color: #fff; }

/* Hero Yeni Buton Tasarımları */
.hero-buttons { display: flex; gap: 25px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.hero-btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 35px; border-radius: var(--radius-standart); font-family: var(--font-metin); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: var(--gecis); box-shadow: var(--golge-orta); border: none; outline: none; text-decoration: none; }
.hero-btn i { font-size: 1.2rem; }
.hero-btn-contact { background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-hover) 100%); color: #fff !important; border: 1px solid rgba(212, 175, 55, 0.4); }
.hero-btn-contact:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3); background: linear-gradient(135deg, var(--c-gold-hover) 0%, var(--c-gold) 100%); color: #fff !important; }
.hero-btn-appointment { background: linear-gradient(135deg, var(--c-lacivert) 0%, #013161 100%); color: #fff !important; border: 1px solid rgba(0, 35, 71, 0.5); }
.hero-btn-appointment:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0, 35, 71, 0.25); background: linear-gradient(135deg, #013161 0%, var(--c-lacivert) 100%); color: #fff !important; }

/* --- AŞAĞI KAYDIR ANİMASYONU --- */
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); text-align: center; color: #fff; z-index: 10; animation: bounce 2s infinite; }
.mouse { width: 26px; height: 42px; border: 2px solid #fff; border-radius: 15px; display: inline-block; position: relative; opacity: 0.8; }
.wheel { width: 4px; height: 8px; background: var(--c-gold); border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scroll 1.5s infinite; }
.scroll-text { display: block; font-size: 10px; margin-top: 8px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.7; }
@keyframes scroll { 0% { top: 6px; opacity: 1; } 100% { top: 18px; opacity: 0; } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); } 40% { transform: translate(-50%, -10px); } 60% { transform: translate(-50%, -5px); } }

/* --- KURUMSAL KİMLİK (STORY FLOW) --- */
.story-flow-section { min-height: 100vh; background-color: var(--c-bg-acik); display: flex; align-items: center; justify-content: center; padding: 100px 5%; }
.flow-header-center { text-align: center; margin-bottom: 70px; max-width: 900px; margin-left: auto; margin-right: auto; }
.flow-subtitle { display: block; font-size: 0.9rem; font-weight: 700; color: var(--c-gold); letter-spacing: 2px; margin-bottom: 15px; text-transform: uppercase; }
.flow-header-center h2 { font-family: var(--font-baslik); font-size: 3rem; line-height: 1.2; margin-bottom: 25px; }
.gold-divider-center { width: 60px; height: 4px; background: var(--c-gold); margin: 0 auto; border-radius: 2px; }
.flow-grid-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1200px; margin: 0 auto; }
.flow-column { display: flex; flex-direction: column; gap: 50px; }
.flow-item { display: flex; gap: 25px; align-items: flex-start; transition: transform 0.3s; }
.flow-item:hover { transform: translateX(10px); }
.flow-number { font-family: var(--font-baslik); font-size: 3rem; font-weight: 700; color: var(--c-gold); line-height: 1; opacity: 0.8; flex-shrink: 0; }
.flow-text h4 { font-family: var(--font-metin); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.flow-text p { color: var(--c-metin-acik); line-height: 1.6; font-size: 0.95rem; }
.flow-action-box { background: #fff; padding: 30px; border-radius: var(--radius-standart); border-left: 4px solid var(--c-gold); box-shadow: var(--golge-orta); margin-top: 10px; }
.flow-action-box p { color: var(--c-metin-koyu); margin-bottom: 20px; font-size: 0.95rem; }
.flow-btn { display: inline-block; background: var(--c-lacivert); color: #fff; padding: 12px 25px; border-radius: var(--radius-standart); font-weight: 600; font-size: 0.9rem; transition: var(--gecis); }
.flow-btn:hover { background: var(--c-gold); color: #000; }

/* --- ÇALIŞMA ALANLARI --- */
.practice-areas-modern { position: relative; padding: 100px 5%; color: #fff; overflow: hidden; }
.video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.85); z-index: 1; }
.practice-areas-modern .container { position: relative; z-index: 2; max-width: 1600px; margin: 0 auto; }
.section-header-modern { text-align: center; margin-bottom: 60px; }
.section-header-modern h3 { font-family: var(--font-baslik); font-size: 2.5rem; color: #fff; margin-bottom: 10px; }
.modern-grid-10 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.modern-card { height: 280px; position: relative; overflow: hidden; border-bottom: 4px solid var(--c-gold); cursor: pointer; background-size: cover; background-position: center; transition: transform 0.4s ease; background-color: #333; border-radius: var(--radius-standart); }
.card-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.3)); z-index: 1; transition: background 0.3s; }
.card-content { position: absolute; bottom: 20px; left: 20px; z-index: 2; width: 90%; }
.card-content h4 { font-size: 1.2rem; color: #fff; font-weight: 600; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.modern-card:hover { transform: translateY(-5px); }
.modern-card:hover .card-overlay { background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0.5)); }

/* --- GÜNCEL YAZILAR (BLOG) --- */
.blog-compact-section { padding: 90px 5%; background-color: var(--c-bg-acik); height: auto; }
.blog-header-compact { text-align: center; margin-bottom: 40px; }
.blog-header-compact h3 { font-family: var(--font-baslik); font-size: 2rem; margin-bottom: 10px; letter-spacing: 1px; }
.gold-line-mini { width: 50px; height: 3px; background: var(--c-gold); margin: 0 auto; }
.blog-grid-tight { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1400px; margin: 0 auto; }
.mini-card { background: #ffffff; padding: 25px; border: 1px solid var(--c-border); border-radius: var(--radius-standart); transition: var(--gecis); display: flex; flex-direction: column; min-height: 320px; }
.mini-card:hover { transform: translateY(-5px); border-color: var(--c-gold); box-shadow: var(--golge-orta); }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font-size: 0.75rem; }
.cat-tag { font-weight: 800; color: var(--c-gold); background: #fdf8e8; padding: 4px 10px; border-radius: 4px; text-decoration: none; transition: var(--gecis); }
.cat-tag:hover { background: var(--c-lacivert); color: #fff; }
.date-txt { color: var(--c-metin-acik); font-size: 0.75rem; }
.card-title { font-family: var(--font-metin); font-size: 1.1rem; margin-bottom: 10px; font-weight: 700; line-height: 1.4; }
.card-excerpt { font-size: 0.85rem; color: var(--c-metin-acik); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini-link { font-size: 0.8rem; font-weight: 800; color: var(--c-lacivert); text-transform: uppercase; text-decoration: none; align-self: flex-start; border-bottom: 2px solid var(--c-gold); padding-bottom: 3px; transition: var(--gecis); }
.mini-link:hover { color: var(--c-gold); border-color: var(--c-lacivert); }
.blog-footer-simple { text-align: center; margin-top: 50px; }
.simple-arrow-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--c-metin-koyu); font-weight: 700; font-size: 0.95rem; text-decoration: none; padding: 10px 20px; border: 1px solid #ddd; border-radius: 50px; transition: var(--gecis); }
.simple-arrow-btn:hover { border-color: var(--c-gold); color: var(--c-gold); background: #fff; transform: translateY(-2px); box-shadow: var(--golge-hafif); }

/* --- FOOTER --- */
footer { background: var(--c-bg-koyu); color: #ccc; padding: 40px 5% 15px; font-size: 13px; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; max-width: 1400px; margin: 0 auto; border-bottom: 1px solid #333; padding-bottom: 30px; }
.footer-logo-text { font-family: var(--font-baslik); font-size: 20px; color: #fff; margin-bottom: 10px; }
.footer-desc { margin-bottom: 15px; line-height: 1.5; font-size: 12px; }
.contact-row { display: flex; margin-bottom: 6px; }
.contact-row span { width: 60px; color: #fff; font-weight: 600; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 15px; border-bottom: 1px solid #444; padding-bottom: 5px; display: inline-block; }
.links-col ul li { margin-bottom: 6px; border-bottom: 1px solid #2a2a2a; padding-bottom: 6px; }
.links-col ul li a::before { content: "• "; color: #b30000; }
.links-col ul li a:hover { color: #fff; padding-left: 5px; }
.social-icons a { margin-right: 10px; color: #fff; font-size: 14px; }
.footer-bottom { text-align: center; padding-top: 15px; font-size: 11px; color: #666; }


/* =========================================
   MOBİL MUCİZESİ (SADECE TELEFONLAR İÇİN)
   ========================================= */
@media (max-width: 900px) {
    /* Kaydırma Kilidini Kapat (Rahat Kaydırma) */
    html.homepage-mode { scroll-snap-type: none; height: auto; overflow-y: auto; }
    section, footer { scroll-snap-align: none; }
    
    /* 1. UYGULAMA MENÜSÜ */
    .menu-toggle { display: block; }
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; 
        background: var(--c-lacivert); flex-direction: column; align-items: flex-start; 
        padding: 80px 30px; gap: 20px; transition: right 0.4s ease; 
        box-shadow: -5px 0 15px rgba(0,0,0,0.5); z-index: 999;
    }
    .nav-links.active { right: 0; }
    
    /* BOYDAN BOYA TIKLAMA HİLESİ EKLENDİ */
    .nav-links li { margin-left: 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
    .nav-links a { display: block; width: 100%; padding: 12px 0; font-size: 16px; } 
    
    /* Menü Altı Ekstraları */
    .mobile-menu-extras { display: block; margin-top: auto; padding-top: 20px; text-align: center; border-bottom: none !important; }
    .m-divider { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 20px; }
    .m-contact-title { font-size: 12px; color: #aaa; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
    .m-phone { display: block; font-size: 1.2rem; font-weight: 700; color: var(--c-gold); margin-bottom: 20px; }
    .m-socials a { color: #fff; font-size: 1.5rem; margin: 0 10px; transition: 0.3s; display: inline-block; }
    
    /* 2. HERO BOŞLUKLARI VE BUTONLAR */
    .hero-content h1 { font-size: 2.2rem; margin-top: 20px; }
    .hero-content p { font-size: 0.95rem; }
    .hero-buttons { gap: 15px; flex-direction: column; align-items: center; }
    .hero-btn { width: 100%; justify-content: center; padding: 15px; font-size: 1rem; }
    .scroll-indicator { bottom: 100px; } 
    
    /* 3. İÇERİK YAPISI VE BOŞLUKLAR */
    .story-flow-section, .blog-compact-section { padding: 60px 0; min-height: auto; } 
    .flow-header-center, .blog-header-compact { padding: 0 5%; } 
    .flow-header-center h2 { font-size: 1.8rem; }
    .flow-grid-container { grid-template-columns: 1fr; gap: 40px; padding: 0 5%; } 
    .flow-number { font-size: 2.5rem; }
    
    /* 4. NETFLIX TARZI YATAY KAYDIRMA (ÇALIŞMA ALANLARI) */
    .practice-areas-modern { 
        padding: 60px 0; 
        background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('img/hero-bg.jpg') center/cover;
    }
    .video-bg, .video-overlay { display: none; } 
    .section-header-modern { padding: 0 5%; } 
    .section-header-modern h3 { font-size: 2rem; }
    
    .modern-grid-10 { 
        display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; 
        gap: 15px; padding: 0 5% 20px 5%; -ms-overflow-style: none; scrollbar-width: none; 
    }
    .modern-grid-10::-webkit-scrollbar { display: none; }
    /* Kartlar hafif daraltıldı. Sağdan diğer kartın ucu gözükerek kullanıcıya "Kaydır" mesajı verecek */
    .modern-card { flex: 0 0 85%; scroll-snap-align: center; height: 220px; }
    
    /* 5. YENİ: YATAY KAYDIRMA (BLOG YAZILARI) */
    .blog-grid-tight {
        display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; 
        gap: 15px; padding: 10px 5% 30px 5%; -ms-overflow-style: none; scrollbar-width: none;
    }
    .blog-grid-tight::-webkit-scrollbar { display: none; }
    .mini-card { flex: 0 0 88%; scroll-snap-align: center; min-height: 280px; }
    
    /* 6. MOBİL FOOTER VE SABİT BAR */
    .footer-container { grid-template-columns: 1fr; text-align: left; gap: 30px; padding: 0 5% 20px 5%; }
    .footer-col h4 { width: 100%; }
    footer { padding-bottom: 80px; } 
    
    .mobile-sticky-bar { 
        display: flex; position: fixed; bottom: 0; left: 0; width: 100%; 
        height: 60px; z-index: 1002; box-shadow: 0 -5px 15px rgba(0,0,0,0.2); 
    }
    .mobile-sticky-bar a { 
        flex: 1; display: flex; align-items: center; justify-content: center; 
        gap: 8px; font-weight: 700; font-size: 0.95rem; color: #fff; text-decoration: none; 
    }
    .sticky-contact { background: var(--c-lacivert); } 
    .sticky-wa { background: #25D366; } 
}