/* --- css/variables.css --- */
:root {
  --red: #CC0000;
  --red-dark: #A00000;
  --red-glow: rgba(204, 0, 0, .15);
  --navy: #0D1B2A;
  --navy-mid: #152232;
  --navy-light: #1E2F42;
  --surface: #F5F6FA;
  --surface-2: #ECEEF4;
  --white: #FFFFFF;
  --text: #1A1A2E;
  --text-mid: #374151;
  --muted: #6B7280;
  --border: #E5E7EB;
  --border-dark: #D1D5DB;
  --green: #16A34A;
  --green-bg: #F0FDF4;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(13, 27, 42, .09);
  --shadow-lg: 0 16px 56px rgba(13, 27, 42, .16);
  --transition: .2s cubic-bezier(.4, 0, .2, 1);

  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-heading-cyrillic: 'Oswald', 'Barlow Condensed', sans-serif;
  --letter-spacing-heading: 0.02em;
}

/* Bulgarca (Kiril) icin condensed fallback: Barlow Condensed Kiril desteklemez,
   bu yuzden ayni dar gorunumu veren Cyrilic-glifli Oswald'a gecilir. */
html[lang="bg"] {
  --font-heading: var(--font-heading-cyrillic);
}

@keyframes blink {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.blink-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin-right: 8px;
  animation: blink 1s infinite;
  box-shadow: 0 0 8px var(--color-primary);
}
/* --- css/reset.css --- */
/* Reset / Normalize */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote {
  margin: 0;
}
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
}
ul, ol {
  list-style: none;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
button, input, select, textarea {
  font: inherit;
}
button {
  border: none;
  background: none;
}
a, a:link, a:visited {
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid #CC0000;
  outline-offset: 2px;
}

/* --- css/base.css --- */
/* UPDATE: Removed render-blocking @import. Google Fonts are loaded asynchronously via HTML <head> */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
span,
button {
  min-width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.1;
  margin: 0;
  font-weight: 700; 
  overflow-wrap: anywhere;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  min-width: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive images */
img,
picture,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Skip link visible when focused */
.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: .5rem .75rem;
  border-radius: 6px;
  z-index: 9999;
  transform: translateY(-120%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}
/* --- css/components.css --- */
.seo-related-links {
  margin: 48px 0 0;
  padding: 28px 0 88px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.site-header-tools {
  display: flex;
  align-items: center;
  gap: 32px;
}

.seo-related-links h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.seo-related-links p {
  margin: 0;
  line-height: 1.8;
}

.seo-related-links p a {
  color: var(--navy);
  font-weight: 700;
}

.seo-related-links p a:hover {
  color: var(--red);
}

.related-service-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.related-service-links a {
  color: var(--navy);
  font-weight: 700;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  line-height: 1.35;
  transition: var(--transition);
}

.related-service-links a:hover {
  color: var(--red);
  border-color: var(--red);
  background: #fff7f7;
}

@media (max-width: 600px) {
  .site-header-tools {
    gap: 12px;
  }

  .seo-related-links {
    padding-bottom: 76px;
  }

  .related-service-links {
    grid-template-columns: 1fr;
  }
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 10px;
  line-height: 1;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 8px 24px var(--red-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-outline.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .08);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn-outline.light:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-mid);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}

/* Section Labels & Titles */
.section-label {
  display: inline-block;
  color: var(--red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: var(--letter-spacing-heading);
}

/* Badges */
.badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  gap: 6px;
  align-items: center;
}

.badge-red {
  background: var(--red);
  color: var(--white);
}

.badge-navy {
  background: var(--navy);
  color: var(--white);
}

.badge-green {
  background: var(--green-bg);
  color: var(--green);
}

/* Page Hero */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 27, 42, 0.9) 0%, rgba(13, 27, 42, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(800px, 100%);
  max-width: 800px;
  padding: 36px 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(13, 27, 42, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-content--transparent {
  background: rgba(13, 27, 42, 0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.page-hero--transparent .hero-overlay {
  background: linear-gradient(90deg, rgba(13, 27, 42, 0.45) 0%, rgba(13, 27, 42, 0.12) 100%);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.92);
}

.breadcrumb a:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .page-hero .hero-content {
    padding: 28px 22px;
    border-radius: 22px;
  }
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 60px 0;
  color: var(--white);
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  text-align: center;
}

.cta-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  text-align: left;
}

@media (max-width: 768px) {
  .cta-grid {
    flex-direction: column;
    text-align: center;
  }
}

/* Sub-page Navigation (Hubs) */
.sub-page-nav {
  background: var(--navy-mid);
  padding: 0;
  position: relative;
  z-index: 900;
  border-bottom: 2px solid var(--red);
  transition: all 0.3s ease;
}

.sub-page-nav .container {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.sub-page-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px 0;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.sub-page-link:hover,
.sub-page-link.active {
  color: var(--white);
  border-bottom-color: var(--red);
}

@media (max-width: 768px) {
  .sub-page-nav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .sub-page-nav .container {
    justify-content: flex-start;
    padding: 0 20px;
  }

  .sub-page-link {
    font-size: 0.85rem;
  }
}

/* Animations */
@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.blink-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
  animation: blink 1.5s infinite;
}

/* Floating Emergency & WhatsApp Buttons */
.floating-emergency-buttons {
  position: fixed;
  bottom: 30px;
  right: 20px;
  /* Moved slightly further right as per request */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* Align buttons to the right side of the container */
  gap: 15px;
  z-index: 9999;
}

.whatsapp-btn,
.acil-hat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  color: white !important;
  position: relative;
}

.whatsapp-btn {
  background: #25D366;
  width: 60px;
  height: 60px;
}

.acil-hat-btn {
  background: var(--red);
  padding: 12px 24px;
  min-width: 60px;
  height: 60px;
  gap: 10px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.whatsapp-btn:hover,
.acil-hat-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.whatsapp-btn svg {
  fill: white;
}

.acil-hat-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid var(--red);
  animation: pulse-ring 1.8s ease-out infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .floating-emergency-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .whatsapp-btn,
  .acil-hat-btn {
    height: 50px;
  }

  .whatsapp-btn {
    width: 50px;
  }

  .acil-hat-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
  }

  .acil-hat-btn span {
    display: none;
  }

  /* Hide text on mobile if needed, or keep short */
}
/* --- css/layout.css --- */
.mobile-only {
  display: flex !important;
}

@media (min-width: 1301px) {
  .mobile-only {
    display: none !important;
  }
}

.desktop-only {
  display: none !important;
}

@media (min-width: 1301px) {
  .desktop-only {
    display: block !important;
  }
}

.header-container {
  width: 95%;
  max-width: 1680px;
  margin-inline: auto;
  padding: 0 20px;
}

/* Header Layout */
.site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
}

.top-bar {
  background: #08121d;
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.brand-message {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  opacity: 1;
  font-weight: 600;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .brand-message {
    display: none;
  }
}

.emergency-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.emergency-link a {
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 700;
}

.emergency-link a:hover {
  color: var(--red) !important;
}

.emergency-link:hover {
  color: var(--white);
  opacity: 0.9;
}

.main-nav-wrapper {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  /* border-bottom removed for professional clean look */
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-nav-wrapper.is-sticky {
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.main-nav {
  display: flex;
  align-items: center;
  height: 84px;
  transition: height 0.3s ease;
  gap: 40px;
  /* Stronger separation between logo and nav links */
  min-width: 0;
  padding: 0;
  /* Remove padding to be absolute flush-left within container */
}

.main-nav>.logo,
.main-nav>.nav-links,
.main-nav>.header-right {
  min-width: 0;
}

.is-sticky .main-nav {
  height: 70px;
}

.logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.logo img {
  max-height: 60px;
  width: auto;
  height: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  gap: 18px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.nav-list li {
  flex-shrink: 0;
  min-width: fit-content;
}

.logo-item {
  margin-right: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: inline-block;
  vertical-align: middle;
  gap: 4px;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
}

/* =====================================================================
   Cok dilli nav daraltma
   - Almanca (de): kelimeler uzun (Dienstleistungen, Schadensschätzer...)
   - Bulgarca (bg): Kiril. Artik Oswald kullaniliyor ama yine de uzun
     kelimeler (Електронна реставрация, Ултразвуково почистване...)
     toplam genisligi artiriyor.
   Bu dillerde font-size, gap ve letter-spacing hafif kuculterek
   nav'in tek satirda sigmasi saglanir. TR/EN etkilenmez.
   ===================================================================== */
html[lang="de"] .nav-list,
html[lang="bg"] .nav-list {
  gap: 12px;
}

html[lang="de"] .nav-link,
html[lang="bg"] .nav-link {
  font-size: 0.82rem;
  letter-spacing: 0.2px;
}

html[lang="de"] .nav-link,
html[lang="bg"] .nav-link {
  max-width: 150px;
}

.nav-search-btn {
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.nav-search-btn:hover {
  color: var(--red);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  max-width: min(300px, calc(100vw - 2rem));
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  overflow: hidden;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 24px;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.dropdown-item:hover {
  background: var(--surface);
  color: var(--red);
}

/* Footer Layout */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 60px 0;
  color: var(--white);
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  text-align: center;
}

.cta-banner h2 {
  color: var(--white) !important;
}

.site-footer {
  background: var(--navy);
  padding: 80px 0 0;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
  align-items: start;
}

.footer-logo {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  display: inline-block;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm, 6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  color: var(--white) !important;
  opacity: 0.8;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.social-links a:hover {
  opacity: 1;
  transform: translateY(-3px);
  background: var(--red);
  color: var(--white) !important;
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* Mobile Nav */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

@media (min-width: 1301px) and (max-width: 1440px) {
  .nav-list {
    gap: 6px;
  }

  .nav-link {
    font-size: 0.75rem;
    max-width: 140px;
    letter-spacing: 0.2px;
  }

  .btn-primary {
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .lang-dropdown-btn {
    padding: 5px 10px;
    gap: 6px;
    font-size: 0.75rem;
  }

  .main-nav {
    height: 80px;
    gap: 8px;
  }

  .header-right {
    gap: 8px;
  }
}

@media (max-width: 1300px) {
  .main-nav {
    gap: 12px;
  }

  .nav-links {
    display: none;
    overflow: hidden;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
    box-shadow: var(--shadow-lg);
    padding: 16px 0 24px;
    z-index: 999;
  }

  .nav-links.is-open {
    display: block;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-link {
    justify-content: space-between;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
    font-size: 1rem;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(13, 27, 42, 0.035);
    transition: max-height 0.25s ease;
  }

  .dropdown:hover .dropdown-menu {
    transform: none;
  }

  .dropdown.is-open .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    max-height: 520px;
  }

  .dropdown-item {
    padding: 12px 32px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(13, 27, 42, 0.05);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .menu-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 6px 0;
  }

  .top-bar-content {
    justify-content: center;
  }

  .top-bar-content>div:last-child {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .emergency-link {
    gap: 8px;
    font-size: 0.8rem;
  }

  .emergency-link i {
    width: 16px !important;
    height: 16px !important;
  }

  .emergency-link a {
    font-size: 0.85rem;
  }

  .main-nav {
    height: 70px;
  }

  .is-sticky .main-nav {
    height: 70px;
  }

  .logo img {
    max-height: 52px;
  }

  .header-right {
    gap: 10px;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
  }

  .header-right .btn-primary {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .search-toggle {
    width: 38px;
    height: 38px;
    padding: 0;
    flex: 0 0 38px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13, 27, 42, 0.1);
    border-radius: 50%;
    background: var(--surface);
  }

  .container {
    padding-inline: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-actions {
    align-items: center !important;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 16px;
    /* Slightly smaller on mobile for fit */
  }

  .top-bar-content>div:last-child {
    gap: 8px;
  }

  .lang-dropdown-btn {
    padding: 6px 10px;
    gap: 6px;
    max-width: 118px;
  }

  .lang-dropdown-btn #current-lang-label {
    min-width: 2ch;
  }

  .lang-dropdown-btn .hide-on-small {
    display: none;
  }

  .emergency-link a {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-right .btn-primary {
    max-width: 126px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 10px 10px;
    line-height: 1.1;
    flex: 0 0 auto;
  }

  .nav-link,
  .dropdown-item {
    overflow-wrap: anywhere;
  }

  .hero-title {
    font-size: 2.2rem !important;
  }

  .section-title {
    font-size: 1.8rem !important;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--red-dark);
  transform: translateX(-50%) translateY(-5px);
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.lang-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy-mid);
  min-width: 140px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 2000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-dropdown.is-active .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.lang-dropdown-menu button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.lang-dropdown-menu button.active {
  color: var(--red);
  font-weight: 700;
}
/* --- css/cookie.css --- */
/* KVKK Cookie Banner Styles */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--navy);
    color: var(--white);
    z-index: 9999;
    padding: 1.5rem 2rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.is-active {
    transform: translateY(0);
}

.cookie-banner.is-dismissing {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-link:hover {
    color: var(--red);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cookie-btn-filled {
    background-color: var(--red);
    color: var(--white);
}

.cookie-btn-filled:hover {
    background-color: var(--red-dark);
}

.cookie-btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-btn-outline:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .cookie-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cookie-btn {
        text-align: center;
        padding: 0.6rem 1rem;
    }
}
/* --- css/reviews.css --- */
#google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.review-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--red);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stars {
    color: #FACC15;
    /* Star Yellow */
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.date {
    font-size: 0.875rem;
    color: var(--muted);
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--navy);
    font-style: italic;
    flex-grow: 1;
}

.reviewer-name {
    font-weight: 700;
    color: var(--muted);
    font-family: var(--font-heading);
}
/* --- css/search.css --- */
/* ==========================================================================
   BİMTES Search Modal Styles
   FIX: Resolved text jumping/layout shift caused by flex justify-content on .result-title
   FIX: Added mobile responsiveness, smooth scrollbar, and keyboard navigation styling
   ========================================================================== */

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 24px;
    box-sizing: border-box;
}

.search-modal.is-active {
    display: flex;
}

.search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 780px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
}

.search-header {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    padding: 16px 24px;
    border-radius: var(--radius, 12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.search-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray, #64748b);
    flex-shrink: 0;
}

#search-input {
    flex-grow: 1;
    border: none;
    font-size: 1.25rem;
    font-family: inherit;
    outline: none;
    color: var(--navy, #0d1b2a);
    background: transparent;
    min-width: 0;
}

#search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

#close-search {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    line-height: 1;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

#close-search:hover {
    background: var(--red, #d61f30);
    color: #ffffff;
    transform: rotate(90deg);
}

.search-results {
    margin-top: 14px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
    /* Custom thin scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* FIX: Search Result Item - Clean flex row with stable text layout */
.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 14px 20px;
    border-radius: var(--radius, 10px);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid transparent;
    gap: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.search-result-item:hover,
.search-result-item.is-selected {
    background: #ffffff;
    transform: translateX(6px);
    border-left-color: var(--red, #d61f30);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.search-result-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

/* FIX: .result-title is now display: inline (not flex justify-between) to prevent word splitting */
.result-title {
    font-weight: 700;
    color: var(--navy, #0d1b2a);
    font-size: 1.05rem;
    line-height: 1.35;
    display: inline;
    word-break: break-word;
}

/* FIX: .result-title mark retains inline flow without shifting layout */
.result-title mark {
    background: rgba(214, 31, 48, 0.14);
    color: var(--red, #d61f30);
    font-weight: 800;
    padding: 0 4px;
    border-radius: 4px;
    display: inline;
}

.result-desc {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--red, #d61f30);
    background: rgba(214, 31, 48, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
    line-height: 1.4;
}

.search-result-arrow {
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.search-result-item:hover .search-result-arrow,
.search-result-item.is-selected .search-result-arrow {
    color: var(--red, #d61f30);
    transform: translateX(4px);
}

.search-no-results {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 24px 28px;
    border-radius: var(--radius, 10px);
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Suggestions */
.search-suggestions-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-suggestions-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.suggestions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-tag {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.suggestion-tag:hover {
    background: #ffffff;
    color: var(--navy, #0d1b2a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-modal {
        padding-top: 40px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .search-header {
        padding: 12px 16px;
        gap: 10px;
    }

    #search-input {
        font-size: 1.1rem;
    }

    .search-result-item {
        padding: 12px 16px;
        gap: 10px;
    }

    .result-title {
        font-size: 0.95rem;
    }

    .result-desc {
        font-size: 0.68rem;
        padding: 2px 6px;
    }
}