﻿/*!

* =====================================================
* Proje: BTR Yazılım Hukuk Script
* Website: https://www.btryazilim.com
*
* Geliştirici: Mehmet Biter
* Marka: BTR Yazılım
*
* Açıklama:
* Bu CSS veya JS dosyası, BTR Yazılım tarafından geliştirilen
* web scriptine aittir. Tasarım ve stil düzenlemeleri
* bu dosya üzerinden yönetilmektedir.
*
* Tüm hakları saklıdır © Mehmet Biter
* İzinsiz kopyalanması, dağıtılması veya kullanılması
* yasaktır.
* =====================================================
*/

/* ============================================
   Hukuk & Avukatlık — Frontend CSS
   Palette: oxblood burgundy + ink charcoal + brass accent
   Type: Source Serif 4 (display) / Public Sans (body) / IBM Plex Mono (data)
   ============================================ */

:root {
  --ink: #14181f;
  --charcoal: #1e232b;
  --stone: #6b6f76;
  --stone-light: #9a9ea4;
  --mist: #f0efec;
  --paper: #fbfaf8;
  --white: #fff;
  --border: #e2ded8;

  --burgundy: #7a1f2b;
  --burgundy-deep: #591620;
  --burgundy-tint: #f6ebec;
  --brass: #a9812f;
  --brass-deep: #8a6a22;

  /* backwards-compat aliases used across templates */
  --primary: var(--burgundy);
  --primary-dark: var(--burgundy-deep);
  --dark: var(--charcoal);
  --dark2: var(--ink);
  --text: #3d4048;
  --light-bg: var(--mist);

  --shadow: 0 1px 2px rgba(20,24,31,0.06), 0 14px 34px rgba(20,24,31,0.09);
  --radius: 2px;
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body { font-family: 'Public Sans', sans-serif; color: var(--text); line-height: 1.7; font-size: 15.5px; overflow-x: hidden; background: var(--paper); }

h1, h2, h3, h4, h5, h6 { font-family: 'Source Serif 4', Georgia, serif; text-wrap: balance; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--burgundy); }

img { max-width: 100%; height: auto; }

.py-80 { padding: 88px 0; }

.mono, .stat-number, .slide-counter, .news-date, .project-year { font-family: 'IBM Plex Mono', monospace; font-variant-numeric: tabular-nums; }

/* Section Header */
.section-header { margin-bottom: 3.25rem; }
.section-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--burgundy); font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.section-tag::before { content: ''; width: 28px; height: 1px; background: var(--brass); display: inline-block; }
.section-header h2 { font-size: 2.4rem; font-weight: 600; color: var(--ink); line-height: 1.25; }

/* Top Bar */
.top-bar { background: var(--ink); color: #b8bac0; font-size: 13px; padding: 9px 0; letter-spacing: 0.2px; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top-bar a { color: #b8bac0; }
.top-bar a:hover { color: var(--brass); }
.top-bar i { margin-right: 5px; color: var(--brass); }

/* Language Switcher */
.lang-switcher { display: flex; gap: 4px; align-items: center; border-left: 1px solid rgba(255,255,255,0.14); padding-left: 18px; margin-left: 2px; }
.lang-switcher .lang-btn { color: #9a9ea4; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-weight: 600; padding: 3px 8px; letter-spacing: 0.3px; transition: var(--transition); }
.lang-switcher .lang-btn:hover, .lang-switcher .lang-btn.active { background: var(--brass); color: #fff; }

/* Navbar */
.main-nav { background: var(--white) !important; box-shadow: 0 1px 0 var(--border); padding: 10px 0; z-index: 1000; }
.navbar-brand .logo-text { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.45rem; font-weight: 600; color: var(--ink); letter-spacing: 0.1px; }
.navbar-brand .logo-text span { color: var(--burgundy); }
.site-logo { max-height: 50px; }
.main-nav .nav-link { color: var(--ink) !important; font-weight: 500; font-size: 14.5px; letter-spacing: 0.1px; padding: 8px 12px !important; position: relative; white-space: nowrap; }
.main-nav .nav-link::after { content: ''; position: absolute; bottom: 0; left: 12px; right: 12px; height: 2px; background: var(--brass); transform: scaleX(0); transition: var(--transition); }
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .dropdown-menu { border: 0; box-shadow: var(--shadow); border-radius: 0; border-top: 2px solid var(--burgundy); min-width: 230px; padding: 6px 0; }
.main-nav .dropdown-item { font-size: 14px; padding: 10px 20px; transition: var(--transition); }
.main-nav .dropdown-item:hover { background: var(--burgundy-tint); color: var(--burgundy); padding-left: 24px; }
.btn-primary { background: var(--burgundy) !important; border-color: var(--burgundy) !important; color: #fff !important; font-weight: 600; }
.btn-primary:hover { background: var(--burgundy-deep) !important; border-color: var(--burgundy-deep) !important; }
.btn-outline-primary { border-color: var(--burgundy) !important; color: var(--burgundy) !important; }
.btn-outline-primary:hover { background: var(--burgundy) !important; color: #fff !important; }

/* Hero Slider */
.hero-slider { position: relative; height: 100vh; min-height: 600px; background: var(--ink); }
.hero-swiper { width: 100%; height: 100%; }
.swiper-slide { position: relative; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 6s ease; }
.swiper-slide-active .slide-bg { transform: scale(1.05); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(20,24,31,0.90) 0%, rgba(122,31,43,0.55) 100%); }
.slide-content { position: relative; z-index: 2; padding: 0; color: #fff; max-width: 680px; margin-top: 15vh; }
.slide-content::before { content: ''; display: block; width: 64px; height: 2px; background: var(--brass); margin-bottom: 22px; }
.slide-number { font-family: 'IBM Plex Mono', monospace; font-size: 2.6rem; font-weight: 500; color: var(--brass); opacity: 0.85; line-height: 1; margin-bottom: 10px; }
.slide-content h1 { font-family: 'Source Serif 4', Georgia, serif; font-size: 3.4rem; font-weight: 600; line-height: 1.18; margin-bottom: 22px; }
.slide-content p { font-size: 1.1rem; margin-bottom: 32px; opacity: 0.88; font-weight: 300; }
.btn-slide { border: 1px solid rgba(255,255,255,0.6); color: #fff; padding: 13px 34px; font-weight: 600; letter-spacing: 1px; border-radius: 0; text-transform: uppercase; font-size: 12.5px; transition: var(--transition); }
.btn-slide:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.slide-counter { position: absolute; bottom: 50px; right: 60px; color: #fff; z-index: 2; font-size: 1.2rem; font-weight: 500; }
.slide-counter .current { color: var(--brass); font-size: 1.8rem; }
.slide-counter .separator { margin: 0 8px; opacity: 0.5; }
.hero-swiper .swiper-button-prev, .hero-swiper .swiper-button-next { color: #fff; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); width: 48px; height: 48px; border-radius: 0; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.hero-swiper .swiper-button-prev::after, .hero-swiper .swiper-button-next::after { display: none; }
.hero-swiper .swiper-button-prev:hover, .hero-swiper .swiper-button-next:hover { background: var(--brass); border-color: var(--brass); }
.hero-swiper .swiper-button-prev i, .hero-swiper .swiper-button-next i { font-size: 1.2rem; }
.hero-pagination { bottom: 30px !important; }
.hero-pagination .swiper-pagination-bullet { background: #fff; opacity: 0.4; width: 7px; height: 7px; border-radius: 0; }
.hero-pagination .swiper-pagination-bullet-active { background: var(--brass); opacity: 1; width: 22px; }

/* Stats Bar */
.stats-bar { background: var(--charcoal); color: #fff; }
.stat-item { padding: 28px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-item:last-child { border-right: 0; }
.stat-number { display: block; font-size: 2.1rem; font-weight: 600; line-height: 1; color: var(--brass); }
.stat-label { display: block; font-family: 'Public Sans', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; margin-top: 8px; opacity: 0.75; }

/* Service Cards */
.service-card { display: block; background: #fff; padding: 36px 30px; border: 1px solid var(--border); border-top: 2px solid transparent; transition: var(--transition); color: var(--text); }
.service-card:hover { border-top-color: var(--burgundy); box-shadow: var(--shadow); transform: translateY(-4px); color: var(--text); }
.service-icon { width: 56px; height: 56px; background: var(--burgundy-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; border-radius: 0; }
.service-icon i { font-size: 1.5rem; color: var(--burgundy); }
.service-card h4 { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; color: var(--ink); }
.service-card p { color: var(--stone); font-size: 14px; line-height: 1.7; }
.service-more { display: inline-flex; align-items: center; gap: 6px; color: var(--burgundy); font-weight: 600; font-size: 13px; margin-top: 16px; }
.service-img { width: 100%; height: 180px; object-fit: cover; margin-bottom: 20px; border-radius: 0; }

/* About Section */
.about-image-grid { position: relative; }
.about-image-grid .img-main img { width: 100%; height: 450px; object-fit: cover; }
.about-image-grid .img-secondary { position: absolute; bottom: -30px; right: -20px; width: 50%; border: 5px solid #fff; box-shadow: var(--shadow); }
.about-image-grid .img-secondary img { height: 200px; object-fit: cover; width: 100%; }
.experience-badge { position: absolute; top: 30px; left: -20px; background: var(--burgundy); color: #fff; padding: 20px; text-align: center; min-width: 100px; }
.experience-badge .num { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 2.3rem; font-weight: 600; line-height: 1; }
.experience-badge .text { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feat-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }

/* Case / Project Cards */
.project-card { display: block; color: var(--text); overflow: hidden; background: #fff; border: 1px solid var(--border); transition: var(--transition); }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: var(--text); border-color: var(--burgundy); }
.project-img { position: relative; overflow: hidden; height: 250px; background: var(--ink); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--charcoal), var(--ink)); }
.project-card:hover .project-img img { transform: scale(1.06); }
.project-overlay { position: absolute; inset: 0; background: rgba(122,31,43,0.88); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.project-card:hover .project-overlay { opacity: 1; }
.view-btn { width: 56px; height: 56px; border: 1px solid rgba(255,255,255,0.7); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; }
.project-info { padding: 22px; }
.project-info h5 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.project-info p { color: var(--stone); font-size: 13px; margin-bottom: 10px; }
.project-year { font-size: 12px; color: var(--brass); font-weight: 600; }
.project-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.filter-btn { padding: 9px 22px; border: 1px solid var(--border); background: #fff; color: var(--text); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }

/* Team Cards */
.team-card { background: #fff; border: 1px solid var(--border); overflow: hidden; text-align: center; transition: var(--transition); }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--burgundy); }
.team-photo { height: 280px; overflow: hidden; background: var(--mist); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-avatar { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--mist); }
.team-avatar i { font-size: 4rem; color: var(--stone-light); }
.team-info { padding: 20px; }
.team-info h5 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.team-info .position { color: var(--burgundy); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.team-email { display: inline-flex; width: 34px; height: 34px; background: var(--burgundy); color: #fff; border-radius: 50%; align-items: center; justify-content: center; margin-top: 12px; font-size: 14px; }
.team-social a { display: inline-flex; width: 32px; height: 32px; background: var(--mist); border-radius: 50%; align-items: center; justify-content: center; margin: 0 3px; font-size: 13px; color: var(--ink); transition: var(--transition); }
.team-social a:hover { background: var(--burgundy); color: #fff; }

/* News Cards */
.news-card { display: block; color: var(--text); background: #fff; border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); border-color: var(--burgundy); }
.news-img { height: 220px; overflow: hidden; background: var(--mist); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--mist); color: var(--stone-light); font-size: 3rem; }
.news-body { padding: 22px; }
.news-date { font-size: 12px; color: var(--stone); margin-bottom: 10px; }
.news-body h5 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; margin-bottom: 10px; color: var(--ink); line-height: 1.4; }
.news-body p { font-size: 14px; color: var(--stone); }
.read-more { color: var(--burgundy); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; }

/* CTA Section */
.cta-section { background: var(--charcoal); background-image: linear-gradient(120deg, var(--charcoal) 0%, var(--ink) 100%); padding: 64px 0; color: #fff; border-top: 2px solid var(--brass); }
.cta-inner h3 { font-size: 1.85rem; font-weight: 600; margin-bottom: 10px; }
.cta-inner p { opacity: 0.8; }

/* Page Header */
.page-header { background: var(--charcoal); background-image: linear-gradient(120deg, var(--charcoal) 0%, var(--ink) 100%); padding: 64px 0; color: #fff; position: relative; overflow: hidden; }
.page-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--brass), transparent); }
.page-header .container { position: relative; }
.page-header h1 { font-size: 2.15rem; font-weight: 600; margin-bottom: 12px; }
.page-header .breadcrumb-item a { color: rgba(255,255,255,0.65); }
.page-header .breadcrumb-item a:hover { color: var(--brass); }
.page-header .breadcrumb-item.active { color: var(--brass); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.35); }

/* Contact */
.contact-info-box { background: var(--charcoal); color: #fff; padding: 42px; height: 100%; }
.contact-info-box h4 { color: #fff; margin-bottom: 26px; }
.contact-item { display: flex; gap: 15px; margin-bottom: 22px; align-items: flex-start; }
.contact-icon { width: 42px; height: 42px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon i { color: var(--brass); font-size: 1.05rem; }
.contact-item h6 { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: rgba(255,255,255,0.7); font-size: 14px; margin: 0; }
.contact-item a:hover { color: var(--brass); }
.social-btn { display: inline-flex; width: 38px; height: 38px; background: rgba(255,255,255,0.08); color: #fff; border-radius: 50%; align-items: center; justify-content: center; margin-right: 6px; transition: var(--transition); }
.social-btn:hover { background: var(--brass); color: #fff; }
.contact-form-box { background: #fff; padding: 42px; box-shadow: var(--shadow); border-top: 2px solid var(--burgundy); }
.contact-form-box h4 { color: var(--ink); margin-bottom: 26px; }
.map-container iframe { width: 100%; height: 400px; border: 0; display: block; filter: grayscale(0.3); }

/* Sidebar */
.sidebar-widget { background: #fff; padding: 26px; border: 1px solid var(--border); border-top: 2px solid var(--burgundy); }
.sidebar-widget h5 { font-weight: 600; color: var(--ink); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li { border-bottom: 1px solid var(--border); }
.sidebar-list li a { display: block; padding: 10px 0; font-size: 14px; color: var(--text); transition: var(--transition); }
.sidebar-list li a:hover, .sidebar-list li.active a { color: var(--burgundy); padding-left: 8px; }
.sidebar-cta { background: var(--charcoal); padding: 26px; text-align: center; }
.sidebar-cta h5 { color: #fff; margin-bottom: 10px; }
.sidebar-cta p { color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 16px; }

/* Content Body */
.content-body { line-height: 1.9; max-width: 68ch; }
.content-body h2, .content-body h3, .content-body h4 { color: var(--ink); margin: 25px 0 15px; font-weight: 600; }
.content-body p { margin-bottom: 15px; color: var(--text); }
.content-body img { max-width: 100%; }
.content-body ul, .content-body ol { padding-left: 25px; margin-bottom: 15px; }

/* Footer */
.site-footer { background: var(--ink); color: #9a9ea4; }
.footer-top { padding: 72px 0 40px; }
.footer-logo { max-height: 46px; filter: brightness(0) invert(1); }
.footer-logo-text { color: #fff; font-family: 'Source Serif 4', Georgia, serif; font-size: 1.35rem; font-weight: 600; margin-bottom: 16px; display: block; }
.footer-title { color: #fff; font-family: 'Source Serif 4', Georgia, serif; font-size: 1.05rem; font-weight: 600; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--brass); display: inline-block; }
.footer-widget p { font-size: 14px; line-height: 1.8; color: #7d8087; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links li a { color: #7d8087; font-size: 14px; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links li a:hover { color: var(--brass); padding-left: 5px; }
.footer-links li a i { font-size: 11px; color: var(--brass); }
.social-links a { display: inline-flex; width: 36px; height: 36px; background: rgba(255,255,255,0.06); border-radius: 50%; align-items: center; justify-content: center; margin-right: 6px; color: #9a9ea4; transition: var(--transition); }
.social-links a:hover { background: var(--brass); color: #fff; }
.newsletter-form .form-control { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: #fff; }
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.4); }
.footer-bottom { background: #0b0e13; padding: 18px 0; font-size: 13px; }
.footer-bottom a { color: #7d8087; }
.footer-bottom a:hover { color: var(--brass); }

/* Back to Top */
.back-to-top { position: fixed; bottom: 25px; right: 25px; width: 44px; height: 44px; background: var(--burgundy); color: #fff; border-radius: 0; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; box-shadow: var(--shadow); z-index: 999; opacity: 0; visibility: hidden; transition: var(--transition); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--brass); color: #fff; }

/* Focus visibility */
a:focus-visible, button:focus-visible, .filter-btn:focus-visible, .nav-link:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

/* Responsive */
@media (max-width: 1199px) {
  .main-nav .nav-link { padding: 8px 9px !important; font-size: 13.5px; }
}

@media (max-width: 991px) {
  .slide-content h1 { font-size: 2.2rem; }
  .about-image-grid .img-secondary { display: none; }
  .experience-badge { left: 10px; top: 10px; }
  .hero-slider { height: 70vh; }
  .main-nav .nav-link { padding: 12px 8px !important; }
  .main-nav .dropdown-menu { box-shadow: none; border-top: 0; border-left: 2px solid var(--burgundy-tint); margin-left: 8px; }
}

@media (max-width: 767px) {
  .py-80 { padding: 54px 0; }
  .section-header h2 { font-size: 1.65rem; }
  .slide-content h1 { font-size: 1.8rem; }
  .top-bar { display: none; }
  .hero-slider { height: 80vh; }
  .stat-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
}

@media (max-width: 576px) {
  .slide-content { margin-top: 12vh; }
  .slide-number { font-size: 2rem; }
}

/* Cookie banner */
.cookie-banner{
  position:fixed;left:0;right:0;bottom:0;z-index:90;
  background:rgba(12,31,46,.96);color:#fff;
  padding:16px 0;box-shadow:0 -8px 28px rgba(12,31,46,.25);
  transform:translateY(110%);opacity:0;transition:transform .35s ease,opacity .35s ease;
}
.cookie-banner.is-visible{transform:translateY(0);opacity:1}
.cookie-banner-inner{
  max-width:1400px;margin:0 auto;padding:0 20px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
}
.cookie-banner-text{margin:0;font-size:.92rem;line-height:1.5;flex:1;min-width:220px}
.cookie-banner-text a{color:#9fe7f0;text-decoration:underline;text-underline-offset:2px}
.cookie-banner-btn{
  flex-shrink:0;border:0;border-radius:999px;padding:10px 22px;font-weight:700;
  background:#fff;color:#222;cursor:pointer;transition:transform .15s;
}
.cookie-banner-btn:hover{transform:scale(1.03)}
body.has-cookie-banner .back-to-top{bottom:90px}
@media (max-width:576px){
  .cookie-banner-inner{flex-direction:column;align-items:stretch}
  .cookie-banner-btn{width:100%}
}
