/**
 * Professional Lawyer Theme CSS
 * Avukat Teması - Profesyonel Tasarım
 * 2025 Modern & Prestijli Stil
 */

/* ============================================
   1. ROOT VARIABLES - Avukat Teması Renkleri
   ============================================ */
:root {
    /* Ana Renkler - Profesyonel Avukat Paleti */
    --lawyer-primary: #1a365d;        /* Koyu Lacivert - Güven */
    --lawyer-secondary: #2c5282;      /* Orta Mavi - Profesyonellik */
    --lawyer-accent: #b8860b;         /* Altın - Prestij */
    --lawyer-dark: #0f172a;           /* Çok Koyu - Ciddiyet */
    --lawyer-light: #f8fafc;          /* Açık Gri - Temizlik */
    
    /* Metin Renkleri */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Arka Plan Renkleri */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --bg-dark: #0f172a;
    
    /* Border & Shadow */
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

/* ============================================
   2. TYPOGRAPHY - Profesyonel Yazı Tipleri
   ============================================ */

/* Serif Font Import - Başlıklar için */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* Sans-serif Font Import - İçerik için */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Başlıklar - Serif ile Prestij */
h1, h2, h3, h4, h5, h6,
.elegant-title,
.section-title,
.page-title {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--lawyer-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

/* ============================================
   3. BUTTONS - Profesyonel Butonlar
   ============================================ */

.btn-lawyer-primary {
    background: linear-gradient(135deg, var(--lawyer-primary) 0%, var(--lawyer-secondary) 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-lawyer-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-lawyer-primary:hover::before {
    left: 100%;
}

.btn-lawyer-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-lawyer-accent {
    background: var(--lawyer-accent);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all var(--transition-base);
}

.btn-lawyer-accent:hover {
    background: #9a7209;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lawyer-outline {
    background: transparent;
    color: var(--lawyer-primary);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--lawyer-primary);
    transition: all var(--transition-base);
}

.btn-lawyer-outline:hover {
    background: var(--lawyer-primary);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   4. CARDS - Profesyonel Kartlar
   ============================================ */

.lawyer-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.lawyer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--lawyer-accent);
    transition: height var(--transition-base);
}

.lawyer-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--lawyer-accent);
}

.lawyer-card:hover::before {
    height: 100%;
}

/* ============================================
   5. SECTIONS - Bölüm Stilleri
   ============================================ */

.lawyer-section {
    padding: 80px 0;
    position: relative;
}

.lawyer-section-dark {
    background: var(--lawyer-dark);
    color: white;
}

.lawyer-section-light {
    background: var(--bg-light);
}

.lawyer-section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--lawyer-primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.lawyer-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--lawyer-accent);
}

.lawyer-section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   6. HEADER - Sticky Professional Header
   ============================================ */

.lawyer-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.lawyer-header.scrolled {
    box-shadow: var(--shadow-md);
}

.lawyer-header-top {
    background: var(--lawyer-dark);
    color: white;
    padding: 12px 0;
    font-size: 14px;
}

.lawyer-header-main {
    padding: 20px 0;
}

.lawyer-logo {
    height: 50px;
    transition: all var(--transition-base);
}

.lawyer-header.scrolled .lawyer-logo {
    height: 40px;
}

/* ============================================
   7. NAVIGATION - Profesyonel Menü
   ============================================ */

.lawyer-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.lawyer-nav-link {
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-fast);
}

.lawyer-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lawyer-accent);
    transition: width var(--transition-base);
}

.lawyer-nav-link:hover,
.lawyer-nav-link.active {
    color: var(--lawyer-primary);
}

.lawyer-nav-link:hover::after,
.lawyer-nav-link.active::after {
    width: 100%;
}

/* ============================================
   8. HERO SECTION - Prestijli Hero
   ============================================ */

.lawyer-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lawyer-dark) 0%, var(--lawyer-primary) 100%);
}

.lawyer-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.lawyer-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(26, 54, 93, 0.8) 100%);
}

.lawyer-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.lawyer-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.lawyer-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
}

.lawyer-hero-accent {
    color: var(--lawyer-accent);
    font-weight: 700;
}

/* ============================================
   9. SERVICES - Hizmetler Bölümü
   ============================================ */

.lawyer-service-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    height: 100%;
}

.lawyer-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--lawyer-primary) 0%, var(--lawyer-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: all var(--transition-base);
}

.lawyer-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--lawyer-accent);
}

.lawyer-service-card:hover .lawyer-service-icon {
    background: var(--lawyer-accent);
    transform: scale(1.1) rotate(5deg);
}

.lawyer-service-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lawyer-primary);
    margin-bottom: 16px;
}

.lawyer-service-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ============================================
   10. TESTIMONIALS - Müvekkil Yorumları
   ============================================ */

.lawyer-testimonial {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px;
    border: 2px solid var(--border-color);
    position: relative;
    transition: all var(--transition-base);
}

.lawyer-testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    font-family: var(--font-serif);
    color: var(--lawyer-accent);
    opacity: 0.2;
    line-height: 1;
}

.lawyer-testimonial:hover {
    border-color: var(--lawyer-accent);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.lawyer-testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.lawyer-testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lawyer-testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--lawyer-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-serif);
}

.lawyer-testimonial-name {
    font-weight: 700;
    color: var(--lawyer-primary);
    margin-bottom: 4px;
}

.lawyer-testimonial-title {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   11. STATS - İstatistikler
   ============================================ */

.lawyer-stats {
    background: var(--lawyer-dark);
    padding: 60px 0;
    color: white;
}

.lawyer-stat-item {
    text-align: center;
    padding: 20px;
}

.lawyer-stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--lawyer-accent);
    margin-bottom: 8px;
    line-height: 1;
}

.lawyer-stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* ============================================
   12. FOOTER - Profesyonel Footer
   ============================================ */

.lawyer-footer {
    background: var(--lawyer-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.lawyer-footer-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.lawyer-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--lawyer-accent);
}

.lawyer-footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: block;
    margin-bottom: 12px;
}

.lawyer-footer-link:hover {
    color: var(--lawyer-accent);
    padding-left: 8px;
}

.lawyer-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

/* ============================================
   13. RESPONSIVE - Mobil Uyumluluk
   ============================================ */

@media (max-width: 768px) {
    .lawyer-section {
        padding: 60px 0;
    }
    
    .lawyer-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .lawyer-service-card {
        padding: 32px 24px;
    }
    
    .lawyer-testimonial {
        padding: 32px 24px;
    }
    
    .lawyer-stat-item {
        margin-bottom: 32px;
    }
}

/* ============================================
   14. ANIMATIONS - Smooth Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ============================================
   15. UTILITIES - Yardımcı Sınıflar
   ============================================ */

.text-lawyer-primary { color: var(--lawyer-primary); }
.text-lawyer-accent { color: var(--lawyer-accent); }
.bg-lawyer-primary { background: var(--lawyer-primary); }
.bg-lawyer-accent { background: var(--lawyer-accent); }
.bg-lawyer-light { background: var(--bg-light); }

.border-lawyer-accent { border-color: var(--lawyer-accent); }

.shadow-lawyer-sm { box-shadow: var(--shadow-sm); }
.shadow-lawyer-md { box-shadow: var(--shadow-md); }
.shadow-lawyer-lg { box-shadow: var(--shadow-lg); }
.shadow-lawyer-xl { box-shadow: var(--shadow-xl); }

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--lawyer-accent);
    color: white;
}

::-moz-selection {
    background: var(--lawyer-accent);
    color: white;
}
