/* ================================================================
   Avukat Tema — Tam CSS (Bootstrap 5 + FA 6 üstüne)
   ================================================================ */

/* ── Değişkenler ─────────────────────────────────────────────── */
:root {
  --color1:       #b1966a;   /* birincil  — altın kahve      */
  --color2:       #3d2b15;   /* ikincil   — derin espresso   */
  --color1-rgb:   177,150,106;
  --color2-rgb:   61,43,21;
  --header-top:   #1a1008;   /* üst şerit — çok koyu kahve   */
  --header-nav:   #2c1c0d;   /* nav bar   — koyu çikolata    */
  --transition:   .3s ease;
  --shadow:       0 4px 20px rgba(0,0,0,.10);
}

/* ── Temel ───────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; font-size: 15px; color: #444; line-height: 1.7; overflow-x: hidden;
       min-height: 100vh; display: flex; flex-direction: column; }
#wrapper { flex: 1; display: flex; flex-direction: column; }
#wrapper > #header { flex-shrink: 0; }
#wrapper > #footer { flex-shrink: 0; margin-top: auto; }
a { color: var(--color1); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color2); }
img { max-width: 100%; height: auto; }
.clearfix::after { content: ''; display: table; clear: both; }

/* ── Renk yardımcıları ───────────────────────────────────────── */
.bg-theme-colored1    { background-color: var(--color1) !important; }
.bg-theme-colored2    { background-color: var(--color2) !important; }
.bg-light-gray        { background-color: #f5f6f8 !important; }
.bg-black-333         { background-color: #333 !important; }
.text-theme-colored1  { color: var(--color1) !important; }
.text-theme-colored2  { color: var(--color2) !important; }
.text-white-50        { color: rgba(255,255,255,.6) !important; }

/* ── Boşluk yardımcıları (Bootstrap !important olmadan eksik olanlar) */
.mb-5  { margin-bottom:  5px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-15 { margin-bottom: 15px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mb-50 { margin-bottom: 50px !important; }
.mb-60 { margin-bottom: 60px !important; }
.mt-10 { margin-top: 10px !important; }
.mt-15 { margin-top: 15px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.me-15 { margin-right: 15px !important; }
.p-30  { padding: 30px !important; }
.font-55 { font-size: 55px !important; line-height: 1; }
@media (max-width:768px) { .font-55 { font-size: 36px !important; } }

/* ── Butonlar ────────────────────────────────────────────────── */
.btn { font-weight: 600; letter-spacing: .4px; transition: all var(--transition); }
.btn-flat, .btn-flat:focus { border-radius: 0 !important; }

.btn-theme-colored1 { background: var(--color1); color: #fff; border: 2px solid var(--color1); }
.btn-theme-colored1:hover { background: transparent; color: var(--color1); border-color: var(--color1); }

.btn-theme-colored2 { background: var(--color2); color: #fff; border: 2px solid var(--color2); }
.btn-theme-colored2:hover { background: transparent; color: var(--color2); border-color: var(--color2); }

.btn-white { background: #fff; color: var(--color2); border: 2px solid #fff; }
.btn-white:hover { background: transparent; color: #fff; border-color: #fff; }

/* ── Section ─────────────────────────────────────────────────── */
.section-padding    { padding: 80px 0; }
.section-padding-sm { padding: 40px 0; }

.section-title { margin-bottom: 40px; }
.section-title .title { font-size: 2rem; font-weight: 700; color: #1a1a1a; margin-bottom: 12px; }
.bg-theme-colored1 .section-title .title { color: #fff; }

.title-divider-line {
  display: block; width: 60px; height: 3px;
  background: var(--color1); margin: 0 auto;
}
.section-title:not(.text-center) .title-divider-line,
.title-divider-line.text-left { margin-left: 0; }
.bg-theme-colored1 .title-divider-line { background: rgba(255,255,255,.5); }

/* ── Sayfa Başlık Alanı ──────────────────────────────────────── */
.page-title-area {
  padding: 50px 0;
  background: linear-gradient(135deg, var(--color1) 0%, #8a7452 100%);
}
.page-title-area h2 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.page-title-area .breadcrumb { background: transparent; padding: 0; margin: 0; }
.page-title-area .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.page-title-area .breadcrumb-item a { color: rgba(255,255,255,.75); }
.page-title-area .breadcrumb-item.active { color: rgba(255,255,255,.95); }

/* ── Header Üst Şerit ────────────────────────────────────────── */
#header { position: relative; z-index: 999; }

.header-top {
  background: var(--header-top);
  padding: 9px 0;
  font-size: 13px;
}
.header-top .contact-info {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 18px;
}
.header-top .contact-info li { color: rgba(255,255,255,.75); }
.header-top .contact-info li i { margin-right: 5px; color: var(--color1); }

.header-top-left, .header-top-right { display: flex; align-items: center; }
.header-top-right { gap: 15px; justify-content: flex-end; }
.element { display: inline-flex; align-items: center; }

/* Sosyal ikonlar */
.styled-icons { list-style: none; padding: 0; margin: 0; display: flex; gap: 5px; }
.styled-icons.icon-circled li a {
  display: flex; align-items: center; justify-content: center;
  width: 27px; height: 27px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); font-size: 11px;
  transition: all var(--transition);
}
.styled-icons.icon-circled li a:hover { background: var(--color1); color: #fff; }

/* ── Header Nav ──────────────────────────────────────────────── */
.header-nav { background: var(--header-nav); }

.header-nav-wrapper { position: relative; transition: box-shadow var(--transition); }
.header-nav-wrapper.is-sticky {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--header-nav);
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  animation: slideDown .3s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.header-nav-col-row { min-height: 68px; display: flex; align-items: center; }

/* Logo */
.menuzord-brand.site-brand { text-decoration: none; display: inline-block; }
.logo-default { max-height: 52px; width: auto; }
.site-name { font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: 1px; }

/* ── Desktop Menü ────────────────────────────────────────────── */
.menuzord-menu {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 0;
}
.menuzord-menu > li { position: relative; }
.menuzord-menu > li > a {
  display: block; padding: 12px 16px;
  color: rgba(255,255,255,.88); font-size: 13.5px;
  font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
  position: relative; transition: color var(--transition);
}
.menuzord-menu > li > a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 3px; background: var(--color1); transition: all var(--transition);
}
.menuzord-menu > li:hover > a::after,
.menuzord-menu > li.active > a::after { left: 0; right: 0; }
.menuzord-menu > li:hover > a,
.menuzord-menu > li.active > a { color: #fff; }

/* Dropdown */
.menuzord-menu > li .dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 210px; background: #fff;
  box-shadow: 0 6px 25px rgba(0,0,0,.14);
  list-style: none; padding: 8px 0; margin: 0; z-index: 200;
}
.menuzord-menu > li:hover .dropdown { display: block; }
.menuzord-menu > li .dropdown li a {
  display: block; padding: 9px 20px;
  color: #444; font-size: 13.5px; transition: all var(--transition);
}
.menuzord-menu > li .dropdown li a:hover {
  background: rgba(var(--color1-rgb),.08); color: var(--color1); padding-left: 26px;
}

/* ── Side Panel Trigger (hamburger) ──────────────────────────── */
.side-panel-trigger a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 3px;
  background: var(--color1); color: #fff; font-size: 16px;
  transition: background var(--transition);
}
.side-panel-trigger a:hover { background: #9a8058; color: #fff; }

/* ── Side Panel ──────────────────────────────────────────────── */
.side-panel-body-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 1099;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
body.side-panel-open .side-panel-body-overlay { opacity: 1; pointer-events: auto; }

#side-panel-container {
  position: fixed; top: 0; right: -320px; bottom: 0;
  width: 300px; background: #211509;
  z-index: 1100; overflow-y: auto;
  transition: right .35s ease;
}
body.side-panel-open #side-panel-container { right: 0; }

.side-panel-wrap { padding: 28px; }

#side-panel-trigger-close { text-align: right; margin-bottom: 24px; }
#side-panel-trigger-close a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; font-size: 15px;
  transition: background var(--transition);
}
#side-panel-trigger-close a:hover { background: var(--color1); }

.side-panel-wrap .widget-title {
  color: #fff; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--color1);
}

/* Side panel iletişim */
.contact-info-style1 ul { list-style: none; padding: 0; margin: 0; }
.contact-info-style1 li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px; color: rgba(255,255,255,.72);
}
.contact-info-style1 li .icon { color: var(--color1); font-size: 15px; margin-top: 2px; min-width: 18px; }
.contact-info-style1 li .text a { color: rgba(255,255,255,.72); }
.contact-info-style1 li .text a:hover { color: var(--color1); }

/* Side panel nav (mobil için) */
.side-panel-nav { list-style: none; padding: 0; margin: 0; }
.side-panel-nav li a {
  display: block; padding: 9px 0; color: rgba(255,255,255,.72); font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.07); transition: all var(--transition);
}
.side-panel-nav li a:hover { color: var(--color1); padding-left: 8px; }

/* ── Hero Slider ─────────────────────────────────────────────── */
.rev_slider_wrapper { position: relative; }

.hero-slider {
  position: relative; overflow: hidden;
  height: 580px; background: #1a1008;
}
@media (max-width:768px) { .hero-slider { height: 380px; } }

.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }

.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-slide-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.52); }

.hero-slide-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 20px; color: #fff;
}
.hero-slide-content h2 {
  font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 800;
  margin-bottom: 14px; text-shadow: 0 2px 10px rgba(0,0,0,.5);
  animation: fadeInDown .8s ease;
}
.hero-slide-content p {
  font-size: clamp(.95rem, 2.5vw, 1.25rem);
  margin-bottom: 28px; opacity: .9;
  animation: fadeInUp .8s ease .2s both;
}
.hero-slide-content .hero-btns { animation: fadeInUp .8s ease .4s both; }
.hero-slide-content .hero-btns .btn + .btn { margin-left: 10px; }

.hero-dots {
  position: absolute; bottom: 22px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer; transition: background var(--transition);
  border: 2px solid rgba(255,255,255,.3);
}
.hero-dot.active { background: var(--color1); border-color: var(--color1); }

/* Slider yokken fallback hero */
.hero-static {
  background: linear-gradient(135deg, var(--color2), #1a1008);
  padding: 100px 0; color: #fff; text-align: center;
}
.hero-static h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; }
.hero-static p { font-size: 1.2rem; opacity: .85; margin-bottom: 30px; }

/* ── Hizmet Kutusu ───────────────────────────────────────────── */
.tm-service-box, .service-box {
  transition: all var(--transition);
  border-color: #e4e4e4 !important;
}
.tm-service-box:hover, .service-box:hover {
  box-shadow: var(--shadow); border-color: var(--color1) !important;
  transform: translateY(-4px);
}
.tm-service-box .service-title, .service-box h4 {
  font-size: 1.05rem; font-weight: 700; color: #1a1a1a;
}

/* ── Sayaç Kutusu ────────────────────────────────────────────── */
.counter-box { transition: all var(--transition); }
.counter-box:hover { transform: translateY(-4px); box-shadow: var(--shadow) !important; }
.counter-box h2.counter { font-size: 2.4rem; font-weight: 800; }

/* ── Ekip ────────────────────────────────────────────────────── */
.team-member { transition: transform var(--transition); }
.team-member:hover { transform: translateY(-5px); }
.team-thumb img { border: 4px solid rgba(var(--color1-rgb),.15); }
.member-name { font-weight: 700; font-size: 1rem; }
.member-position { font-size: .85rem; }

/* ── Referans ─────────────────────────────────────────────────── */
.testimonial-box { transition: all var(--transition); }
.testimonial-box:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ── Blog Kartı ──────────────────────────────────────────────── */
.blog-post { transition: all var(--transition); }
.blog-post:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.13) !important; }
.blog-post .card-title a:hover { color: var(--color1) !important; }

/* ── Galeri ──────────────────────────────────────────────────── */
.gallery-item { overflow: hidden; border-radius: 4px; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }

/* ── İçerik (WYSIWYG) ────────────────────────────────────────── */
.post-content img, .service-content img, .page-content img {
  max-width: 100%; height: auto; border-radius: 4px; margin: 10px 0;
}
.post-content p, .service-content p, .page-content p { line-height: 1.8; color: #555; }
.post-content h2, .post-content h3,
.service-content h2, .service-content h3 { color: var(--color2); margin-top: 28px; }

/* ── Bootstrap override: list-group ─────────────────────────── */
.list-group-item.active {
  background-color: var(--color2) !important;
  border-color:     var(--color2) !important;
  color: #fff !important;
  border-left: 4px solid var(--color1) !important;
  font-weight: 600;
}
.list-group-item:not(.active) {
  border-left: 4px solid transparent;
  transition: all var(--transition);
}
.list-group-item:not(.active):hover {
  color: var(--color1);
  background-color: rgba(var(--color1-rgb), .07);
  border-left-color: var(--color1);
}

/* ── Footer ──────────────────────────────────────────────────── */
#footer { padding: 0; }
#footer a { color: rgba(255,255,255,.55); font-size: 13px; transition: color var(--transition); }
#footer a:hover { color: var(--color1); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991px) {
  .header-top { display: none; }
  .header-nav-col-row { min-height: 58px; }
  .d-none.d-lg-block { display: none !important; }
}
@media (max-width: 767px) {
  .section-padding    { padding: 50px 0; }
  .section-padding-sm { padding: 25px 0; }
  .section-title .title { font-size: 1.6rem; }
  .page-title-area { padding: 35px 0; }
  .page-title-area h2 { font-size: 1.5rem; }
}
