/* ==========================================================================
   HT HUKUK VE DANIŞMANLIK - EXECUTIVE ELEGANT COLOR PALETTE
   Reference Style: Ersan Şen & Kulaçoğlu minimalist prestige design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-accent: #184e59;
  --brand-blue: #184e59;
  --brand-blue-hover: #113840;
  --brand-blue-light: #257582;
  --primary-dark: #18181b;
  --text-dark: #1e1e24;
  --text-body: #3f3f46;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --transition-fast: all 0.25s ease;
  
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Top Bar & Header Navigation (Clean Crisp White on Subpages, Overlay on Home)
   -------------------------------------------------------------------------- */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-color);
}

/* Home Page Specific Transparent Header Overlay */
.home-page .header-sticky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
  padding-top: 12px;
}

.header-sticky .container {
  max-width: 1480px;
  padding: 0 48px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 130px;
  width: 100%;
}

.site-logo-img {
  height: 102px;
  width: auto;
  display: block;
  transition: var(--transition-fast);
}

.site-logo-img:hover {
  transform: scale(1.02);
}

.footer-logo-img {
  height: 102px;
  width: auto;
  opacity: 0.95;
  display: inline-block;
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.home-page .logo-mark {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.logo-divider {
  width: 2px;
  height: 38px;
  background-color: var(--primary-dark);
}

.home-page .logo-divider {
  background-color: rgba(255, 255, 255, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.home-page .logo-title {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.logo-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-page .logo-subtitle {
  color: #cbd5e1;
}

/* Spaced Out Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0 20px;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dark);
  letter-spacing: 0.6px;
  transition: var(--transition-fast);
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}

.home-page .nav-link {
  color: #f1f5f9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark);
}

.home-page .nav-link:hover,
.home-page .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--primary-dark);
}

.home-page .nav-link.active::after {
  background-color: #ffffff;
}

/* Right Controls (Languages) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Language Dropdown Selector */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-light);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.home-page .lang-dropdown-btn {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.lang-dropdown-btn:hover {
  background: #e2e8f0;
}

.home-page .lang-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
  margin-left: 2px;
  opacity: 0.7;
}

.lang-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 10000;
}

.home-page .lang-dropdown-menu {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-menu .lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  width: 100%;
  justify-content: flex-start;
  transition: var(--transition-fast);
  background: transparent;
  cursor: pointer;
}

.home-page .lang-dropdown-menu .lang-btn {
  color: #f1f5f9;
}

.lang-dropdown-menu .lang-btn:hover {
  background: var(--bg-light);
  color: var(--primary-dark);
}

.home-page .lang-dropdown-menu .lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.lang-dropdown-menu .lang-btn.active {
  background: rgba(139, 30, 34, 0.08);
  color: var(--primary-accent);
  font-weight: 700;
}

.home-page .lang-dropdown-menu .lang-btn.active {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-weight: 700;
}

.flag-img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: #ffffff;
  background: var(--primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.home-page .mobile-toggle {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   Page Header Banner (Clean Bright Executive Subpages)
   -------------------------------------------------------------------------- */
.page-banner {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0 50px 0;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.page-banner-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.page-breadcrumb a {
  color: var(--text-dark);
}

.page-breadcrumb a:hover {
  color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   Hero Banner / Slider Section (Home Page)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 700px;
  margin-top: 0;
  overflow: hidden;
  background-color: #18181b;
}

.hero-section .container {
  max-width: 1480px;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: flex-start;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  padding-top: 180px;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 15, 20, 0.75) 0%, rgba(15, 15, 20, 0.45) 60%, rgba(15, 15, 20, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--bg-white);
  max-width: 780px;
}

.hero-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #e2e8f0;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  padding: 6px 18px;
  border-radius: 4px;
  border-left: 3px solid #ffffff;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--brand-blue);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition-fast);
  border: 1px solid var(--brand-blue);
  box-shadow: 0 4px 14px rgba(24, 78, 89, 0.35);
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  border-color: var(--brand-blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(24, 78, 89, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
}

.slider-arrows {
  position: absolute;
  bottom: 32px;
  right: 48px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-arrow:hover {
  background: #ffffff;
  color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   General Section Layouts
   -------------------------------------------------------------------------- */
.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-white {
  background-color: var(--bg-white);
}

.section-header {
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  position: relative;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 720px;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Hakkımızda Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.feature-box {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-dark);
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.about-image-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000000;
}

.about-image-card img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 12px;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-badge-logo {
  height: 52px;
  width: auto;
  display: block;
}

.badge-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Hizmetlerimiz Section
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border: 2px solid var(--brand-blue);
  border-radius: 12px;
  padding: 32px;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(24, 78, 89, 0.08);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(24, 78, 89, 0.16);
  border-color: var(--brand-blue-light);
}

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
}

.service-icon-wrapper svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.25;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-excerpt {
  font-size: 0.94rem;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.65;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 6px;
  background-color: var(--brand-blue);
  border: 1px solid var(--brand-blue);
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(24, 78, 89, 0.25);
}

.service-btn:hover {
  background-color: var(--brand-blue-hover);
  color: #ffffff;
  border-color: var(--brand-blue-hover);
}

/* --------------------------------------------------------------------------
   Dedicated Detail Layout
   -------------------------------------------------------------------------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.detail-main {
  background: var(--bg-white);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.service-detail-box,
.article-detail-box {
  width: 100%;
}

.service-detail-icon {
  width: 72px;
  height: 72px;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.service-detail-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.25;
}

.service-detail-heading,
.article-detail-heading {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.service-detail-text,
.article-detail-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.85;
}

.service-detail-cta {
  margin-top: 40px;
  padding: 28px;
  background: var(--bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--primary-dark);
}

.service-detail-cta h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-detail-cta p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.detail-sidebar {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 28px;
  height: fit-content;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-dark);
}

.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-light);
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.sidebar-list li a:hover,
.sidebar-list li a.active {
  background: var(--primary-dark);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Team Section
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.team-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  transition: var(--transition-fast);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.team-img-wrapper {
  width: 40%;
  position: relative;
  min-height: 280px;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  width: 60%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-role {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-dark);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.55;
}

.team-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 4px;
  align-self: flex-start;
  transition: var(--transition-fast);
}

.team-contact-btn:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   Articles Section
   -------------------------------------------------------------------------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-header-tag {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin: 20px 20px 0 20px;
  border-radius: 4px;
  align-self: flex-start;
}

.article-body {
  padding: 16px 20px 24px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.article-link:hover {
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Online Consultation
   -------------------------------------------------------------------------- */
.consultation-box {
  background: var(--bg-white);
  border: 2px solid var(--brand-blue);
  border-radius: 12px;
  padding: 48px;
  color: var(--text-dark);
  box-shadow: 0 6px 20px rgba(24, 78, 89, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.consultation-cta-action {
  text-align: right;
}

.consultation-info h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.consultation-info p {
  color: var(--text-body);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.65;
}

.consultation-badge-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.c-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.c-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
  font-weight: 700;
}

.consultation-form-wrapper {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  color: var(--text-dark);
}

.consultation-form-wrapper h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-dark);
  background-color: var(--bg-white);
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(24, 78, 89, 0.15);
}

.btn-wpa {
  width: 100%;
  background-color: #25d366;
  color: #ffffff;
  padding: 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-fast);
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-wpa:hover {
  background-color: #1eb956;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Contact Section & Flag Badges
   -------------------------------------------------------------------------- */
.contact-section-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  padding: 10px 0;
}

.contact-main-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-item-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.contact-item-value {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.contact-item-value a {
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition-fast);
}

.contact-item-value a:hover {
  color: var(--primary-dark);
}

/* Flag badges for DİLLER */
.contact-item-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: var(--transition-fast);
}

.flag-badge:hover {
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.map-container {
  width: 100%;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.newsletter-section {
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
  margin-top: 60px;
  text-align: center;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-input {
  padding: 12px 18px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.9rem;
  flex: 1;
  background: var(--bg-light);
}

.newsletter-btn {
  background-color: #18181b;
  color: #ffffff;
  padding: 12px 28px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  background-color: #27272a;
}

/* --------------------------------------------------------------------------
   Footer & Floating WhatsApp SVG Button
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 30px 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--text-dark);
}

.footer-copyright {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  border: 2.5px solid #ffffff;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  color: #ffffff;
  text-decoration: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.whatsapp-float:active {
  cursor: grabbing;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  display: block;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.65);
}

/* Mobile Drawer elements - Hidden on Desktop */
.mobile-drawer-header,
.mobile-drawer-footer {
  display: none !important;
}

/* Comprehensive Mobile & Responsive Rules */
@media (max-width: 1200px) {
  .header-sticky .container,
  .hero-section .container,
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-menu {
    gap: 16px;
  }
}

@media (max-width: 992px) {
  .top-bar-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .top-bar-info {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff !important;
    box-shadow: var(--shadow-sm);
  }

  .home-page .header-sticky {
    background: transparent !important;
  }

  .navbar {
    height: 100px;
    gap: 8px;
  }

  .site-logo-img {
    height: 84px;
    max-width: 300px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .lang-dropdown-btn {
    padding: 5px 10px;
    font-size: 0.76rem;
  }

  .header-container {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-toggle,
  .home-page .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    flex-shrink: 0;
    background: #18181b !important;
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    z-index: 1001;
  }

  .mobile-toggle:hover {
    background: #8b1e22 !important;
  }

  /* Full-Screen Side Slide-In Drawer Mobile Menu */
  body.menu-open {
    overflow: hidden !important;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    background: #0b1120 !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    padding: 20px 24px 32px 24px;
    gap: 6px;
    z-index: 999999;
    transform: translateX(105%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s ease;
    box-shadow: none;
    overflow-y: auto;
    margin: 0 !important;
  }

  .nav-menu.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
  }

  .nav-menu li {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .mobile-drawer-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-drawer-title img {
    height: 72px;
    width: auto;
  }

  .mobile-drawer-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-drawer-close:hover {
    background: #8b1e22;
    border-color: #8b1e22;
  }

  .nav-link,
  .home-page .nav-link {
    color: #f1f5f9 !important;
    padding: 14px 18px;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    text-shadow: none !important;
  }

  .nav-link::after {
    content: '→';
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .nav-link:hover,
  .nav-link.active,
  .home-page .nav-link:hover,
  .home-page .nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(139, 30, 34, 0.45) 0%, rgba(139, 30, 34, 0.15) 100%) !important;
    border-color: rgba(139, 30, 34, 0.6) !important;
    border-left: 4px solid #c5a059 !important;
    font-weight: 700;
  }

  .nav-link.active::after,
  .nav-link:hover::after {
    color: #c5a059;
    transform: translateX(4px);
  }

  .mobile-drawer-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-drawer-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #8b1e22 0%, #a8262b 100%);
    color: #ffffff;
    font-weight: 700;
    border-radius: 12px;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(139, 30, 34, 0.4);
    transition: all 0.25s ease;
  }

  .mobile-drawer-contact-btn:hover {
    background: linear-gradient(135deg, #a8262b 0%, #8b1e22 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 30, 34, 0.6);
  }

  .drawer-lang-buttons {
    display: flex;
    gap: 8px;
    justify-content: space-between;
  }

  .drawer-lang-buttons .lang-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .drawer-lang-buttons .lang-btn.active,
  .drawer-lang-buttons .lang-btn:hover {
    background: #c5a059 !important;
    color: #0f172a !important;
    border-color: #c5a059 !important;
  }

  .hero-section {
    padding: 60px 0 40px 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .about-grid,
  .services-grid,
  .team-grid,
  .articles-grid,
  .consultation-box,
  .contact-section-wrapper,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-image-card {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }

  .about-image-card img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    border-radius: 12px;
  }

  .consultation-cta-action {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .team-card {
    flex-direction: column;
  }

  .team-img-wrapper {
    width: 100% !important;
    height: 360px !important;
    min-height: 360px !important;
  }

  .team-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
  }

  .team-info {
    width: 100% !important;
    padding: 24px 20px !important;
  }

  .detail-main,
  .detail-sidebar {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .site-logo-img {
    height: 72px;
    max-width: 250px;
  }


  .hero-title {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .top-bar-info span:nth-child(2) {
    display: none; /* Hide hours on very small screens for clean top bar */
  }

  .logo-img {
    height: 48px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float img {
    width: 52px;
    height: 52px;
  }
}
