/* ==========================================================================
   MUSTAFA YILDIZ HUKUK BÜROSU - TASARIM SİSTEMİ & STİL DOSYASI
   ========================================================================== */

/* 1. CSS Değişkenleri (Theme Tokens)
   ========================================================================== */
:root {
    /* Yazı Tipleri */
    --font-primary: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Geçiş Efektleri */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
}

/* Koyu Tema Değişkenleri (Varsayılan) */
.dark-theme {
    --bg-primary: #080a0d;
    --bg-secondary: #0d1015;
    --bg-navbar: rgba(8, 10, 13, 0.85);
    
    --text-primary: #ffffff;
    --text-secondary: #9aa0a6;
    --text-muted: #6b7280;
    
    --gold-primary: #c5a880;
    --gold-secondary: #dfc59f;
    --gold-hover: #b09168;
    --gold-border: rgba(197, 168, 128, 0.35);
    --gold-border-solid: #c5a880;
    
    --card-bg: #0d1015;
    --card-hover: #12171e;
    
    --input-bg: rgba(255, 255, 255, 0.02);
    --input-border: rgba(197, 168, 128, 0.2);
    --input-focus-border: #c5a880;
    --input-text: #ffffff;
    --input-placeholder: rgba(255, 255, 255, 0.4);
    
    --shadow-sm: rgba(0, 0, 0, 0.3);
    --shadow-md: rgba(0, 0, 0, 0.5);
    --shadow-lg: rgba(0, 0, 0, 0.7);
    
    --overlay-color: rgba(8, 10, 13, 0.55);
}

/* Aydınlık Tema Değişkenleri */
.light-theme {
    --bg-primary: #dcd7cc;       /* Gözü yormayan sıcak parşömen taşı (parlaklık %50 azaltıldı) */
    --bg-secondary: #d1cabf;     /* Yumuşak bej zemin */
    --bg-navbar: rgba(220, 215, 204, 0.93);
    
    --text-primary: #1d2129;     /* Koyu antrasit metin */
    --text-secondary: #4a4e57;
    --text-muted: #767c86;
    
    --gold-primary: #907247;
    --gold-secondary: #b59870;
    --gold-hover: #765b35;
    --gold-border: rgba(144, 114, 71, 0.35);
    --gold-border-solid: #907247;
    
    --card-bg: #d1cabf;          /* Mat bej kartlar */
    --card-hover: #c6beb2;
    
    --input-bg: rgba(0, 0, 0, 0.03);
    --input-border: rgba(144, 114, 71, 0.25);
    --input-focus-border: #907247;
    --input-text: #1d2129;
    --input-placeholder: rgba(29, 33, 41, 0.5);
    
    --shadow-sm: rgba(0, 0, 0, 0.05);
    --shadow-md: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.12);
    
    --overlay-color: rgba(220, 215, 204, 0.55);
}

/* 2. Temel Sınıflar ve Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), 
                color 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Grid Konteyner */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 3. Ortak Bileşenler (Buttons, Typography)
   ========================================================================== */
.gold-text {
    color: var(--gold-primary);
}

.gold-line {
    display: inline-block;
    width: 40px;
    height: 1.5px;
    background-color: var(--gold-primary);
    margin-right: 12px;
    vertical-align: middle;
}

/* Buton Tasarımları */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-solid {
    background-color: var(--gold-primary);
    color: #080a0d; /* Dolu altın buton yazısı daima karanlık/şablon uyumlu olmalı */
}

.btn-solid:hover {
    background-color: var(--gold-hover);
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--gold-border-solid);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--gold-primary);
    color: #080a0d;
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.25);
    transform: translateY(-2px);
}

/* 4. Navbar Tasarımı
   ========================================================================== */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-navbar);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
    transition: var(--transition-smooth);
}

.navbar-header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px var(--shadow-sm);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    transition: var(--transition-smooth);
}

.navbar-header.scrolled .navbar-container {
    height: 70px;
}

/* Logo Alanı */
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--gold-primary);
    box-shadow: 0 0 8px rgba(197, 168, 128, 0.25);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--gold-primary);
    line-height: 1;
    margin-top: 2px;
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    padding: 8px 0;
    position: relative;
    opacity: 0.85;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--gold-primary);
    transition: var(--transition-smooth);
}

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

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* ==========================================================================
   SARKAN BANKER LAMBASI & ZİNCİR TEMA DEĞİŞTİRİCİ
   ========================================================================== */
.lamp-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50px;
    height: 80px;
    margin-top: -30px;
    z-index: 1010;
}

/* Askı Kablosu / Borusu */
.lamp-wire {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, #d5b88f, #907247);
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
}

/* Lamba Gövdesi */
.lamp-body-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: top center;
    transition: transform 0.15s ease-out;
}

.lamp-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
    transition: filter 0.5s ease, transform 0.5s ease;
}

/* Karanlık temada lamba mat ve sönük */
.dark-theme .lamp-img {
    filter: brightness(0.6) contrast(1.1) drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

/* Aydınlık temada lamba parlak ve ışık saçıyor */
.light-theme .lamp-img {
    filter: brightness(1.2) contrast(1) drop-shadow(0 0 15px rgba(255, 235, 150, 0.8));
}

/* Lamba Işıma Halesi (Glow) */
.lamp-glow {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 220, 100, 0.4) 0%, rgba(255, 220, 100, 0.05) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.5s ease;
    opacity: 0;
    z-index: -1;
}

.light-theme .lamp-glow {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
}

/* Sallanan Zincir / İp */
.lamp-chain {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transform-origin: top center;
    margin-top: -5px;
    z-index: 1011;
}

.chain-line {
    width: 2px;
    height: 35px;
    background: repeating-linear-gradient(to bottom, #d5b88f 0px, #d5b88f 3px, #907247 3px, #907247 6px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: height 0.15s ease-out;
}

.chain-handle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #e8d0aa 0%, #907247 80%);
    border: 1px solid #765b35;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    transition: transform 0.15s ease-out;
}

/* İp Çekilme Efekti */
.lamp-chain.pull .chain-line {
    height: 47px;
}

.lamp-chain.pull .chain-handle {
    transform: scale(0.9);
}

/* Sallanma Animasyonu (Swing) */
.lamp-body-wrapper.swing, .lamp-chain.swing {
    animation: swing-anim 2s ease-in-out;
}

@keyframes swing-anim {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(12deg); }
    30% { transform: rotate(-9deg); }
    45% { transform: rotate(6deg); }
    60% { transform: rotate(-4deg); }
    75% { transform: rotate(2deg); }
    90% { transform: rotate(-1deg); }
    100% { transform: rotate(0deg); }
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--gold-primary);
    padding: 10px 18px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--gold-primary);
    background: transparent;
    white-space: nowrap;
}

.phone-btn:hover {
    background-color: var(--gold-primary);
    color: #080a0d;
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.2);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
}

/* 5. Mobile Navigation Drawer
   ========================================================================== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-secondary);
    z-index: 2000;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.25);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-close {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    display: block;
    padding: 6px 0;
}

.mobile-link:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.mobile-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--gold-primary);
    padding: 14px;
    border-radius: var(--border-radius-sm);
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: auto;
    white-space: nowrap;
}

/* 6. Hero Section Tasarımı
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-image: url('assets/header_bg.jpg');
    background-size: cover;
    background-position: center right;
    padding-top: 110px;
    padding-bottom: 50px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-primary) 45%, var(--overlay-color) 75%, transparent 100%);
    transition: background 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.light-theme .hero-bg-overlay {
    background: linear-gradient(to right, var(--bg-primary) 45%, rgba(255, 255, 255, 0.75) 75%, rgba(255, 255, 255, 0.9) 100%);
}

.hero-container-new {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.1fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    width: 100%;
}

/* Sol: Avukat Resmi */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 480px;
    border-radius: var(--border-radius-md);
    background-size: cover;
    background-position: center;
    transition: background-image 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.dark-theme .hero-image-wrapper {
    background-image: url('assets/office_night.jpg');
    border: 1px solid rgba(197, 168, 128, 0.15);
}

.light-theme .hero-image-wrapper {
    background-image: url('assets/office_day.jpg');
    border: 1px solid rgba(144, 114, 71, 0.15);
}

.hero-lawyer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.05);
    /* Kenarlara doğru yumuşak silinerek geçiş efekti (Radial Masking) */
    mask-image: radial-gradient(ellipse 70% 85% at 50% 45%, black 40%, transparent 95%);
    -webkit-mask-image: radial-gradient(ellipse 70% 85% at 50% 45%, black 40%, transparent 95%);
    transition: var(--transition-smooth);
}

/* Orta: Slogan & Buton */
.hero-content-new {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
}

.hero-title-new {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-desc-new {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-buttons-new {
    display: flex;
}

/* Sağ: İlkeler */
.hero-principles-new {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 20px;
    border-left: 1px solid rgba(197, 168, 128, 0.15);
}

.principle-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.principle-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background-color: rgba(8, 10, 13, 0.6);
    transition: var(--transition-smooth);
}

.principle-item:hover .principle-icon {
    border-color: var(--gold-primary);
    background-color: var(--gold-primary);
    color: #080a0d;
    transform: scale(1.05) rotate(5deg);
}

.principle-text h3 {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
}

/* Responsive Uyumluluk */
@media (max-width: 1024px) {
    .hero-container-new {
        grid-template-columns: 1.2fr 1fr;
        gap: 20px;
    }
    .hero-principles-new {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(197, 168, 128, 0.15);
        padding-top: 20px;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 40px;
    }
    .hero-container-new {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-image-wrapper {
        grid-row: 2;
    }
    .hero-principles-new {
        grid-column: span 1;
        grid-row: 3;
        flex-direction: column;
        gap: 15px;
        border-top: none;
        padding-top: 0;
    }
    .hero-title-new {
        font-size: 2.5rem;
    }
}

/* İç Sayfa Hero / Banner */
.hero {
    position: relative;
    background-color: var(--bg-secondary);
    padding: 100px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--gold-border);
    transition: background-color 0.6s ease;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* 7. Uzmanlık Alanları Section (Grid Kutusu)
   ========================================================================== */
.expertise-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
    position: relative;
    z-index: 20;
    margin-top: -60px; /* Hero ile bütünleşik şık bir bindirme */
    transition: background-color 0.6s ease;
}

.expertise-outer-box {
    border: 1px solid var(--gold-border);
    position: relative;
    padding: 60px 40px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(13, 16, 21, 0.3);
    backdrop-filter: blur(5px);
}

.light-theme .expertise-outer-box {
    background-color: rgba(244, 239, 234, 0.3);
}

/* Border ortasındaki başlık alanı */
.expertise-header {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-primary);
    padding: 0 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
    transition: background-color 0.6s ease;
}

.expertise-title-text {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold-primary);
    margin-bottom: 6px;
}

.expertise-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.expertise-divider .line {
    width: 30px;
    height: 1px;
    background-color: var(--gold-border);
}

.gold-icon {
    color: var(--gold-primary);
    font-size: 0.85rem;
}

/* Grid Yapısı */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 6 eleman için 3 sütunlu düzen */
    gap: 30px;
    margin-top: 15px;
}

.expertise-card {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(197, 168, 128, 0.1);
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.01);
    transition: var(--transition-smooth);
}

.card-icon-wrap {
    font-size: 2.2rem;
    color: var(--gold-primary);
    margin-bottom: 18px;
    transition: var(--transition-smooth);
}

.expertise-card h3 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.expertise-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Hover Animasyonu */
.expertise-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    background-color: rgba(197, 168, 128, 0.03);
    box-shadow: 0 10px 25px var(--shadow-sm);
}

.expertise-card:hover .card-icon-wrap {
    color: var(--gold-secondary);
    transform: scale(1.1);
}

/* 8. Hakkımızda & Ücretsiz Danışmanlık
   ========================================================================== */
.about-consultation-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.6s ease;
}

.about-consultation-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: flex-start;
}

/* Hakkımızda Blok */
.about-block {
    display: flex;
    flex-direction: column;
}

.about-tagline {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.about-title {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
}

.about-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.about-btn {
    align-self: flex-start;
    padding: 12px 24px;
    margin-bottom: 40px;
}

.about-img-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gold-border);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-img-wrap:hover .about-img {
    transform: scale(1.05);
}

/* Danışmanlık Form Blok */
.consultation-block {
    background-color: var(--bg-primary);
    border: 1px solid var(--gold-border);
    padding: 45px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 40px var(--shadow-sm);
    transition: background-color 0.6s ease;
}

.consultation-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 35px;
    text-align: center;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius-sm);
    color: var(--input-text);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.form-group textarea {
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--input-placeholder);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--input-focus-border);
    box-shadow: 0 0 8px rgba(197, 168, 128, 0.15);
    background-color: rgba(255, 255, 255, 0.04);
}

.form-submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
}

.form-status {
    margin-top: 15px;
    font-size: 0.85rem;
    text-align: center;
    border-radius: var(--border-radius-sm);
    display: none;
}

.form-status.success {
    display: block;
    color: #4ade80;
    background-color: rgba(74, 222, 128, 0.1);
    padding: 10px;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.form-status.error {
    display: block;
    color: #f87171;
    background-color: rgba(248, 113, 113, 0.1);
    padding: 10px;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

/* 9. Alt Sayfa Yerleşimleri (Kurumsal, Makaleler ve Profil Kartları)
   ========================================================================== */

/* Profil & Hakkımızda Grid Düzeni */
.profile-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    padding: 80px 0;
    align-items: start;
}

.profile-sidebar {
    position: sticky;
    top: 110px;
}

.profile-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--gold-border);
    border-radius: var(--border-radius-md);
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-sm);
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.2);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.profile-info .title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold-primary);
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.profile-meta {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(197, 168, 128, 0.15);
    padding-top: 20px;
}

.profile-meta li {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(197, 168, 128, 0.05);
    padding-bottom: 8px;
}

.profile-meta li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-meta li span:first-child {
    color: var(--text-secondary);
    font-weight: 500;
}

.profile-meta li span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

/* Özgeçmiş / Detay İçeriği */
.profile-content {
    background-color: var(--bg-primary);
}

.profile-content h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--gold-border);
}

.profile-content h2:first-of-type {
    margin-top: 0;
}

.profile-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

/* Mesleki İlkeler Grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.principle-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--gold-border);
    border-radius: var(--border-radius-sm);
    padding: 24px 20px;
    text-align: left;
    transition: var(--transition-smooth);
}

.principle-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 12px;
}

.principle-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-sm);
    border-color: var(--gold-primary);
}

/* Faaliyet Alanları Detay Sayfası */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 40px 0;
}

.practice-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--gold-border);
    border-radius: var(--border-radius-md);
    padding: 35px;
    box-shadow: 0 10px 30px var(--shadow-sm);
    transition: var(--transition-smooth);
}

.practice-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
}

.practice-header-icon {
    width: 32px;
    height: 32px;
    color: var(--gold-primary);
}

.practice-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.practice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.practice-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.practice-list li::before {
    content: "•";
    color: var(--gold-primary);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
}

.practice-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 35px var(--shadow-md);
}

/* Makaleler Grid (blog/index.html) */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 0;
}

.article-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--gold-border);
    border-radius: var(--border-radius-sm);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.article-meta-info {
    font-size: 0.7rem;
    color: var(--gold-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.article-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-link {
    font-size: 0.8rem;
    color: var(--gold-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 25px var(--shadow-sm);
}

/* Makale Okuma Detay Şablonu (.prose) */
.prose {
    font-family: var(--font-primary);
}

.prose h1 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--gold-border);
    padding-bottom: 15px;
}

.prose h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 35px;
    margin-bottom: 15px;
}

.prose p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.prose a {
    color: var(--gold-primary);
    text-decoration: underline;
}

.prose a:hover {
    color: var(--gold-secondary);
}

.prose ul, .prose ol {
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.prose li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.prose blockquote {
    border-left: 3px solid var(--gold-primary);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* İçindekiler Tablosu (TOC) */
details {
    background-color: var(--bg-secondary);
    border: 1px solid var(--gold-border);
    border-radius: var(--border-radius-sm);
    margin-bottom: 25px;
}

details summary {
    font-weight: 600;
    color: var(--gold-primary);
    padding: 12px 18px;
    cursor: pointer;
    user-select: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

details ol {
    padding: 0 18px 18px 30px;
    margin-bottom: 0 !important;
}

details ol li a {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    font-size: 0.8rem;
}

details ol li a:hover {
    color: var(--gold-primary) !important;
}

/* Proje Görselleri ve Dilekçeler */
.prose img {
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gold-border);
    margin: 25px 0;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.prose hr {
    border: 0;
    height: 1px;
    background-color: var(--gold-border);
    margin: 30px 0;
}

/* Dilekçe Metin Şablonu */
.prose u {
    text-underline-offset: 4px;
}

.prose strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* prose-warning veya prose-callout */
.prose section {
    background-color: rgba(197, 168, 128, 0.05) !important;
    border: 1px solid var(--gold-border) !important;
    border-radius: var(--border-radius-md) !important;
    padding: 24px !important;
    margin-top: 40px !important;
}

.prose section p {
    margin-bottom: 12px !important;
    font-size: 0.85rem !important;
}

.prose section p:last-child {
    margin-bottom: 0 !important;
}

/* 10. Footer Tasarımı
   ========================================================================== */
.footer-section {
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(197, 168, 128, 0.1);
    padding: 60px 0 30px;
    transition: background-color 0.6s ease;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Üst Detaylar */
.footer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
    padding-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    font-size: 1.25rem;
    color: var(--gold-primary);
    margin-top: 3px;
}

.info-link, .info-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.info-link:hover {
    color: var(--gold-primary);
}

.address-item .info-text {
    line-height: 1.6;
}

/* Alt Detaylar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gold-border);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.social-links a:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-3px);
}

.copyright-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 11. Mobil Uyumlu Medya Sorguları (Responsive)
   ========================================================================== */

/* 1024px Genişlik (Tablet) */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-sidebar {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .practice-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-consultation-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* 768px Genişlik (Büyük Telefon) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-bg-overlay {
        background: linear-gradient(to right, var(--bg-primary) 20%, var(--overlay-color) 70%, transparent 100%);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .expertise-outer-box {
        padding: 40px 20px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom .copyright-text {
        align-items: center !important;
    }
}

/* 480px Genişlik (Telefon) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .phone-btn span {
        display: none;
    }

    .phone-btn {
        padding: 10px;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        justify-content: center;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .consultation-block {
        padding: 24px;
    }

    .form-row-half {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 1200px) and (min-width: 1025px) {
    .nav-menu ul {
        gap: 16px;
    }
    .nav-link {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
    .phone-btn {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
    .nav-actions {
        gap: 10px;
    }
}
