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

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

/* GENEL CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s;
}

.top-bar {
  background: #003d7a;
  color: white;
  padding: 10px 0;
}

.top-bar .container {
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* TOP RIGHT + LANG SWITCH */
.top-bar .top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Sosyal ikonlar (top bar) */
.top-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease, transform 0.2s ease;
}

.top-social-link svg {
  width: 100%;
  height: 100%;
  display: block;
}

.top-social-link:hover {
  color: #ffffff;
  transform: scale(1.15);
}

/* Bayrak ikonu */
img.flag-icon {
  width: 20px;
  height: 15px;
  vertical-align: middle;
  border-radius: 2px;
  object-fit: cover;
}

.top-bar a {
  color: white;
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 4px 10px;
  color: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}

.lang-btn:hover {
  transform: translateY(-1px);
  border-color: #ffffff;
}

.lang-btn.active {
  background: #ffffff;
  color: #003d7a;
}

.lang-switch span {
  color: rgba(255, 255, 255, 0.6);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* NAV */
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin-left: auto;
  align-items: center;
}

nav > .lang-switch {
  position: absolute;
  top: 50%;
  right: calc(20px - ((100vw - 1200px) / 2));
  transform: translateY(-50%);
  margin-left: 0;
  flex-shrink: 0;
}

nav > .lang-switch span {
  color: rgba(0, 61, 122, 0.35);
}

nav > .lang-switch .lang-btn {
  color: #003d7a;
  border-color: rgba(0, 61, 122, 0.28);
  background: #ffffff;
}

nav > .lang-switch .lang-btn:hover {
  border-color: #003d7a;
}

nav > .lang-switch .lang-btn.active {
  background: #003d7a;
  color: #ffffff;
  border-color: #003d7a;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: #0066cc;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0066cc;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  padding-bottom: 15px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 10px 0;
  z-index: 1000;
  list-style: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: linear-gradient(90deg, #0066cc, #003d7a);
  color: white;
  padding-left: 25px;
}

/* CTA BUTON */
.cta-btn {
  background: linear-gradient(135deg, #0066cc, #003d7a);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-block;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

/* ===================================
   SECTIONS GENEL
=================================== */

.section-title {
  text-align: center;
  font-size: 42px;
  color: #003d7a;
  margin-bottom: 20px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 60px;
}

/* SERVICES */
.services {
  padding: 100px 20px;
  background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 36px;
  margin-top: 50px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0066cc, #003d7a);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2);
}

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

/* Arka plan resimli kartlar */
.service-card.has-bg {
  background: #ffffff;
  padding: 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
}

.service-card-img {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(.25,.46,.45,.94);
  overflow: hidden;
  position: relative;
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.08) 100%);
  pointer-events: none;
}

.service-card.has-bg:hover .service-card-img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 30px 28px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  border-top: 3px solid #0066cc;
}

.service-card.has-bg h3 {
  color: #003d7a;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-card.has-bg p {
  color: #555;
  font-size: 15px;
  line-height: 1.75;
  flex: 1;
}

.service-card.has-bg .service-more {
  color: #0066cc;
  border-color: #0066cc;
  background: #ffffff;
  margin-top: auto;
}

.service-card.has-bg:hover .service-more {
  background: linear-gradient(135deg, #0066cc, #003d7a);
  color: #ffffff;
  border-color: transparent;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0066cc, #003d7a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 36px;
  color: white;
}

.service-card h3 {
  font-size: 24px;
  color: #003d7a;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  line-height: 1.8;
}

/* service-icon-box: .service-icon'ı saran kutu */
.service-icon-box {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0066cc, #003d7a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.service-icon-box .service-icon {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  margin: 0;
  font-size: 36px;
  color: white;
}

/* simple-service-card ve simple-services - HTML'deki özel sınıflar */
.simple-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 0;
}

.simple-service-card {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* "Devamını Gör" butonu */
.service-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid #0066cc;
  background: #ffffff;
  color: #0066cc;
  text-decoration: none;
  transition: all 0.25s ease;
}

.service-more::after {
  content: "›";
  font-size: 14px;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.service-card:hover .service-more {
  background: linear-gradient(135deg, #0066cc, #003d7a);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
  transform: translateY(-1px);
}

.service-card:hover .service-more::after {
  transform: translateX(3px);
}

/* SAYFA BANNER */
.page-banner {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #07101d;
  margin-top: 0;
  padding-top: 100px;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-banner-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,20,50,0.5) 0%, rgba(0,10,30,0.7) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.page-banner-content h1 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.page-banner-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-banner {
    height: 320px;
    padding-top: 80px;
  }
  .page-banner-content h1 {
    font-size: 28px;
  }
  .page-banner-content p {
    font-size: 15px;
  }
}

/* STATS */
.stats {
  background: linear-gradient(135deg, #003d7a, #0066cc);
  color: white;
  padding: 80px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
  transition: 0.3s ease;
}

.stat-item:hover .stat-number {
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.stat-label {
  font-size: 16px;
  opacity: 0.9;
}

/* ABOUT */
.about {
  padding: 100px 20px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  max-width: 650px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  object-fit: cover;
}

.about-text h2 {
  font-size: 38px;
  color: #003d7a;
  margin-bottom: 20px;
}

.about-text p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0066cc, #003d7a);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

/* CONTACT */
.contact {
  padding: 150px 20px 100px;
  background: linear-gradient(180deg, white 0%, #f8f9fa 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #003d7a;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #0066cc;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #0066cc, #003d7a);
  color: white;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.contact-info h3 {
  font-size: 32px;
  color: #003d7a;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0066cc, #003d7a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-phone-link {
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.9;
}

.contact-phone-link:hover {
  color: #0066cc;
}

.phone-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 102, 204, 0.12);
  color: #004f9a;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.contact-owner {
  display: inline-block;
  margin-top: 4px;
  color: #6b7280;
  font-weight: 500;
}

/* OFİS HARİTASI */
.company-map {
  margin-top: 30px;
}

.company-map h3 {
  font-size: 26px;
  color: #003d7a;
  margin-bottom: 15px;
}

.map-embed {
  width: 100%;
  height: 260px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

/* PORTS MAP */
.ports-map {
  padding: 100px 20px;
  background: white;
}

.map-responsive {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===================================
   SERTİFİKALAR SAYFASI
=================================== */

.certifications-hero {
  margin-top: 120px;
  padding: 0;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #111;
}

.certifications-hero > img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.certifications-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.certifications-hero .container {
  position: relative;
  z-index: 2;
}

.certifications-hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.certifications-hero p {
  font-size: 20px;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.certifications {
  padding: 100px 20px;
  background: #f8f9fa;
}

.certifications .container {
  max-width: 1200px;
  margin: 0 auto;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.certification-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.certification-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 102, 204, 0.3);
}

.certification-card::after {
  content: "🔍 Detay";
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #0066cc, #003d7a);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s;
}

.certification-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.cert-image-placeholder {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f1f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-image-placeholder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.certification-card h3 {
  font-size: 22px;
  color: #003d7a;
  margin-bottom: 10px;
  font-weight: 600;
}

.certification-card p {
  font-size: 15px;
  color: #666;
}

/* ===================================
   SERTİFİKA MODAL (ORTA + ZOOM)
=================================== */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 30, 0.78);
  backdrop-filter: blur(8px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.modal.open,
.modal.show,
.modal.active {
  display: flex !important;
}

.modal-content {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-radius: 22px;
  padding: 18px 18px 20px;
  width: min(1040px, 96vw);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  animation: certModalIn 0.22s ease;
}

@keyframes certModalIn {
  from {
    transform: translateY(10px) scale(0.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Sertifika görseli alanı */
.modal-image {
  width: 100%;
  height: min(68vh, 720px);
  border-radius: 16px;
  margin-bottom: 16px;
  background: radial-gradient(circle at 50% 30%, #f3f7fc 0%, #eaf0f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dbe6f4;
  cursor: grab;
}

.modal-image img {
  max-width: 96%;
  max-height: 96%;
  object-fit: contain;
  transition: transform 0.14s ease-out;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  touch-action: none;
}

/* Zoom butonları */
.zoom-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 12px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(0, 61, 122, 0.08);
}

.zoom-btn {
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: #003d7a;
  border: 1px solid rgba(0, 61, 122, 0.2);
  padding: 0 12px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s;
}

.zoom-btn:hover {
  background: #003d7a;
  color: #ffffff;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 18px rgba(0, 61, 122, 0.28);
}

.zoom-reset {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zoom-label {
  min-width: 56px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #003d7a;
}

/* Başlık & açıklama */
.modal-title {
  font-size: 26px;
  color: #003d7a;
  margin-top: 2px;
  margin-bottom: 6px;
  font-weight: 700;
  text-align: center;
}

.modal-desc {
  font-size: 16px;
  color: #5d6a7c;
  text-align: center;
  line-height: 1.6;
  max-width: 760px;
}

.modal-hint {
  margin-top: 10px;
  font-size: 12px;
  color: #7b8798;
  text-align: center;
}

/* Kapatma butonu (X) */
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.96);
  color: #003d7a;
  border: 1px solid rgba(0, 61, 122, 0.2);
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 61, 122, 0.2);
  background: #003d7a;
  color: #ffffff;
}

/* Modal içerik scrollbar */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #0066cc, #003d7a);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #003d7a;
}

@media (max-width: 768px) {
  .modal {
    padding: 12px;
  }

  .modal-content {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 12px 12px 16px;
    border-radius: 16px;
  }

  .modal-image {
    height: 54vh;
    border-radius: 12px;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-desc {
    font-size: 14px;
  }

  .modal-hint {
    font-size: 11px;
  }
}

/* FOOTER */
footer {
  background: #003d7a;
  color: white;
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* MOBİL MENÜ BUTONU */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #003d7a;
  cursor: pointer;
}

/* CATALOG SECTION */
.catalog {
  padding: 100px 20px;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.catalog-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.catalog-text {
  max-width: 600px;
}

.catalog-text .section-title {
  text-align: left;
}

.catalog-text .section-subtitle {
  text-align: left;
  margin-bottom: 30px;
}

.catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0066cc, #003d7a);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 102, 204, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.catalog-btn::after {
  content: "📄";
  font-size: 18px;
}

.catalog-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 102, 204, 0.45);
  opacity: 0.95;
}

.catalog-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 15px rgba(0, 102, 204, 0.4);
}

.catalog-meta {
  margin-top: 12px;
  font-size: 13px;
  color: #777;
}

/* CSS Marine Bölümü */
.cssmarine-section {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.cssmarine-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

/* Katalog Görseli Büyütme */
.catalog-preview {
  flex: 1;
  max-width: 500px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.catalog-preview img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* ===================================
   RESPONSIVE
=================================== */

@media (max-width: 900px) {
  .catalog-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .catalog-text .section-title,
  .catalog-text .section-subtitle {
    text-align: center;
  }

  .catalog-btn {
    justify-content: center;
  }
}

@media (max-width: 980px) {
  nav {
    gap: 12px;
  }

  nav > .lang-switch {
    position: static;
    transform: none;
    right: auto;
    margin-left: auto;
    margin-right: 10px;
    z-index: 1201;
  }

  .mobile-menu-btn {
    margin-left: 0;
  }

  nav > .lang-switch .lang-btn {
    padding: 4px 8px;
    font-size: 11px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 15px;
    z-index: 1200;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links.open~.lang-switch {
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.open~.mobile-menu-btn {
    position: relative;
    z-index: 1300;
  }

  .mobile-menu-btn {
    display: block;
    margin-left: 0;
    position: relative;
    z-index: 1202;
    flex-shrink: 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
    margin-top: 10px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 130px 20px 80px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 32px;
  }

  .map-embed {
    height: 220px;
  }

  .certifications-hero {
    min-height: 380px;
  }

  .certifications-hero h1 {
    font-size: 32px;
  }

  .modal-content {
    width: 92%;
    padding: 22px 16px 18px;
  }

  .modal-image {
    max-height: 60vh;
  }

  .modal-image img {
    max-height: 60vh;
  }

  .modal-title {
    font-size: 22px;
  }

  .modal-desc {
    font-size: 14px;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 8px;
  }

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

  .catalog-preview {
    max-width: 100%;
    margin-top: 30px;
  }

  .catalog-preview img {
    width: 90%;
  }
}

@media (max-width: 1200px) {
  nav > .lang-switch {
    right: 20px;
  }
}

/* ===================================
   BAKIM ONARIM - RESİM SOL / YAZI SAĞ
=================================== */

.split-content {
  display: flex;
  /* Yan yana dizilimi sağlar */
  align-items: center;
  /* Dikeyde ortalar */
  gap: 60px;
  /* Resim ve yazı arasındaki boşluk */
  padding: 40px 0;
}

/* Sol Taraf (Resim) Ayarları */
.split-image {
  flex: 1;
  /* Alanın yarısını kapla */
  max-width: 50%;
  /* Genişlik sınırı */
}

.split-image img {
  width: 100%;
  height: auto;
  min-height: 300px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  display: block;
}

/* Sağ Taraf (Yazı) Ayarları */
.split-text {
  flex: 1;
  /* Alanın diğer yarısını kapla */
  max-width: 50%;
}

.split-text h2 {
  font-size: 36px;
  color: #003d7a;
  /* Kurumsal mavi renk */
  margin-bottom: 25px;
  line-height: 1.2;
}

.split-text p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

/* MOBİL UYUMLULUK (Responsive) */
@media (max-width: 900px) {
  .split-content {
    flex-direction: column;
    /* Mobilde alt alta sırala */
    text-align: center;
    /* Yazıları ortala */
    gap: 30px;
  }

  .split-image,
  .split-text {
    max-width: 100%;
    /* Tam genişlik kullan */
  }

  .split-text h2 {
    font-size: 28px;
    /* Mobilde başlığı biraz küçült */
  }
}

/* ===================================
   KUMANYA SAYFASI - TAM EKRAN KAPLAMA
=================================== */

/* 1. SEKSİYONUN KENDİSİ (Görseli Buraya Taşıdık) */
/* Bu ID, kumanya.html'deki <section> etiketinde var */
#kumanya-detay {
  /* Görseli ve %90 beyaz filtreyi en dış katmana ekliyoruz */
  background:
    linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.90)),
    url('../images/kumanya.jpg?v=20260329');

  background-size: cover;
  /* Ekranı tamamen doldur */
  background-position: center;
  /* Ortala */
  background-repeat: no-repeat;

  /* İsteğe bağlı: Sayfa kayarken resim sabit kalsın (Parallax Efekti) */
  /* background-attachment: fixed; */

  width: 100%;
  position: relative;
  padding: 80px 0;
  /* Üstten alttan boşluk */
}

/* 2. İÇERİK DÜZENİ (Buradaki arka planı kaldırdık) */
.provision-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;

  /* Görsel artık üstteki #kumanya-detay içinde olduğu için buradan sildik */
  /* Sadece hizalama ayarları kaldı */
}

/* 3. SOL TARA (Başlık ve Liste) */
.provision-left {
  flex: 0 0 35%;
}

.provision-title {
  font-size: 42px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.provision-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 5px;
  background-color: #0066cc;
  border-radius: 2px;
}

.provision-list {
  list-style: none;
  padding: 0;
}

.provision-list li {
  font-size: 18px;
  font-weight: 600;
  color: #003d7a;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  /* Hafif çizgi */
  display: flex;
  align-items: center;
  transition: transform 0.2s, color 0.2s;
}

.provision-list li::before {
  content: '•';
  color: #0066cc;
  font-size: 24px;
  margin-right: 15px;
  line-height: 1;
}

.provision-list li:hover {
  color: #0066cc;
  transform: translateX(10px);
}

/* 4. SAĞ TARAF (Metin) */
.provision-right {
  flex: 1;
}

.provision-right p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 25px;
  text-align: justify;
}

.service-detail-intro {
  max-width: 860px;
  margin: 0 auto 56px;
  text-align: center;
}

.service-detail-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 102, 204, 0.08);
  color: #0066cc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-detail-intro h2 {
  font-size: 42px;
  line-height: 1.15;
  color: #003d7a;
  margin-bottom: 18px;
}

.service-detail-intro p {
  font-size: 17px;
  line-height: 1.8;
  color: #55606f;
}

.service-detail-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 32px;
  align-items: stretch;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(244,248,253,0.98) 100%);
  border: 1px solid rgba(0, 61, 122, 0.08);
  box-shadow: 0 24px 55px rgba(0, 43, 91, 0.08);
}

.service-detail-card:nth-child(even) {
  grid-template-columns: 1fr minmax(260px, 380px);
}

.service-detail-card:nth-child(even) .service-detail-media {
  order: 2;
}

.service-detail-card:nth-child(even) .service-detail-copy {
  order: 1;
}

.service-detail-media {
  min-height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 43, 91, 0.16);
}

.service-detail-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  object-fit: cover;
}

.service-detail-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 1px dashed rgba(0, 102, 204, 0.3);
  background:
    radial-gradient(circle at top left, rgba(0, 102, 204, 0.18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(0, 61, 122, 0.16), transparent 40%),
    linear-gradient(135deg, #eef5fc 0%, #dfeaf7 100%);
  color: #6a7c91;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.service-detail-placeholder span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  word-break: break-word;
}

.service-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #003d7a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-detail-copy h3 {
  font-size: 30px;
  line-height: 1.2;
  color: #092b4d;
  margin-bottom: 16px;
}

.service-detail-copy p {
  font-size: 16px;
  line-height: 1.9;
  color: #495869;
}

.service-detail-cta {
  margin-top: 48px;
  text-align: center;
}

/* 5. MOBİL UYUMLULUK */
@media (max-width: 900px) {
  #kumanya-detay {
    padding: 50px 0;
    /* Mobilde boşluğu biraz azalt */
  }

  .provision-layout {
    flex-direction: column;
    gap: 40px;
  }

  .provision-left {
    width: 100%;
    text-align: center;
  }

  .provision-title {
    font-size: 32px;
  }

  .provision-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .provision-list li {
    justify-content: center;
    border-bottom: none;
  }

  .provision-list li::before {
    display: none;
  }

  .service-detail-intro h2 {
    font-size: 32px;
  }

  .service-detail-card,
  .service-detail-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-detail-card:nth-child(even) .service-detail-media,
  .service-detail-card:nth-child(even) .service-detail-copy {
    order: initial;
  }

  .service-detail-placeholder {
    min-height: 220px;
  }

  .service-detail-copy h3 {
    font-size: 24px;
  }
}

/* ===================================
   HAKKIMIZDA SAYFASI ÖZEL CSS
=================================== */

.mission-vision-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.mv-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  border-bottom: 5px solid #003d7a;
  /* Altına kurumsal çizgi */
}

.mv-card:hover {
  transform: translateY(-10px);
}

.mv-icon {
  font-size: 50px;
  margin-bottom: 20px;
  display: inline-block;
}

.mv-card h3 {
  font-size: 28px;
  color: #003d7a;
  margin-bottom: 20px;
  font-weight: 700;
}

.mv-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/* ===================================
   GEMİ VANALARI SAYFASI ÖZEL TASARIM
=================================== */

/* HERO Arka Planı (Opsiyonel: Vanalara özel görsel eklenebilir) */
#valve-hero {
  background: linear-gradient(135deg, #2c3e50, #4ca1af);
  /* Daha endüstriyel bir ton */
}

/* ÜST KISIM */
.valve-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.valve-intro h2 {
  font-size: 36px;
  color: #003d7a;
  margin-bottom: 20px;
}

.valve-intro p {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Standartlar Kutucukları */
.valve-standards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.standard-item {
  background: #f8f9fa;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.std-icon {
  font-size: 18px;
}

/* GRID YAPISI */
.valve-details-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

/* SOL TARA (Görsel ve Liste) */
.valve-visuals {
  position: relative;
}

.main-valve-img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  margin-bottom: 30px;
  object-fit: cover;
}

.valve-quick-list {
  background: #003d7a;
  color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 61, 122, 0.3);
}

.valve-quick-list h3 {
  font-size: 20px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

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

.valve-quick-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

.valve-quick-list li::before {
  content: '›';
  font-size: 20px;
  margin-right: 10px;
  color: #4ca1af;
}

/* SAĞ TARAF (Servis Kartları) */
.valve-services {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.valve-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid #003d7a;
}

.valve-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.vc-icon {
  font-size: 32px;
  background: #f0f4f8;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.vc-content h3 {
  font-size: 20px;
  color: #003d7a;
  margin-bottom: 10px;
}

.vc-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* MOBİL UYUMLULUK */
@media (max-width: 900px) {
  .valve-details-grid {
    grid-template-columns: 1fr;
  }

  .valve-intro h2 {
    font-size: 28px;
  }
}

/* ===================================
   TEKNİK HİZMETLER SAYFASI ÖZEL CSS
=================================== */

/* HERO Arka Planı */
#tech-hero {
  background: linear-gradient(135deg, #1a2980, #26d0ce);
  /* Modern mavi tonları */
}

/* GRID YAPISI */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* KART TASARIMI */
.tech-card {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 15px;
  padding: 35px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 61, 122, 0.15);
  border-color: #0066cc;
}

/* Öne Çıkan Kart (Halatlar) */
.tech-card.highlight-card {
  background: #f8fbff;
  border: 1px solid #cce5ff;
}

.tech-card.highlight-card:hover {
  background: #ffffff;
  border-color: #003d7a;
}

/* İKON KUTUSU */
.tech-icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0066cc, #003d7a);
  color: white;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 61, 122, 0.2);
}

.tech-card h3 {
  font-size: 22px;
  color: #003d7a;
  margin-bottom: 12px;
  font-weight: 700;
}

.tech-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* CTA KUTUSU */
.tech-cta-box {
  margin-top: 80px;
  background: linear-gradient(135deg, #f0f4f8, #ffffff);
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.tech-cta-box h3 {
  font-size: 28px;
  color: #333;
  margin-bottom: 15px;
}

.tech-cta-box p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================
   YEDEK PARÇA VE LOJİSTİK SAYFASI TASARIMI
=================================== */

/* HERO Arka Planı */
#logistics-hero {
  background: linear-gradient(135deg, #232526, #414345);
  /* Koyu, metalik bir ton */
}

/* GRID YAPISI */
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  /* Geniş kartlar */
  gap: 40px;
  margin-top: 40px;
}

/* KART TASARIMI (RESİMLİ) */
.logistics-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  /* Resim köşelerden taşmasın */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

.logistics-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 61, 122, 0.2);
}

/* Kartın Resim Alanı */
.lc-image {
  width: 100%;
  height: 250px;
  /* Resim yüksekliği sabit */
  background: #eee;
  position: relative;
}

.lc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Resmi alana doldur */
  transition: transform 0.5s ease;
}

.logistics-card:hover .lc-image img {
  transform: scale(1.05);
  /* Hoverda resim hafif zoom yapsın */
}

/* Kart İçeriği */
.lc-content {
  padding: 30px;
  flex: 1;
  position: relative;
  background: white;
}

/* İkon (Resmin üzerine binen yuvarlak) */
.lc-icon {
  width: 60px;
  height: 60px;
  background: #0066cc;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  position: absolute;
  top: -30px;
  /* İçerik kutusunun üstüne taşır */
  right: 30px;
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
  border: 4px solid white;
  /* Etrafında beyaz çerçeve */
}

.lc-content h3 {
  font-size: 22px;
  color: #003d7a;
  margin-bottom: 15px;
  font-weight: 700;
}

.lc-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* SÜREÇ BANTI (Process Banner) */
.process-banner {
  margin-top: 80px;
  background: #f8fbff;
  border-radius: 15px;
  padding: 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border: 1px dashed #cce5ff;
  flex-wrap: wrap;
  gap: 20px;
}

.process-step {
  text-align: center;
  position: relative;
}

.p-step-num {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: rgba(0, 61, 122, 0.1);
  line-height: 1;
  margin-bottom: -15px;
  /* Başlığın arkasına geçmesi için */
}

.process-step h4 {
  font-size: 18px;
  color: #003d7a;
  font-weight: 700;
  position: relative;
}

.process-arrow {
  font-size: 24px;
  color: #0066cc;
  font-weight: bold;
}

/* MOBİL UYUMLULUK */
@media (max-width: 900px) {
  .logistics-grid {
    grid-template-columns: 1fr;
  }

  .process-banner {
    flex-direction: column;
  }

  .process-arrow {
    transform: rotate(90deg);
    /* Mobilde ok aşağı baksın */
    margin: 10px 0;
  }
}

/* =========================
   MEGA MENU (Adamar style)
========================= */

/* Eski küçük dropdown'u devre dışı bırakmak istersen */
.dropdown-menu {
  display: none !important;
}

/* Mega menu container */
.dropdown.mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 820px;
  padding: 16px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 2000;

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .22s ease;
}

/* Hover ile aç (adamar hariç — o JS ile açılıyor) */
.dropdown.mega:hover .mega-menu:not(.adamar) {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Grid */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* Kartlar */
.mega-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;

  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);

  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.mega-item:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

/* Resim */
.mega-item img {
  width: 86px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Yazılar */
.mega-title {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.mega-desc {
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(15, 23, 42, 0.75);
}

/* Responsive */
@media (max-width: 980px) {
  .mega-menu {
    position: static;
    width: auto;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 12px;
  }

  .mega-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== MEGA MENU (STABIL) - EN ALTA ===== */

/* Kayma/zıplama olmasın: scrollbar hep var gibi davran */
html {
  overflow-y: scroll;
}

/* Overlay tıklamayı yemesin, sadece açıkken yesin */
.menu-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* (duplicate adamar block removed) */

/* ŞUNU ETKİSİZLEŞTİR: body:has(...) overflow hidden yapan şey kayma sebebi */
body:has(.dropdown.mega:hover),
body:has(.dropdown.mega:focus-within) {
  overflow: auto !important;
  /* varsa kilidi kır */
}

/* =========================================================
   MEGA MENU (ADAMAR LOOK) - TEK CSS (EN ALTA YAPIŞTIR)
========================================================= */

/* Kayma/zıplama olmasın (scrollbar sabit) */
html {
  overflow-y: scroll;
}

/* Overlay: kapalıyken tıklama yemez */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, .22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
  z-index: 999;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Dropdown konteyneri */
/* ===================================
   MEGA MENU - MODERN & RESPONSIVE
=================================== */

.dropdown.mega {
  position: relative;
}

/* Mega menu container */
.mega-menu.adamar {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(8px);

  width: clamp(320px, 96vw, 1120px);
  max-width: 96vw;
  margin-top: 30px;

  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 10px 15px rgba(0, 0, 0, 0.03),
    0 20px 40px rgba(0, 0, 0, 0.08);

  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.2s;
  z-index: 1000;

  overflow: hidden;
}

/* Açık durum */
.dropdown.mega.is-open .mega-menu.adamar {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Hover köprüsü — nav ile menü arası boşluğu kaplar */
.mega-menu.adamar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -32px;
  height: 32px;
}

/* İç container */
.mega-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  width: 100%;
  padding: 24px;
}

/* Sol panel */
.mega-side {
  padding: 8px 24px 8px 0;
  border-right: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mega-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0066cc;
  opacity: 0.9;
}

.mega-head {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.2;
  margin: 0;
}

.mega-note {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.65);
  margin: 0;
}

.mega-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #0066cc;
  text-decoration: none;
  padding: 8px 0;
  margin-top: auto;
  transition: gap 0.2s ease, color 0.2s ease;
}

.mega-cta:hover {
  gap: 10px;
  color: #003d7a;
}

/* Sağ grid */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
  padding-left: 24px;
  align-content: start;
}

/* Mega item kartları */
.mega-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;

  padding: 14px;
  border-radius: 12px;

  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);

  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 102, 204, 0.2);
  background: rgba(0, 102, 204, 0.02);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.03),
    0 8px 16px rgba(0, 102, 204, 0.08);
}

.mega-item img {
  width: 88px;
  height: 62px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  background: #f1f5f9;
}

.mega-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
  transition: color 0.2s ease;
}

.mega-item:hover .mega-title {
  color: #0066cc;
}

.mega-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.6);
  margin: 0;
  max-height: 3em;
  overflow: hidden;
}

/* ===================================
   RESPONSIVE BREAKPOINTS
=================================== */

/* Large tablets & small desktops */
@media (max-width: 1200px) {
  .mega-inner {
    grid-template-columns: 260px 1fr;
    padding: 20px;
  }

  .mega-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding-left: 20px;
    gap: 10px;
  }
}

/* Tablets */
@media (max-width: 980px) {
  .mega-menu.adamar {
    width: clamp(300px, 94vw, 700px);
    max-width: 94vw;
  }

  .mega-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .mega-side {
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 0 0 20px 0;
  }

  .mega-head {
    font-size: 20px;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 10px;
  }

  .mega-item {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .mega-item img {
    width: 80px;
    height: 56px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .mega-menu.adamar {
    width: clamp(280px, 92vw, 500px);
    max-width: 92vw;
  }

  .mega-inner {
    padding: 16px;
    gap: 16px;
  }

  .mega-side {
    padding-bottom: 16px;
  }

  .mega-kicker {
    font-size: 10px;
  }

  .mega-head {
    font-size: 18px;
  }

  .mega-note {
    font-size: 13px;
  }

  .mega-cta {
    font-size: 13px;
  }

  .mega-grid {
    gap: 8px;
  }

  .mega-item {
    grid-template-columns: 72px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .mega-item img {
    width: 72px;
    height: 50px;
    border-radius: 8px;
  }

  .mega-title {
    font-size: 13px;
  }

  .mega-desc {
    font-size: 11.5px;
    max-height: 2.6em;
  }
}

/* Extra small mobile */
@media (max-width: 400px) {
  .mega-menu.adamar {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
  }

  .mega-inner {
    padding: 14px;
  }

  .mega-item {
    grid-template-columns: 64px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .mega-item img {
    width: 64px;
    height: 44px;
  }

  .mega-title {
    font-size: 12.5px;
  }

  .mega-desc {
    font-size: 11px;
  }
}


/* =========================
   HİZMETLER MEGA MENU (LİSTE)
   style.css EN ALTA
========================= */

/* Kayma olmasın */
html {
  overflow-y: scroll;
}

/* Mega kutu */
.mega-menu.services-mega {
  width: min(980px, calc(100vw - 56px));
  padding: 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow: 0 18px 55px rgba(2, 8, 23, .18);
  overflow: hidden;
}

/* Linkten menüye inerken kapanmasın */
.mega-menu.services-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

/* İç düzen */
.services-mega-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 320px;
}

/* Sol alan */
.services-mega-left {
  padding: 18px 18px 16px;
}

.services-mega-title {
  font-weight: 900;
  font-size: 14px;
  color: rgba(15, 23, 42, .55);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

/* 2 kolon liste */
.services-mega-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
}

/* Satır */
.services-link {
  display: flex;
  gap: 10px;
  align-items: center;

  padding: 12px 0;
  text-decoration: none;

  color: rgba(15, 23, 42, .88);
  font-weight: 700;
  font-size: 13.5px;

  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

/* kolon ayırıcı çizgi */
.services-mega-cols .services-link:nth-child(odd) {
  padding-right: 16px;
  border-right: 1px solid rgba(15, 23, 42, .08);
}

.services-mega-cols .services-link:nth-child(even) {
  padding-left: 16px;
}

.services-link:hover {
  color: #003d7a;
}

/* İkon */
.services-ico {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;
  background: rgba(0, 168, 190, .10);
  color: #00a8be;
  font-size: 16px;
  flex: 0 0 28px;
}

/* Sağ alan */
.services-mega-right {
  border-left: 1px solid rgba(15, 23, 42, .08);
  padding: 18px;
  background: linear-gradient(180deg, rgba(0, 168, 190, .06), rgba(0, 61, 122, .04));
}

.services-badge {
  font-weight: 900;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 8px;
}

.services-note {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(15, 23, 42, .70);
  margin-bottom: 14px;
}

.services-cta {
  display: inline-flex;
  font-weight: 900;
  font-size: 13px;
  color: #003d7a;
  text-decoration: none;
}

.services-cta:hover {
  text-decoration: underline;
}

/* Mobil */
@media (max-width: 980px) {
  .services-mega-wrap {
    grid-template-columns: 1fr;

    min-height: unset;
  }

  .services-mega-right {
    border-left: 0;
    border-top: 1px solid rgba(15, 23, 42, .08);
  }

  .services-mega-cols {
    grid-template-columns: 1fr;
  }

  .services-mega-cols .services-link:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }

  .services-mega-cols .services-link:nth-child(even) {
    padding-left: 0;
  }
}


/* Yatay kayma/taşma fix */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* Scrollbar yüzünden ilk açılışta sağa-sola oynamayı engeller (Chrome/Edge destekler) */
html {
  scrollbar-gutter: stable;
}

/* 100vw / padding taşmalarını engelle */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================
   YOUTUBE EMBED (RESPONSIVE)
========================= */
.about-image .yt-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 15px;
  /* about-image içindeki stile uyumlu */
}

.about-image .yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ============================================================
   CSS MARINE — #navbar  (style.css'in EN ALTINA ekle)
   index.html'deki: #navbar / .nav-container / .hamburger
   / .mega-menu.scrollable / .lang-switch yapısına uyarlanmıştır.
============================================================ */

/* ── Temel navbar ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 25, 47, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Scroll sonrası katı arka plan */
#navbar.scrolled {
  background: rgba(8, 20, 40, 0.97);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.40);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* ── İç konteyner ── */
.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ── Logo ── */
.nav-container .logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-container .logo .logo-image {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}

.nav-container .logo:hover .logo-image {
  opacity: 0.85;
}

/* ── Nav linkleri ── */
.nav-container .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-container .nav-links>li {
  position: relative;
}

.nav-container .nav-links>li>a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-container .nav-links>li>a:hover,
.nav-container .nav-links>li.has-dropdown:hover>a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
}

/* Aktif sayfa */
.nav-container .nav-links>li>a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* Ok ikonu */
.nav-container .nav-links .dropdown-arrow {
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.25s ease;
  display: inline-block;
}

.nav-container .nav-links .has-dropdown:hover .dropdown-arrow,
.nav-container .nav-links .has-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* ── Mega Menu ── */
.nav-container .has-dropdown {
  position: static;
  /* mega menu tüm genişlik için */
}

.nav-container .mega-menu {
  position: fixed;
  top: 70px;
  /* navbar yüksekliği */
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  z-index: 999;
  padding: 28px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

/* Hover ile mega menu aç */
.nav-container .has-dropdown:hover .mega-menu,
.nav-container .has-dropdown.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}

/* Kapanmasın köprüsü */
.nav-container .mega-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
}

/* Scrollable class – çok uzun içerik için */
.nav-container .mega-menu.scrollable {
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

/* ── Mega menu iç içerik ── */
.mega-menu-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* Mega menu kolon */
.mega-menu-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-menu-column h4 {
  font-size: 13px;
  font-weight: 800;
  color: #0a192f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 2px solid #e30a17;
  /* CSS Marine kırmızısı */
}

.mega-menu-column h4 a,
.mega-menu-column h4 a6 {
  color: inherit;
  text-decoration: none;
}

.mega-menu-column h4 a:hover {
  color: #003d7a;
}

.mega-menu-column>a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  color: rgba(15, 23, 42, 0.78);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.18s, background 0.18s, padding-left 0.18s;
}

.mega-menu-column>a:hover {
  color: #003d7a;
  background: rgba(0, 61, 122, 0.06);
  padding-left: 14px;
}

/* ── Sağ taraf nav aksiyonları ── */
.nav-container .nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Teklif Al butonu */
.nav-container .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0066cc, #003d7a);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-container .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 102, 204, 0.45);
}

/* ── Hamburger butonu (mobil) ── */
.nav-container .hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-container .hamburger:hover {
  background: rgba(255, 255, 255, 0.14);
}

.nav-container .hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease, width 0.28s ease;
}

/* Açık halde X animasyonu */
.nav-container .hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-container .hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-container .hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Dil seçici ── */
.nav-container .lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-container .lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
  color: rgba(255, 255, 255, 0.80);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-container .lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.60);
  color: #fff;
}

.nav-container .lang-btn.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #003d7a;
}

.nav-container .lang-btn .flag {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.nav-container .lang-btn .flag svg {
  width: 18px;
  height: 13px;
  border-radius: 2px;
}

/* ── Overlay (arka plan karartma) ── */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 70px;
  background: rgba(0, 0, 0, 0.45);
  z-index: 998;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.menu-overlay.open {
  display: block;
}



/* ══════════════════════════════════════
   MOBİL RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 980px) {

  /* Hamburger görünür */
  .nav-container .hamburger {
    display: flex;
  }

  /* Nav linkleri gizle */
  .nav-container .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: #07162a;
    overflow-y: auto;
    padding: 16px 0 80px;
    z-index: 999;
  }

  .nav-container .nav-links.open {
    display: flex;
  }

  .nav-container .nav-links>li>a {
    border-radius: 0;
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-container .nav-links>li>a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  /* Mega menu mobil: inline, statik */
  .nav-container .mega-menu {
    position: static;
    opacity: 1;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transform: none;
    transition: height 0.3s ease, visibility 0s linear 0.3s;
    background: rgba(0, 0, 0, 0.25);
    box-shadow: none;
    border-top: none;
    padding: 0;
  }

  .nav-container .has-dropdown.open .mega-menu {
    visibility: visible;
    height: auto;
    transition: height 0.3s ease, visibility 0s linear 0s;
    padding: 12px 0;
  }

  .mega-menu-content {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 12px 24px;
  }

  .mega-menu-column h4 {
    font-size: 11px;
    margin-top: 8px;
  }

  .mega-menu-column>a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    padding: 8px 12px;
  }

  .mega-menu-column>a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }

  .mega-menu-column h4 {
    color: rgba(255, 255, 255, 0.55);
    border-bottom-color: rgba(255, 255, 255, 0.15);
  }

  /* Nav CTA gizle (ekran dar) */
  .nav-container .nav-cta {
    display: none;
  }

  /* Lang switch küçük ekranda hamburger yanında kalır */
  .nav-container .lang-switch {
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 16px;
    gap: 12px;
  }

  .nav-container .logo .logo-image {
    height: 36px;
  }

  .nav-container .lang-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
}

/* =========================
   HERO FINAL FIX
========================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: #07101d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  filter: brightness(0.82) contrast(1.06) saturate(1.06);
}

/* Daha açık overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(5, 12, 22, 0.36) 0%,
      rgba(5, 12, 22, 0.28) 20%,
      rgba(5, 12, 22, 0.34) 100%),
    radial-gradient(circle at center, rgba(0, 90, 170, 0.10) 0%, rgba(0, 0, 0, 0) 58%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.32;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.85) 1.2px, transparent 1.2px),
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.7) 1.1px, transparent 1.1px),
    radial-gradient(circle at 35% 75%, rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    radial-gradient(circle at 85% 65%, rgba(255, 255, 255, 0.7) 1.1px, transparent 1.1px);
  background-size: 260px 260px, 320px 320px, 280px 280px, 340px 340px;
  animation: particlesFloat 18s linear infinite;
}

@keyframes particlesFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }

  100% {
    transform: translateY(0);
  }
}


@keyframes waveRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes waveRotateReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes wavePulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.22;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.40;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  padding-top: 110px;
  /* fixed header yüksekliği */
  padding-bottom: 100px;
  /* scroll-down için boşluk */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
  max-width: 820px;
  margin: 0 auto 34px;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 18px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
  margin-bottom: 30px;
}

.hero-stats .stat-item {
  min-width: 150px;
  text-align: center;
}

.hero-stats .stat-number {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: #ffffff;
}

.hero-stats .stat-label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sol buton */
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all .25s ease;
}

.btn-glass:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Sağ buton - hoverda yazı kaybolmasın */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 102, 204, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
  transition: all .25s ease;
}

.btn-outline:hover {
  transform: translateY(-2px);
  color: #ffffff;
  background: rgba(0, 102, 204, 0.38);
  border-color: rgba(255, 255, 255, 0.32);
}

/* Scroll geri geldi */
.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), transparent);
  animation: scrollPulse 1.8s infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .45;
    transform: scaleY(.82);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100svh;
    min-height: 760px;
    padding: 0 16px;
  }

  .hero-content{
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  padding-top: 180px;
  padding-bottom: 150px; 
}

  .hero-badge {
    padding: 10px 16px;
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

  .hero-title {
    font-size: 32px;
    line-height: 1.12;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding: 18px 20px;
  }

  .stat-divider {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-glass,
  .btn-outline {
    width: 100%;
    max-width: 320px;
  }

  .scroll-down {
    bottom: 18px;
  }

  .scroll-line {
    height: 42px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 800px;
  }

  .hero-content {
    padding-top: 196px;
    padding-bottom: 140px;
  }

  .hero-title {
    font-size: 29px;
  }
}

.scroll-down {
    position: absolute;
    bottom: 0;
    margin-bottom: 20px;
}
.services-modern{
    padding: 110px 20px;
    background: #f7f8fa;
}

.services-head{
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.services-kicker{
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(0, 61, 122, 0.08);
    color: #003d7a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.services-head h2{
    font-size: 42px;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 18px;
    font-weight: 700;
}

.services-head p{
    font-size: 17px;
    line-height: 1.8;
    color: #64748b;
}

.services-grid-adamar{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.service-box{
    background: #ffffff;
    border-radius: 22px;
    padding: 34px 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
    min-height: 290px;
}

.service-box:hover{
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
    border-color: rgba(0, 102, 204, 0.18);
}

.service-box-icon{
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 30px;
    background: linear-gradient(135deg, #0066cc, #003d7a);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.20);
}

.service-box h3{
    font-size: 24px;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 14px;
    font-weight: 700;
}

.service-box p{
    font-size: 15px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-box a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #003d7a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.25s ease, transform 0.25s ease;
}

.service-box a::after{
    content: "→";
    transition: transform 0.25s ease;
}

.service-box:hover a{
    color: #0066cc;
}

.service-box:hover a::after{
    transform: translateX(4px);
}

@media (max-width: 991px){
    .services-grid-adamar{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-head h2{
        font-size: 34px;
    }
}

@media (max-width: 640px){
    .services-modern{
        padding: 85px 16px;
    }

    .services-grid-adamar{
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-head{
        margin-bottom: 40px;
    }

    .services-head h2{
        font-size: 28px;
    }

    .services-head p{
        font-size: 15px;
    }

    .service-box{
        padding: 26px 20px;
        border-radius: 18px;
        min-height: auto;
    }

    .service-box h3{
        font-size: 21px;
    }
}
/* ===================================
   SERVICES MODERN / ADAMAR STYLE
=================================== */

.services-modern{
    padding: 110px 20px;
    background: #f7f8fa;
}

.services-head{
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.services-kicker{
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(0, 61, 122, 0.08);
    color: #003d7a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.services-head h2{
    font-size: 42px;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 18px;
    font-weight: 700;
}

.services-head p{
    font-size: 17px;
    line-height: 1.8;
    color: #64748b;
}

.services-grid-adamar{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.service-box{
    background: #ffffff;
    border-radius: 22px;
    padding: 34px 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
    min-height: 290px;
}

.service-box:hover{
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
    border-color: rgba(0, 102, 204, 0.18);
}

.service-box-icon{
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 30px;
    background: linear-gradient(135deg, #0066cc, #003d7a);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.20);
}

.service-box h3{
    font-size: 24px;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 14px;
    font-weight: 700;
}

.service-box p{
    font-size: 15px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-box a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #003d7a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.25s ease;
}

.service-box a::after{
    content: "→";
    transition: transform 0.25s ease;
}

.service-box:hover a{
    color: #0066cc;
}

.service-box:hover a::after{
    transform: translateX(4px);
}

@media (max-width: 991px){
    .services-grid-adamar{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-head h2{
        font-size: 34px;
    }
}

@media (max-width: 640px){
    .services-modern{
        padding: 85px 16px;
    }

    .services-grid-adamar{
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-head{
        margin-bottom: 40px;
    }

    .services-head h2{
        font-size: 28px;
    }

    .services-head p{
        font-size: 15px;
    }

    .service-box{
        padding: 26px 20px;
        border-radius: 18px;
        min-height: auto;
    }

    .service-box h3{
        font-size: 21px;
    }
}

/* =========================================================
   MEGA MENU - ADAMARINE STYLE (Sol Liste + Sag Gorsel)
========================================================= */

/* Ic wrapper: sol link listesi + sag buyuk gorsel */
.mega-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  width: 100%;
}

/* Sol: Hizmet linkleri alani */
.mega-links {
  padding: 24px 28px;
}

/* 2 kolon grid */
.mega-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Her bir hizmet satiri */
.mega-svc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 14px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.3;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  border-left: 3px solid transparent;
  transition: color 0.2s ease, border-left-color 0.2s ease, background 0.2s ease;
}

.mega-svc:hover {
  color: #00a8be;
  border-left-color: #00a8be;
  background: rgba(0, 168, 190, 0.03);
}

/* Ikon kutusu */
.mega-svc-ico {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 168, 190, 0.08);
  color: #00a8be;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.mega-svc-ico svg {
  display: block;
}

.mega-svc:hover .mega-svc-ico {
  background: rgba(0, 168, 190, 0.16);
}

/* Hizmet ismi */
.mega-svc-name {
  flex: 1;
}

/* Sag: Buyuk gorsel alani */
.mega-photo {
  position: relative;
  overflow: hidden;
  height: 380px;
}

.mega-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mega-photo img.active {
  opacity: 1;
}

/* Fix: eski hover kuralinin adamar centering'i bozmasini engelle */
.dropdown.mega:hover .mega-menu.adamar {
  left: 50%;
  transform: translateX(-50%) translateY(0);
}

/* ---- Adamarine Mega Menu Responsive ---- */

@media (max-width: 980px) {
  .mega-wrap {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .mega-photo {
    display: none;
  }

  .mega-links {
    padding: 16px 20px;
  }

  .mega-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mega-links {
    padding: 12px 14px;
  }

  .mega-svc {
    padding: 12px 10px;
    font-size: 13px;
    gap: 10px;
  }

  .mega-svc-ico {
    width: 32px;
    height: 32px;
  }

  .mega-svc-ico svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== CHATBOT ===== */
.chatbot-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #003d7a, #00a8be);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,61,122,.35);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s, box-shadow .25s;
}
.chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0,61,122,.45);
}
.chatbot-toggle svg { width: 28px; height: 28px; }
.chatbot-toggle .chat-close { display: none; }
.chatbot-toggle.active .chat-open { display: none; }
.chatbot-toggle.active .chat-close { display: block; }

.chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 320px;
  height: min(68vh, 600px);
  max-height: calc(100vh - 120px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  z-index: 10000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp .3s ease;
}
.chatbot-window.open { display: flex; }

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

.chatbot-header {
  background: linear-gradient(135deg, #003d7a, #00528a);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chatbot-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chatbot-header-avatar svg { width: 22px; height: 22px; }
.chatbot-header-info h4 {
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
}
.chatbot-header-info p {
  margin: 2px 0 0;
  font-size: .75rem;
  opacity: .8;
}

.chatbot-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: .72rem;
  font-weight: 600;
  color: #dff7ec;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28d17c;
  box-shadow: 0 0 0 4px rgba(40, 209, 124, 0.22);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: none;
  flex: 1;
  background: #f7f9fc;
}

.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.45;
  word-wrap: break-word;
}

.chat-msg a.chat-link {
  color: #006f8c;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  pointer-events: auto;
}

.chat-msg.user a.chat-link {
  color: #cdeeff;
}

.chatbot-links {
  margin: 8px 0 0;
  padding-left: 18px;
}

.chatbot-links li {
  margin: 6px 0;
}
.chat-msg.bot {
  align-self: flex-start;
  background: #fff;
  color: #333;
  border: 1px solid #e8ecf1;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #003d7a, #00528a);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatbot-quick-replies {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e8ecf1;
  background: #fbfcff;
}

.chat-quick-btn {
  border: 1px solid #c9d8e8;
  background: #ffffff;
  color: #003d7a;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

.chat-quick-btn:hover {
  background: #003d7a;
  color: #fff;
  border-color: #003d7a;
}

.chatbot-input {
  display: flex;
  border-top: 1px solid #e8ecf1;
  padding: 10px 12px;
  gap: 8px;
  background: #fff;
}
.chatbot-input input {
  flex: 1;
  border: 1px solid #dde1e7;
  border-radius: 24px;
  padding: 9px 16px;
  font-size: .85rem;
  outline: none;
  font-family: inherit;
  transition: border-color .2s;
}
.chatbot-input input:focus {
  border-color: #00a8be;
}
.chatbot-input button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #003d7a;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.chatbot-input button:hover { background: #00a8be; }
.chatbot-input button svg { width: 18px; height: 18px; }

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  align-self: flex-start;
}
.chat-typing span {
  width: 8px;
  height: 8px;
  background: #b0b8c4;
  border-radius: 50%;
  animation: typingDot 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .chatbot-window {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 90px;
    height: 68vh;
    max-height: 68vh;
  }
  .chatbot-toggle {
    bottom: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
  }
}
