/* -----------------------------------------------------------
   1. CORE & VARIABLES
----------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary: #10b981;
    --primary-dark: #064e3b;
    --primary-deep: #022c22;
    --accent-gold: #C5A059;
    --accent-metallic: #D4AF37;
    --accent-champagne: #F0E6D2;
    --bg-dark: #0f1115;
    --surface-dark: #181b21;
    --surface-darker: #121418;
    --border-dark: #27272a;
    --border-gold: #8c7335;
    --text-light-gray: #6b7280;

    --font-sans: 'Public Sans', sans-serif;
    --font-serif: 'Crimson Text', serif;
}

/* Reset & Base */
body {
    background-color: var(--bg-dark);
    color: #e2e8f0;
    font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6, .font-serif { font-family: var(--font-serif); }
a { text-decoration: none; }
::selection { background-color: var(--accent-gold); color: var(--bg-dark); }

/* -----------------------------------------------------------
   2. UTILITIES & TYPOGRAPHY (Inline Stillerin Yerine Geçenler)
----------------------------------------------------------- */
.text-accent-gold { color: var(--accent-gold) !important; }
.text-accent-champagne { color: var(--accent-champagne) !important; }
.text-primary-green { color: var(--primary) !important; }
.bg-surface-dark { background-color: var(--surface-dark); }
.bg-surface-darker { background-color: var(--surface-darker); }
.bg-primary-deep { background-color: var(--primary-deep); }
.bg-primary-green { background-color: var(--primary); }
.bg-bg-dark { background-color: var(--bg-dark) !important; }

/* Tipografi & Boşluklar */
.tracking-widest { letter-spacing: 0.2em; }
.tracking-wide { letter-spacing: 0.05em; }
.lh-tight { line-height: 1.1; }
.lh-base { line-height: 1.6; }
.lh-relaxed { line-height: 1.8; }
.text-xs { font-size: 0.75rem; }
.text-micro { font-size: 0.65rem; }
.icon-xxl { font-size: 2.5rem; }
.hero-badge-text { font-size: 0.75rem; letter-spacing: 0.1em; }

/* Objeler & Çizgiler */
.w-max-250 { max-width: 250px; }
.bg-pattern-global {
    position: fixed; inset: 0; z-index: -1; opacity: 0.4; pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
}
.gold-dot { width: 8px; height: 8px; background-color: var(--accent-gold); }
.gold-dot-sm { width: 5px; height: 5px; background-color: var(--accent-gold); }
.section-top-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 4px; opacity: 0.5;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}
.section-divider-line { width: 32px; height: 1px; background-color: var(--accent-gold); }
.icon-box-lg { width: 60px; height: 60px; }
.fs-icon-xl { font-size: 40px; }
.logo-icon { width: 48px; height: 48px; }

/* -----------------------------------------------------------
   3. COMPONENTS
----------------------------------------------------------- */
.btn-custom {
    border-radius: 0.125rem; text-transform: uppercase; font-weight: 600;
    font-size: 0.875rem; letter-spacing: 0.1em; padding: 0.55rem 1.5rem;
    transition: all 0.3s ease; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center;
}
.btn-gold {
    background-color: var(--accent-gold); color: var(--bg-dark); box-shadow: 0 0 25px rgba(197, 160, 89, 0.3);
}
.btn-gold:hover { background-color: #fff; color: var(--bg-dark); transform: translateY(-2px); }
.btn-consultation {
    background-color: var(--primary-dark); border-color: rgba(16, 185, 129, 0.2);
    color: var(--accent-champagne); box-shadow: 0 4px 14px 0 rgba(6, 78, 59, 0.5);
}
.btn-consultation:hover {
    background-color: rgba(6, 78, 59, 0.8); border-color: rgba(197, 160, 89, 0.5); color: var(--accent-champagne);
}

.navbar { background-color: rgba(15, 17, 21, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-dark); }
.nav-link { color: #9ca3af !important; font-size: 0.80rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; transition: color 0.2s; }
.nav-link:hover, .nav-link:focus, .offcanvas .nav-link:hover { color: var(--accent-gold) !important; }
.nav-link-active { color: var(--accent-gold) !important; }
.brand-name { font-size: 1.44rem; }

/* NAVBAR FIX: 992px - 1200px arası kırılmaları önleme */
.navbar .nav-link {
    white-space: nowrap; /* Metinlerin alt satıra geçmesini kesin olarak engeller */
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar .nav-link {
        font-size: 0.70rem !important; /* lg ekranda fontu çok hafif küçültüyoruz */
        letter-spacing: 0.05em;
        /*padding-left: 0.4rem !important;*/
        padding-right: 0.4rem !important;
    }
    .navbar .btn-custom {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        letter-spacing: 0.05em;
    }
    .navbar-brand span {
        font-size: 1.15rem !important;
    }
}

/* OFFCANVAS & MOBILE MENU */
.navbar-toggler:focus { box-shadow: none; outline: none; }
@media (min-width: 992px) { .custom-mobile-menu { background-color: transparent !important; } }
@media (max-width: 991.98px) {
    .custom-mobile-menu.offcanvas-lg { width: 100% !important; max-width: 100% !important; height: 100dvh !important; border: none !important; top: 0 !important; right: 0 !important; bottom: 0 !important; background-color: var(--surface-darker) !important; }
    .custom-mobile-menu .offcanvas-header { padding: 1.5rem 2rem; background-color: var(--bg-dark); border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; }
    .custom-mobile-menu .offcanvas-body { display: flex !important; padding: 1rem 2rem 2rem 1rem !important; overflow-y: auto; }
    .custom-mobile-menu .navbar-nav { display: flex; flex-direction: column; margin: auto 0 !important; width: 100%; align-items: center; gap: 1.5rem; }
    .custom-mobile-menu .nav-link { font-size: 1.35rem !important; padding: 0.5rem 0; text-align: center; letter-spacing: 0.15em; color: #fff !important; transition: all 0.3s ease; }
    .custom-mobile-menu .nav-link:hover, .custom-mobile-menu .nav-link:focus { color: var(--accent-gold) !important; transform: translateY(-2px); }
    .custom-mobile-menu .btn-consultation { margin-top: 1rem; font-size: 1.1rem; padding: 1rem 2rem; width: 100%; max-width: 250px; }
    .offcanvas-header .btn-close { margin-right: 0; }
}

/* -----------------------------------------------------------
   4. SECTIONS (IMG Tag Optimization)
----------------------------------------------------------- */
/* IMG Tag Arkaplan Yapıları (Object-Fit Teknolojisi) */
.bg-image-cover {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center; z-index: 0;
}

/* Hero Section */
.hero-section {
    position: relative; width: 100%; min-height: 90vh; display: flex; align-items: center;
    overflow: hidden; background-color: var(--bg-dark); z-index: 1;
}
.hero-overlay-color { position: absolute; inset: 0; background-color: rgba(15, 17, 21, 0.50); mix-blend-mode: multiply; z-index: 1; pointer-events: none;}
.hero-overlay-gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-dark) 0%, rgba(15, 17, 21, 0.5) 50%, transparent 100%); z-index: 2; pointer-events: none;}
.hero-pattern {
    position: absolute; inset: 0; opacity: 0.15; z-index: 3; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
}
.hero-content { position: relative; z-index: 10; width: 100%; }

.display-1 { font-weight: 500; text-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.text-gradient-gold {
    background: linear-gradient(to right, var(--accent-champagne), var(--accent-gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* Stats Section */
.stats-card { border-left: 1px solid var(--border-dark); background-color: rgba(15, 17, 21, 0.3); backdrop-filter: blur(4px); transition: background-color 0.3s; }
.stats-card:hover { background-color: rgba(15, 17, 21, 0.6); }
.stats-card .number { font-family: var(--font-serif); color: var(--accent-gold); transition: color 0.3s; }
.stats-card:hover .number { color: #fff; }

/* Service Cards */
.service-card {
    position: relative; background-color: var(--surface-dark); border: 1px solid var(--border-dark);
    overflow: hidden; transition: all 0.5s ease; color: var(--text-light-gray);
}
.service-card:hover { border-color: rgba(197, 160, 89, 0.4); transform: translateY(-5px); color: white; }
.service-card-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6, 78, 59, 0.2), transparent); opacity: 0; transition: opacity 0.5s; pointer-events: none;}
.service-card:hover .service-card-overlay { opacity: 1; }

/* Practice Areas Slider */
.practice-scroll-container {
    display: flex; overflow-x: auto; gap: 1.5rem; padding-bottom: 2.5rem; scroll-snap-type: x mandatory; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none;
}
.practice-scroll-container::-webkit-scrollbar { display: none; }
.practice-card {
    min-width: 85vw; height: 500px; scroll-snap-align: center; position: relative; border-radius: 0.25rem; border: 1px solid var(--border-dark); overflow: hidden; transition: all 0.5s ease; cursor: pointer; background-color: #181b21;
}
@media (min-width: 768px) { .practice-card { min-width: 400px; } }

.practice-card .bg-image-cover {
    filter: grayscale(100%) contrast(1.1); opacity: 0.1; mix-blend-mode: luminosity; transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.practice-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6, 78, 59, 0.9) 0%, rgba(2, 44, 34, 0.95) 100%); opacity: 0; transition: opacity 0.5s ease; z-index: 1; pointer-events: none;}
.practice-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 2.5rem; }

.practice-card.active, .practice-card:hover { border-color: rgba(197, 160, 89, 0.4); box-shadow: 0 0 50px rgba(6, 78, 59, 0.2); }
.practice-card.active .bg-image-cover, .practice-card:hover .bg-image-cover { filter: grayscale(100%) contrast(1.1); opacity: 0.4; mix-blend-mode: normal; transform: scale(1.1); }
.practice-card.active .practice-overlay, .practice-card:hover .practice-overlay { opacity: 0.85; }
.practice-card h3 { transition: transform 0.3s; }
.practice-card:hover h3 { transform: translateX(8px); }

.slider-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-dark); background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; transition: all 0.3s; cursor: pointer; }
.slider-btn:hover { background-color: var(--accent-gold); color: var(--bg-dark); border-color: var(--accent-gold); box-shadow: 0 0 15px rgba(197, 160, 89, 0.4); }

/* Blog Section (Symmetrical Display) */
.blog-gradient-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--surface-darker) 10%, rgba(18,20,24,0.6) 60%, transparent 100%); z-index: 1; pointer-events: none;}
.blog-featured { position: relative; border: 1px solid var(--border-dark); border-radius: 0.25rem; overflow: hidden; background-color: var(--surface-dark); height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.blog-featured .bg-image-cover { transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.blog-featured:hover .bg-image-cover { transform: scale(1.05); }
.blog-featured h3 { transition: color 0.2s ease; }
.blog-featured:hover h3 { color: var(--accent-gold) !important; }

.blog-side-card { transition: all 0.2s ease; border: 1px solid var(--border-dark); cursor: pointer; background-color: var(--surface-dark); display: flex; flex-direction: column; }
.blog-side-card:hover { border-color: rgba(197, 160, 89, 0.4); background-color: var(--surface-darker); }
.blog-side-card-category { color: var(--primary); }
.blog-side-card h3 { transition: color 0.2s ease; } /* Updated from h4 to h3 based on previous HTML optimization */
.blog-side-card:hover h3 { color: var(--accent-gold) !important; }
.blog-side-card .arrow-icon { transition: transform 0.3s ease, color 0.3s ease; }
.blog-side-card:hover .arrow-icon { transform: translate(4px, -4px); color: var(--accent-gold) !important; }

.btn-show-all { border: 1px solid var(--border-dark); color: var(--text-light-gray); background-color: transparent; }
.btn-show-all:hover { border-color: var(--accent-gold); color: var(--accent-gold) !important; background-color: rgba(197, 160, 89, 0.05); }

/* Contact Section */
.contact-bg-overlay { position: absolute; top: 0; right: 0; width: 66%; height: 100%; background: linear-gradient(to left, var(--primary-deep), transparent); opacity: 0.5; pointer-events: none; }
.contact-form-line { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--accent-gold), transparent); }
.form-input { background-color: var(--surface-darker); border: 1px solid var(--border-dark); color: #fff; padding: 0.85rem 1rem; border-radius: 0.125rem; width: 100%; transition: all 0.3s ease; font-size: 0.9rem; }
.form-input:focus { border-color: var(--accent-gold); outline: none; background-color: var(--bg-dark); box-shadow: 0 0 0 1px var(--accent-gold); }
.form-input::placeholder { color: #4b5563; }

.contact-info-block .icon-box { transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.contact-info-block:hover .icon-box { background-color: var(--accent-gold) !important; color: var(--bg-dark) !important; transform: scale(1.1); box-shadow: 0 0 20px rgba(197, 160, 89, 0.4); }
.hover-gold { transition: color 0.3s ease; }
.contact-info-block:hover .hover-gold, .hover-gold:hover { color: var(--accent-gold) !important; }

.form-submit-btn { transition: all 0.3s ease; position: relative; border: none; }
.form-submit-btn:hover { box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); transform: translateY(-2px); }
.form-submit-btn .material-symbols-outlined { transition: transform 0.3s ease; }
.form-submit-btn:hover .material-symbols-outlined { transform: translate(4px, 0px); }

/* Footer */
.footer-link { color: var(--accent-champagne); font-size: 0.85rem; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.footer-link:hover { color: var(--accent-gold); transform: translateX(4px); }
.footer-link span.dash { width: 0; height: 1px; background: var(--accent-gold); transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); display: inline-block; }
.footer-link:hover span.dash { width: 12px; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--accent-champagne); background: transparent; display: flex; align-items: center; justify-content: center; color: var(--accent-champagne); transition: all 0.3s ease; text-decoration: none; }
.social-btn:hover { background-color: var(--accent-gold); color: var(--bg-dark); border-color: var(--accent-gold); transform: translateY(-4px); box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3); }

/* Masaüstü ve Tablet (md, lg, xl) için 2 kolona bölme kuralları */
@media (min-width: 768px) {
    .footer-practice-list.split-5 {
        display: grid;
        grid-template-rows: repeat(5, auto);
        grid-auto-flow: column;
        column-gap: 2rem;
        row-gap: 1rem;
    }
    .footer-practice-list.split-equal {
        column-count: 2;
        column-gap: 2rem;
        display: block;
    }
    .footer-practice-list.split-equal li {
        margin-bottom: 1rem;
        break-inside: avoid;
    }
}

/* Mobil cihazlar (sm ve xs) için listeyi her zaman alt alta (tek kolon) dizme kuralı */
@media (max-width: 767.98px) {
    .footer-practice-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .footer-practice-list li {
        margin-bottom: 0 !important;
    }
}

/* Animations */
@keyframes pulse-gold { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.animate-pulse-gold { animation: pulse-gold 2s infinite; }

/* -----------------------------------------------------------
   PAGE HEADERS
----------------------------------------------------------- */
.page-header-section {
    position: relative;
    background-color: var(--surface-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 7rem 0 5rem 0; /* Üstten ve alttan geniş boşluk */
    overflow: hidden;
}

/* Sayfa Ortasındaki Zümrüt Yeşili Parlama (Glow) Efekti */
.glow-effect-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-color: rgba(6, 78, 59, 0.2); /* var(--primary-dark) %20 opaklık */
    border-radius: 50%;
    filter: blur(120px); /* Işığı dağıtma efekti */
    pointer-events: none;
    z-index: 0;
}

/* -----------------------------------------------------------
   FAQ ACCORDION (Karanlık Tema ve Premium Geçişler)
----------------------------------------------------------- */
.faq-accordion .accordion-item {
    background-color: var(--surface-dark);
    border: 1px solid var(--border-dark);
    margin-bottom: 1rem;
    border-radius: 0.25rem !important; /* Keskin/Hafif yuvarlak köşeler */
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-accordion .accordion-item:hover {
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.faq-accordion .accordion-button {
    background-color: var(--surface-dark);
    color: #e2e8f0;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    padding: 1.25rem 1.5rem;
    box-shadow: none !important; /* Bootstrap'in mavi odak çerçevesini kaldırır */
    transition: all 0.3s ease;
}

/* Akordeon Açıkken Başlık Durumu */
.faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--surface-darker);
    color: var(--accent-gold);
    border-bottom: 1px solid var(--border-dark);
}

/* Bootstrap'in varsayılan SVG okunun rengini beyaza/sarıya çeviren filtre hilesi */
.faq-accordion .accordion-button::after {
    filter: invert(1) grayscale(100%) brightness(200%);
    transition: transform 0.3s ease;
}

/* Ok açıkken Altın Sarısı (Accent Gold) tonuna yaklaşması için filtre */
.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(70%) sepia(40%) saturate(600%) hue-rotate(5deg) brightness(95%) contrast(90%);
}

.faq-accordion .accordion-body {
    background-color: var(--surface-darker);
    color: var(--text-light-gray);
    line-height: 1.8;
    padding: 1.5rem;
    font-size: 0.95rem;
}

/* -----------------------------------------------------------
   ABOUT US PAGE SPECIFICS
----------------------------------------------------------- */
/* Alt Sayfa Hero Yüksekliği */
.hero-inner {
    min-height: 60vh !important;
}

/* Tarihçe (Timeline) Bileşeni */
.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-dark) 20%, var(--border-dark) 80%, transparent);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-dot-wrapper {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

.timeline-dot-wrapper.primary {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.timeline-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--accent-gold);
    border-radius: 50%;
}

.timeline-dot.primary {
    background-color: var(--primary);
}

/* Mobil Timeline Düzenlemesi */
@media (max-width: 767.98px) {
    .timeline-line {
        left: 1rem;
        transform: none;
    }
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        position: relative;
    }
    .timeline-content {
        width: 100% !important;
        padding-left: 3.5rem !important;
        margin-top: -1.5rem;
        text-align: left !important;
    }
    .timeline-dot-wrapper {
        position: absolute;
        left: 1rem;
        transform: translateX(-50%);
    }
}

/* Harita / Etki Alanı Görseli */
.map-container {
    position: relative;
    height: 400px;
    width: 100%;
    background-color: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-dot-wrapper {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-dot-ping {
    position: absolute;
    display: inline-flex;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.75;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.map-dot {
    position: relative;
    display: inline-flex;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: var(--primary);
}

@keyframes ping {
    75%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* -----------------------------------------------------------
   PRACTICE AREAS LISTING PAGE SPECIFICS
----------------------------------------------------------- */
/* Yatay Slider Kartlarının Grid (Izgara) Versiyonu */
.practice-grid-card {
    height: 420px;
    position: relative;
    border-radius: 0.25rem;
    border: 1px solid var(--border-dark);
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
    background-color: var(--surface-darker);
    display: block; /* Link olarak kullanılacağı için */
    text-decoration: none !important;
}

.practice-grid-card .bg-image-cover {
    filter: grayscale(100%) contrast(1.1);
    opacity: 0.1;
    mix-blend-mode: luminosity;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.practice-grid-card:hover {
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 0 50px rgba(6, 78, 59, 0.2);
}

.practice-grid-card:hover .bg-image-cover {
    filter: grayscale(100%) contrast(1.1);
    opacity: 0.4;
    mix-blend-mode: normal;
    transform: scale(1.05);
}

.practice-grid-card:hover .practice-overlay {
    opacity: 0.85;
}

.practice-grid-card h3 {
    transition: transform 0.3s;
}

.practice-grid-card:hover h3 {
    transform: translateX(8px);
    color: var(--accent-gold) !important;
}

.practice-grid-card .arrow-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.practice-grid-card:hover .arrow-icon {
    transform: translate(4px, -4px);
    color: var(--accent-gold) !important;
}

/* -----------------------------------------------------------
   SERVICE DETAIL PAGE SPECIFICS
----------------------------------------------------------- */
/* Kullanıcıyla Birlikte Kayan Kenar Çubuğu */
.sticky-sidebar {
    position: sticky;
    top: 120px;
    z-index: 10;
}

/* Şık Altın İkonlu Hizmet Listesi */
.service-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detail-list li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.service-detail-list li .icon-bullet {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-gold);
    background-color: rgba(197, 160, 89, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Kenar Çubuğu Link Menüsü */
.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-dark);
    color: var(--text-light-gray);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    font-size: 0.95rem;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: var(--surface-darker);
    color: var(--accent-gold) !important;
    padding-left: 2rem;
    border-left: 3px solid var(--accent-gold);
}

.sidebar-link:last-child {
    border-bottom: none;
}

/* Kenar Çubuğu Premium CTA Fligranı */
.sidebar-cta-watermark {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 180px;
    height: 180px;
    transform: rotate(25deg);
    opacity: 0.05; /* Çok hafif bir siliklik */
    color: #ffffff;
    pointer-events: none;
    z-index: 0;
}

/* -----------------------------------------------------------
   BLOG LISTING & SIDEBAR SPECIFICS
----------------------------------------------------------- */
/* Resimli Modern Blog Kartı */
.blog-card {
    background-color: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 0.25rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    border-color: rgba(197, 160, 89, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.blog-card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-dark);
}

.blog-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img-wrapper img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Sidebar Widget Yapısı */
.sidebar-widget {
    background-color: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 0.25rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    color: var(--text-light-gray);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.category-list a:hover {
    color: var(--accent-gold);
    padding-left: 0.5rem;
}

.category-count {
    background-color: var(--surface-darker);
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    border: 1px solid var(--border-dark);
}

/* Tailwind Tipi Sayfalama (Pagination) */
.custom-pagination {
    gap: 0.5rem;
}

.custom-pagination .page-item .page-link {
    border-radius: 0.25rem !important;
    border: 1px solid var(--border-dark);
    background-color: var(--surface-dark);
    color: var(--text-light-gray);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: var(--font-sans);
    font-weight: 600;
    transition: all 0.3s ease;
}

.custom-pagination .page-item:not(.active) .page-link:hover {
    background-color: var(--surface-darker);
    color: var(--accent-gold);
    border-color: rgba(197, 160, 89, 0.4);
}

.custom-pagination .page-item.active .page-link {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-dark);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

.custom-pagination .page-link:focus {
    box-shadow: none;
}

/* -----------------------------------------------------------
   BLOG DETAIL (ARTICLE) PAGE SPECIFICS
----------------------------------------------------------- */
/* Makale Gövdesi Tipografisi */
.article-body p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: white;
    margin-bottom: 1.5rem;
}

.article-body h2 {
    color: var(--accent-gold);
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-body h3 {
    color: var(--primary);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body h4 {
    color: var(--accent-champagne);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body ul {
    margin-bottom: 2rem;
    padding-left: 1.2rem;
}

.article-body li {
    color: white;
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.article-body li::marker {
    color: var(--accent-gold);
}

/* Özel Alıntı (Blockquote) Tasarımı */
.article-body blockquote {
    border-left: 3px solid var(--accent-gold);
    padding: 2rem;
    background-color: rgba(197, 160, 89, 0.05);
    border-radius: 0 0.55rem 0.55rem 0;
    margin: 2.5rem 0;
    position: relative;
}

.article-body blockquote p {
    font-style: italic;
    color: var(--accent-champagne);
    margin-bottom: 0;
}

.article-body blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 5rem;
    color: rgba(197, 160, 89, 0.1);
    font-family: var(--font-serif);
    line-height: 1;
}

/* Paylaşım Butonları */
.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--surface-darker);
    border: 1px solid var(--border-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light-gray);
    transition: all 0.3s ease;
}

.share-btn:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

/* Yazar Kutusu (Sidebar) */
.author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
    padding: 3px;
}

/* -----------------------------------------------------------
   CONTACT PAGE SPECIFICS
----------------------------------------------------------- */
.google-maps-iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 0.25rem;
    /* Efsanevi Dark Mode Harita Hilesi */
    filter: grayscale(100%) invert(92%) contrast(1.2);
    transition: all 0.3s ease;
}

.google-maps-iframe:hover {
    filter: grayscale(80%) invert(92%) contrast(1.2);
}

/* -----------------------------------------------------------
   AJAX FORM MESSAGE OVERLAY
----------------------------------------------------------- */
.form-message-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Saydam koyu arka plan */
    background-color: rgba(18, 20, 24, 0.85);
    /* Arka planı bulanıklaştırma (translucent effect) */
    backdrop-filter: blur(8px);
    display: none; /* Varsayılan olarak gizli */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 50;
    border-radius: 4px; /* Form sarmalayıcının border-radius'una uygun */
    transition: all 0.4s ease;
    text-align: center;
    padding: 2rem;
}

/* Sayfa yenilenmesinde görünmemesini garantilemek için CSS ID ile ezme */
#formMessageOverlay {
    display: none;
}

/* JS ile 'show' klası eklendiğinde göster */
.form-message-overlay.show {
    display: flex !important; /* display: flex olarak göster */
}

/* İkon Sarmalayıcısı */
.form-message-overlay .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 3rem; /* Daha büyük ikon */
    background-color: rgba(255, 255, 255, 0.1); /* Hafif beyaz saydamlık */
    color: white;
}

/* Başlık */
.form-message-overlay h3 {
    color: white !important;
    font-size: 1.75rem; /* Daha okunaklı */
    font-weight: 600;
}

/* Açıklama Metni */
.form-message-overlay p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1rem;
    max-width: 350px;
    lh: 1.6;
}

/* 2. Başarı Durumu: Şık Saydam Yeşil Arka Plan */
.overlay-success {
    background-color: rgba(16, 185, 129, 0.95) !important; /* Premium Yeşil */
}

/* 3. Hata Durumu: Şık Saydam Kırmızı Arka Plan */
.overlay-error {
    background-color: rgba(239, 68, 68, 0.95) !important; /* Premium Kırmızı */
}

@media (max-width: 991.98px) {
    /* 1. Menüyü hapseden bulanıklık (blur) efektini kapat ki Offcanvas özgür kalsın */
    .navbar {
        backdrop-filter: none !important;
        background-color: var(--bg-dark) !important;
    }

    /* 2. G-5 sınıfının yarattığı -24px taşmayı matematiksel olarak sıfırla (Hayalet boşluk biter) */
    .container .row, .container-fluid .row {
        --bs-gutter-x: 1.5rem !important;
    }

    /* 3. Sticky (yapışkan) menüyü bozmamak için sadece içerik alanlarını kısıtla */
    main, footer {
        overflow-x: hidden !important;
        width: 100%;
    }
}