/* ============================================================
   ESKİ Hukuk & Danışmanlık — Ana Stil Dosyası
   ============================================================ */

:root {
  --navy: #0f1b3d;
  --navy-light: #1a2d5a;
  --navy-dark: #0a1228;
  --gold: #c9a84c;
  --gold-light: #e0c373;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #6c757d;
  --gray-700: #495057;
  --gray-900: #212529;
}

/* ---------- RESET & BASE ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--navy);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* ---------- TOP BAR ---------- */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar a {
  color: rgba(255,255,255,0.85);
}

.top-bar a:hover {
  color: var(--gold);
}

.top-bar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  margin-left: 6px;
  font-size: 0.8rem;
  transition: all 0.3s;
}

.top-bar .social-icons a:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ---------- NAVBAR ---------- */
.navbar {
  background: var(--navy) !important;
  padding: 12px 0;
  transition: all 0.3s ease;
  box-shadow: none;
}

.navbar.scrolled {
  padding: 6px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.navbar-brand img {
  height: 50px;
  transition: height 0.3s;
}

.navbar.scrolled .navbar-brand img {
  height: 40px;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  position: relative;
  letter-spacing: 0.3px;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-nav .nav-link:hover {
  color: var(--gold) !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(160deg, #0a1228 0%, var(--navy) 40%, #1a2d5a 70%, #243b6e 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-decoration {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 30%),
    linear-gradient(0deg, rgba(0,0,0,0.3) 0%, transparent 20%);
}

.hero-logo-wrapper {
  display: inline-block;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease;
}

.hero-logo {
  max-width: 180px;
  filter: drop-shadow(0 4px 30px rgba(201,168,76,0.2));
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1.2rem;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 0.5rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero .lead {
  color: var(--gold);
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero .btn-group-hero {
  animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- BUTTONS ---------- */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}

.btn-outline-light-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 4px;
}

.btn-outline-light-custom:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 4px;
}

.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15,27,61,0.3);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--gray-50);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.section-title p {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 20px auto 0;
}

/* ---------- HAKKIMIZDA ---------- */
.about-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--gray-700);
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
}

.stat-item .label {
  font-size: 0.9rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.highlight-item h5 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.highlight-item p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---------- HİZMETLER ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--gold);
  transition: all 0.4s ease;
}

.service-card:hover .icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  transform: scale(1.1);
}

.service-card h5 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.service-card .card-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-card .card-link:hover {
  color: var(--navy);
}

/* ---------- MAKALELER ---------- */
.article-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.article-card .card-img-top {
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 3rem;
}

.article-card .card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card .badge-category {
  display: inline-block;
  background: rgba(15,27,61,0.08);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

.article-card h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card h5 a {
  color: var(--navy);
}

.article-card h5 a:hover {
  color: var(--gold);
}

.article-card .card-text {
  color: var(--gray-500);
  font-size: 0.9rem;
  flex: 1;
}

.article-card .card-date {
  color: var(--gray-500);
  font-size: 0.8rem;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--gray-200);
}

/* ---------- EKİBİMİZ ---------- */
.team-card {
  text-align: center;
  padding: 30px;
}

.team-card .team-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--gold);
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--navy);
}

.team-card h5 {
  margin-bottom: 5px;
}

.team-card .title {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.team-card .bio {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ---------- İLETİŞİM ---------- */
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 40px 30px;
  height: 100%;
}

.contact-info-card h4 {
  color: var(--white);
  margin-bottom: 25px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-item .icon {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-info-item .text {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.contact-info-item .text strong {
  color: var(--white);
  display: block;
  margin-bottom: 3px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 40px 30px;
}

.contact-form .form-control {
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.contact-form .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 5px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid var(--gray-200);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer a {
  color: rgba(255,255,255,0.7);
}

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

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a::before {
  content: '›';
  margin-right: 8px;
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
}

.footer .footer-logo {
  height: 40px;
  margin-bottom: 15px;
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128c7e;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 140px 0 60px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-header .breadcrumb {
  justify-content: center;
  background: none;
  padding: 0;
  margin: 0;
}

.page-header .breadcrumb-item a {
  color: var(--gold);
}

.page-header .breadcrumb-item.active {
  color: rgba(255,255,255,0.7);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
}

/* ---------- ARTICLE DETAIL ---------- */
.article-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--gray-700);
}

.article-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.article-content h4 {
  margin-top: 25px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-left: 25px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-sidebar .toc {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 25px;
  position: sticky;
  top: 100px;
}

.article-sidebar .toc h5 {
  font-size: 1rem;
  margin-bottom: 15px;
}

.article-sidebar .toc ul {
  list-style: none;
  padding: 0;
}

.article-sidebar .toc ul li {
  margin-bottom: 8px;
}

.article-sidebar .toc ul li a {
  color: var(--gray-700);
  font-size: 0.9rem;
}

.article-sidebar .toc ul li a:hover {
  color: var(--gold);
}

/* ---------- KATEGORI FILTRELEME ---------- */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-buttons .btn-filter {
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-buttons .btn-filter:hover,
.filter-buttons .btn-filter.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ---------- RANDEVU ---------- */
.appointment-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 40px;
}

.appointment-sidebar {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 40px;
}

.appointment-sidebar h4 {
  color: var(--white);
}

.appointment-sidebar .whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 20px;
  transition: all 0.3s;
}

.appointment-sidebar .whatsapp-btn:hover {
  background: #128c7e;
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- HİZMET DETAY ---------- */
.service-detail-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--gray-700);
}

.service-detail-content h4 {
  margin-top: 25px;
  margin-bottom: 12px;
}

.service-detail-content ul {
  padding-left: 25px;
  margin-bottom: 20px;
}

.service-detail-content li {
  margin-bottom: 8px;
}

.related-services {
  background: var(--gray-50);
  border-radius: 8px;
  padding: 30px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .hero h1 { font-size: 2.2rem; }
  .hero .lead { font-size: 1.1rem; }
  .section { padding: 60px 0; }
  .section-title h2 { font-size: 1.8rem; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 767px) {
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-logo { max-width: 160px; }
  .btn-gold, .btn-outline-light-custom, .btn-navy {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  .top-bar .d-flex { flex-direction: column; text-align: center; gap: 5px; }
  .section { padding: 50px 0; }
  .section-title { margin-bottom: 40px; }
  .contact-form, .appointment-form { padding: 25px 20px; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 20px; right: 20px; }
}

/* ---------- SCROLL ANIMATION ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
