/*
Theme Name: Hukuk Bürosu Kurumsal Tema
Theme URI: https://rehberseo.com
Author: Rehber SEO
Author URI: https://rehberseo.com
Description: Avukatlık / hukuk büroları için lacivert-altın temalı, Özelleştirici (Customizer) üzerinden tamamen yönetilebilen kurumsal WordPress teması. Uzmanlık alanları ve SSS özel içerik türleriyle yönetilir, iletişim formu mesajları panelde saklanır.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hukuk-tema
*/

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #334155;
    background-color: #f8fafc;
    overflow-x: hidden;
}
body.afd-sticky-var { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }

h1, h2, h3, h4, h5, .brand-font { font-family: 'Cinzel', serif; }

a { outline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent-gold, #d4af37); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

.brand-logo-text {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.navbar-brand:hover .brand-logo-text { color: #ffffff; }
.brand-logo-img { max-height: 48px; width: auto; }

.top-bar { background-color: #02060d; color: var(--text-muted-dark); font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.top-bar a { color: var(--text-muted-dark); text-decoration: none; transition: color 0.3s; }
.top-bar a:hover { color: var(--accent-gold); }

.navbar { background-color: var(--bg-primary); padding: 1.1rem 0; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.nav-link { color: var(--text-light) !important; font-weight: 500; font-size: 0.92rem; padding: 0.5rem 1.1rem !important; transition: all 0.3s; }
.nav-link:hover, .nav-link.active, .current-menu-item > .nav-link { color: var(--accent-gold) !important; }

.btn-consult {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b89428 100%);
    color: #000000 !important; font-weight: 700; font-size: 0.85rem; padding: 0.7rem 1.5rem; border-radius: 6px;
    text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none; display: inline-block;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25); transition: all 0.3s ease; border: none;
}
.btn-consult:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4); color: #000000 !important; }

.hero-section { background-color: var(--bg-primary); background-position: center; background-size: cover; color: #ffffff; padding: 130px 0 150px 0; }
.hero-section.has-image { background-image: linear-gradient(rgba(10, 25, 47, 0.88), rgba(10, 25, 47, 0.92)), var(--hero-image); }

.page-header { background: linear-gradient(rgba(10, 25, 47, 0.92), rgba(10, 25, 47, 0.95)), var(--hero-image, none); background-size: cover; background-position: center; color: #fff; padding: 70px 0 60px; }
.page-header .breadcrumb-custom a { color: var(--text-muted-dark); text-decoration: none; }
.page-header .breadcrumb-custom a:hover { color: var(--accent-gold); }
.page-header .breadcrumb-custom .sep { color: var(--accent-gold); margin: 0 8px; }

.search-box-wrapper { margin-top: -45px; position: relative; z-index: 100; }
.search-card { background: #ffffff; border-radius: 12px; padding: 1.25rem 1.75rem; box-shadow: 0 20px 40px rgba(10, 25, 47, 0.08); border: 1px solid rgba(212, 175, 55, 0.2); }

.section-padding { padding: 90px 0; }
.section-title { font-size: 2.25rem; font-weight: 700; color: var(--bg-primary); position: relative; display: inline-block; margin-bottom: 0.5rem; }
.title-divider { width: 80px; height: 3px; background: linear-gradient(90deg, transparent, var(--accent-gold), transparent); margin: 12px auto 0 auto; }

.modern-practice-card {
    background: #ffffff; border-radius: 16px; padding: 2.5rem 2rem; border: 1px solid rgba(15, 35, 66, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column; justify-content: space-between;
}
.modern-practice-card .card-number { position: absolute; top: 15px; right: 20px; font-size: 3rem; font-weight: 800; font-family: 'Cinzel', serif; color: rgba(10, 25, 47, 0.04); transition: color 0.4s ease; }
.modern-practice-card .icon-box {
    width: 70px; height: 70px; border-radius: 14px; background: linear-gradient(135deg, rgba(10, 25, 47, 0.05) 0%, rgba(212, 175, 55, 0.15) 100%);
    color: var(--bg-primary); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin-bottom: 1.75rem;
    transition: all 0.4s ease; border: 1px solid rgba(212, 175, 55, 0.2);
}
.modern-practice-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(10, 25, 47, 0.12); border-color: var(--accent-gold); background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 100%); }
.modern-practice-card:hover .icon-box { background: var(--bg-primary); color: var(--accent-gold); border-color: var(--bg-primary); transform: scale(1.1) rotate(-4deg); }
.modern-practice-card:hover .card-number { color: rgba(212, 175, 55, 0.15); }
.modern-practice-card .card-action { display: inline-flex; align-items: center; color: var(--bg-primary); font-weight: 700; font-size: 0.88rem; text-decoration: none; margin-top: 1.5rem; transition: all 0.3s; }
.modern-practice-card:hover .card-action { color: var(--accent-gold-hover); transform: translateX(5px); }

.contact-direct-card { background: #ffffff; border-radius: 12px; padding: 2.25rem; border: 1px solid #edf2f7; border-top: 4px solid var(--accent-gold); box-shadow: 0 10px 25px rgba(0,0,0,0.03); height: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.contact-direct-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.07); }

.accordion-button:not(.collapsed) { background-color: rgba(212, 175, 55, 0.08); color: var(--bg-primary); font-weight: 700; }
.accordion-button:focus { box-shadow: none; }

.about-figure { border-radius: 18px; overflow: hidden; box-shadow: 0 25px 50px rgba(10,25,47,0.15); border: 6px solid #ffffff; outline: 1px solid rgba(15,35,66,0.08); }
.about-figure img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-figure.placeholder { aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary)); color: var(--accent-gold); font-size: 4rem; }

.detay-icerik { font-size: 1.02rem; line-height: 1.85; color: #475569; }
.detay-icerik h2, .detay-icerik h3 { color: var(--bg-primary); margin-top: 1.5rem; }
.detay-icerik ul { padding-left: 1.25rem; }
.detay-icerik li { margin-bottom: 0.5rem; }
.detay-icon-badge { width: 90px; height: 90px; border-radius: 20px; background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary)); color: var(--accent-gold); display: flex; align-items: center; justify-content: center; font-size: 2.25rem; box-shadow: 0 15px 30px rgba(10,25,47,0.2); flex-shrink: 0; }
.diger-uzmanliklar a { display: block; padding: 0.85rem 1rem; border-radius: 8px; color: #334155; text-decoration: none; border: 1px solid #edf2f7; margin-bottom: 0.6rem; transition: all 0.25s ease; font-weight: 600; font-size: 0.92rem; }
.diger-uzmanliklar a:hover { background: var(--bg-primary); color: var(--accent-gold); border-color: var(--bg-primary); }

.iletisim-form .form-control { border-radius: 8px; border: 1px solid #e2e8f0; padding: 0.75rem 1rem; }
.iletisim-form .form-control:focus { border-color: var(--accent-gold); box-shadow: 0 0 0 0.2rem rgba(212,175,55,0.15); }
.iletisim-form label { font-weight: 600; font-size: 0.88rem; color: var(--bg-primary); margin-bottom: 0.35rem; }
.alert-basari { background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.35); color: #146c37; border-radius: 10px; padding: 1rem 1.25rem; }
.alert-hata { background: rgba(220,53,69,0.08); border: 1px solid rgba(220,53,69,0.3); color: #a52834; border-radius: 10px; padding: 1rem 1.25rem; }

.ultra-footer { background-color: var(--footer-bg); color: #f1f5f9; padding-top: 80px; position: relative; border-top: 3px solid var(--accent-gold); }
.footer-badge { display: inline-block; background: rgba(212, 175, 55, 0.15); color: var(--accent-gold); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border: 1px solid rgba(212, 175, 55, 0.3); }
.rehber-seo-badge { display: inline-flex; align-items: center; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(212, 175, 55, 0.25); padding: 6px 14px; border-radius: 8px; color: #cbd5e1; font-size: 0.8rem; margin-top: 1.25rem; transition: all 0.3s ease; }
.rehber-seo-badge a { color: var(--accent-gold); text-decoration: none; font-weight: 700; margin-left: 5px; }
.rehber-seo-badge:hover { border-color: var(--accent-gold); background: rgba(212, 175, 55, 0.08); }
.footer-heading { color: #ffffff; font-size: 1.2rem; font-weight: 700; margin-bottom: 1.75rem; position: relative; padding-bottom: 12px; letter-spacing: 0.5px; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 45px; height: 3px; background: var(--accent-gold); border-radius: 2px; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.9rem; }
.footer-nav a { color: #cbd5e1; text-decoration: none; font-size: 0.95rem; transition: all 0.3s ease; display: inline-flex; align-items: center; }
.footer-nav a:hover { color: var(--accent-gold); transform: translateX(6px); }
.social-box { display: flex; gap: 12px; margin-top: 1.5rem; flex-wrap: wrap; }
.social-pill { width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); color: #ffffff; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1.1rem; transition: all 0.3s ease; }
.social-pill:hover { background: var(--accent-gold); color: #000000; border-color: var(--accent-gold); transform: translateY(-4px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4); }
.footer-contact-item { display: flex; align-items: flex-start; margin-bottom: 1.2rem; color: #cbd5e1; font-size: 0.95rem; }
.footer-contact-item i { color: var(--accent-gold); font-size: 1.1rem; margin-right: 15px; margin-top: 3px; width: 20px; text-align: center; }
.footer-contact-item a { color: #cbd5e1; text-decoration: none; transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--accent-gold); }
.footer-bottom-bar { background: #010307; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; margin-top: 60px; font-size: 0.9rem; }

.sticky-action-bar {
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1030;
    background: #061121; border-top: 2px solid var(--accent-gold);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.4);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
}
.btn-sticky-call, .btn-sticky-whatsapp {
    font-weight: 700; border: none; border-radius: 8px; text-decoration: none;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 14px; min-height: 46px; width: 100%; transition: all 0.3s;
    white-space: nowrap; overflow: hidden; font-size: 0.92rem;
}
.btn-sticky-call { background: linear-gradient(135deg, var(--accent-gold) 0%, #b89428 100%); color: #000000 !important; }
.btn-sticky-call:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); }
.btn-sticky-whatsapp { background-color: #25D366; color: #ffffff !important; }
.btn-sticky-whatsapp:hover { background-color: #20ba5a; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
.btn-sticky-call i, .btn-sticky-whatsapp i { font-size: 1.15rem; flex-shrink: 0; }
.sticky-btn-metin { overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 420px) {
    .sticky-btn-metin { display: none; }
    .btn-sticky-call, .btn-sticky-whatsapp { padding: 10px; gap: 0; }
}

.bos-durum { text-align: center; padding: 4rem 1rem; color: #94a3b8; }
.bos-durum i { font-size: 3rem; color: #cbd5e1; margin-bottom: 1rem; display: block; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

@media (max-width: 767px) {
    .hero-section { padding: 80px 0 100px; }
    .section-padding { padding: 55px 0; }
    .section-title { font-size: 1.65rem; }
    .page-header { padding: 55px 0 45px; }
    .search-card { padding: 1rem 1.1rem; }
    .contact-direct-card, .a-card { padding: 1.5rem; }
    .detay-icon-badge { width: 64px; height: 64px; font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .hero-section { padding: 65px 0 90px; }
    .display-3 { font-size: 2.1rem; }
    .btn-consult { padding: 0.6rem 1.1rem; font-size: 0.8rem; }
    .footer-heading { font-size: 1.05rem; }
    .modern-practice-card { padding: 1.75rem 1.35rem; }
    .modern-practice-card .card-number { font-size: 2.25rem; }
}

/* Uzmanlık detay başlığı: dar ekranda ikon üstte, ortalı */
.detay-baslik-satiri { flex-wrap: wrap; }
@media (max-width: 420px) {
    .detay-baslik-satiri { flex-direction: column; text-align: center; }
}
