/*
Theme Name: MST - Marmara Savunma Teknolojileri
Theme URI: https://marmarasavunma.com.tr
Author: Aksu Cyber Bilişim
Author URI: https://aksucyber.com
Description: Marmara Savunma Teknolojileri A.Ş. kurumsal web sitesi teması.
Version: 1.0.0
License: All Rights Reserved
Text Domain: mst-theme
*/

:root {
  --void: #070b11;
  --panel: #0e151d;
  --panel-raised: #131c26;
  --steel-line: #1d333a;
  --steel: #3f6672;
  --steel-light: #86aab3;
  --text: #eef2f5;
  --text-dim: #b7c2cb;
  --teal: #17b8ae;
  --navy-accent: #1a3a5b;
  --teal-bright: #3fd9cd;
  --teal-dim: #0f7a73;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body, p, span, a, li, h1, h2, h3, h5, h6 {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.eyebrow,
.btn-devami,
.btn-primary,
.btn-ghost,
.contact-details h3,
.footer-col h4,
.servis-catalogues h3 {
  font-family: 'Outfit', sans-serif !important;
}

body {
  background: var(--void);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--teal);
  color: var(--void);
}

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

:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(var(--steel-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--steel-line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.18;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 600;
  line-height: 1.05;
}

/* NAV */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
  border-bottom: 1px solid transparent;
  background: transparent;
}

header.scrolled {
  background: rgba(7, 11, 17, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--steel-line);
  padding: 4px 5vw;
}

.distributor-strip {
  position: fixed;
  right: 0;
  z-index: 99;
  top: 58%;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  background: transparent;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: slideInFromRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.distributor-strip.scrolled {
  right: -96px;
}

.distributor-strip.scrolled:hover {
  right: 0;
}

@keyframes slideInFromRight {
  from {
    transform: translate(100%, -50%);
    opacity: 0;
  }
  to {
    transform: translate(0, -50%);
    opacity: 1;
  }
}

.distributor-strip .dlogos {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.logo-chip {
  background: #ffffff;
  border-radius: 8px 0 0 8px;
  width: 132px;
  height: 60px;
  padding: 8px 16px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, width 0.3s ease;
}

.logo-chip img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.logo-chip:hover {
  width: 152px;
  box-shadow: -6px 6px 16px rgba(0, 0, 0, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  height: 200px;
  width: auto;
  display: block;
  transition: height 0.4s ease;
}

header.scrolled .brand-mark {
  height: 120px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.3s ease;
}

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

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: var(--teal-bright) !important;
}

nav a.active::after {
  width: 100%;
  background: var(--teal-bright);
}

nav a.search-btn::after {
  display: none !important;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  vertical-align: middle;
  height: 20px;
}

.search-icon-svg {
  width: 17px;
  height: 17px;
  stroke: var(--text-dim);
  transition: stroke 0.3s ease, transform 0.3s ease;
}

nav a.search-btn:hover .search-icon-svg {
  stroke: var(--text);
  transform: scale(1.15);
}

nav a.search-btn.active .search-icon-svg {
  stroke: var(--teal-bright);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 105;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  transition: all 0.3s ease;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 320px 5vw 80px;
  z-index: 1;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 0.75; /* Slightly lowered opacity for better text contrast with various images */
}

.radar-wrap {
  position: absolute;
  top: 50%;
  right: -8vw;
  transform: translateY(-50%);
  width: min(56vw, 760px);
  height: min(56vw, 760px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.radar-ring {
  position: absolute;
  border: 1px solid var(--steel-line);
  border-radius: 50%;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--teal) 0deg, var(--navy-accent) 30deg, transparent 42deg, transparent 360deg);
  opacity: 0.4;
  animation: spin 7s linear infinite;
}

.radar-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 8px var(--teal-bright);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

@media (min-width: 1024px) {
  .hero-content {
    max-width: 1100px;
  }
}

.hero-content .eyebrow {
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 84px);
  color: var(--text);
  margin-bottom: 22px;
}

.hero-title-sub {
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #ffffff;
  display: block;
  margin-top: 8px;
}

@media (min-width: 1024px) {
  .hero-title-brand .main-title {
    white-space: nowrap;
  }
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero p.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-primary,
.btn-ghost {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: var(--void);
  font-weight: 600;
  border: none;
}

.btn-primary:hover {
  background: var(--teal-bright);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--steel-line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-bright);
}
section {
  position: relative;
  z-index: 1;
  padding: 120px 5vw;
  scroll-margin-top: 140px !important;
}

#hakkimizda,
#temsilciliklerimiz,
#urunlerimiz,
#referanslar,
#servis,
#iletisim {
  scroll-margin-top: 140px !important;
}

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  margin-bottom: 18px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.plaque-cell .pname {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.plaque-cell .pdesc {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 12px;
  min-height: 38px;
}

.plaque-cell .ptag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 0.08em;
}

.mantabin-left .eyebrow {
  margin-bottom: 18px;
}

.contact-right .eyebrow {
  margin-bottom: 20px;
}

footer {
  position: relative;
  z-index: 1;
  padding: 40px 5vw;
  border-top: 1px solid var(--steel-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.05em;
}

/* MEDIA QUERIES & RESPONSIVENESS */
@media (max-width: 980px) {
  header {
    padding: 16px 5vw;
    background: rgba(7, 11, 17, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--steel-line);
  }

  .nav-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(80vw, 320px);
    height: 100vh;
    background: rgba(14, 21, 29, 0.97);
    backdrop-filter: blur(15px);
    border-left: 1px solid var(--steel-line);
    padding: 120px 40px 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  nav a {
    font-size: 18px;
  }

  .distributor-strip {
    display: none;
  }

  .hero {
    padding-top: 180px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-content {
    text-align: left;
  }

  .hero h1 {
    font-size: 42px;
  }

  .radar-wrap {
    opacity: 0.15;
    right: -20vw;
  }
}

@media (max-width: 600px) {
  .brand-mark {
    height: 100px;
  }

  header.scrolled .brand-mark {
    height: 85px;
  }

}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .radar-sweep {
    animation: none;
  }
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* HAMBURGER ACTIVE TRANSFORMS */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--teal);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--teal);
}

/* Hakkımızda Section */
.about-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 5vw 10px;
}

.about-main h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 24px;
  color: var(--text);
}

.about-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-weight: 500;
}

.about-main p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Security Card Sidebar */
.security-card {
  background: rgba(19, 28, 38, 0.35);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(23, 184, 174, 0.2);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

.security-card .bl, .security-card .br {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(23, 184, 174, 0.3);
  pointer-events: none;
}
.security-card .bl { bottom: 8px; left: 8px; border-top: 0; border-right: 0; }
.security-card .br { bottom: 8px; right: 8px; border-top: 0; border-left: 0; }

.security-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.security-icon {
  width: 32px;
  height: 32px;
  fill: var(--teal);
}

.security-card h3 {
  font-size: 18px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.security-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 14px;
}

.security-card p:last-child {
  margin-bottom: 0;
}

.team-card .bl, .team-card .br {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(23, 184, 174, 0.2);
  pointer-events: none;
}
.team-card .bl { bottom: 8px; left: 8px; border-top: 0; border-right: 0; }
.team-card .br { bottom: 8px; right: 8px; border-top: 0; border-left: 0; }

/* Responsive grid adjustments */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Sertifikalar Section */
#sertifikalar {
  padding: 30px 5vw 120px;
  max-width: 1440px;
  margin: 0 auto;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 32px;
}

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cert-preview-box {
  width: 100%;
  max-width: 380px;
  height: 270px;
  overflow-y: auto;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
}

/* Custom scrollbar styling inside the certificate preview box */
.cert-preview-box::-webkit-scrollbar {
  width: 10px;
}

.cert-preview-box::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 8px 8px 0;
}

.cert-preview-box::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid #ffffff;
  border-radius: 10px;
}

.cert-preview-box::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.6);
}

.cert-preview-box img {
  width: 100%;
  height: auto;
  display: block;
}

.cert-link {
  font-size: 16px;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cert-link:hover {
  color: var(--teal);
}

/* Ürünlerimiz Section */
#urunlerimiz {
  padding: 80px 5vw 120px;
  max-width: 1440px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.product-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: rgba(19, 28, 38, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-row:hover {
  transform: translateY(-8px);
  border-color: rgba(23, 184, 174, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.product-logo-container a,
.rep-logo-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.product-logo-container {
  width: 100%;
  height: 120px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  margin-bottom: 20px;
  flex: none;
}

.product-logo-container img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}

.product-list-box {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.product-list-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-list-box li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #070b11 !important;
}

.product-list-box li::before {
  content: "•";
  color: var(--teal-dim) !important;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
}

.product-list-box li a {
  color: #070b11 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.product-list-box li a:hover {
  color: var(--teal) !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Temsilciliklerimiz Section */
#temsilciliklerimiz {
  padding: 80px 5vw 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.rep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.rep-card {
  background: rgba(19, 28, 38, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.rep-card:hover {
  transform: translateY(-8px);
  border-color: rgba(23, 184, 174, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.rep-logo-container {
  width: 100%;
  height: 90px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.rep-logo-container img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.rep-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 28px;
  flex: 1;
}

.btn-devami {
  display: inline-block;
  background: var(--teal);
  color: var(--void);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 36px;
  border-radius: 0;
  border: 1px solid var(--teal);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(23, 184, 174, 0.2);
}

.btn-devami:hover {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(23, 184, 174, 0.4);
}

/* Responsive grid for representations */
@media (max-width: 1024px) {
  .rep-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .rep-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Referanslarımız Section */
#referanslar {
  padding: 80px 5vw 120px;
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 30px;
  margin-top: 48px;
}

.ref-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.ref-card:hover {
  transform: translateY(-5px);
}

.ref-logo-box {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
  transition: filter 0.3s ease;
}

.ref-card:hover .ref-logo-box {
  filter: drop-shadow(0 6px 15px rgba(23, 184, 174, 0.35));
}

.ref-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ref-card span {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-dim);
  font-weight: 500;
  display: block;
  max-width: 150px;
  transition: color 0.3s ease;
}

.ref-card:hover span {
  color: var(--text);
}

/* Responsive grid for references */
@media (max-width: 1200px) {
  .ref-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
  }
}

@media (max-width: 768px) {
  .ref-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
  }
}

@media (max-width: 480px) {
  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Servis Section */
#servis {
  padding: 80px 5vw 120px;
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.servis-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.servis-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.servis-image img {
  width: 100%;
  height: auto;
  display: block;
}

.servis-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.servis-text .about-lead {
  font-size: 19px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

.disclaimer {
  font-size: 13px !important;
  color: var(--text-dim) !important;
  opacity: 0.6;
  margin-top: 16px;
  font-style: italic;
}

.service-pdfs-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 32px;
}

.service-pdfs-grid .cert-card {
  flex: 1;
  max-width: 280px;
  min-width: 240px;
}

/* Responsive adjustments for service */
@media (max-width: 1024px) {
  .servis-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 580px) {
  .service-pdfs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* İletişim Section */
#iletisim {
  padding: 80px 5vw 120px;
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card-item {
  background: rgba(19, 28, 38, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card-item:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 184, 174, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.contact-icon {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(23, 184, 174, 0.1);
  border: 1px solid rgba(23, 184, 174, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-card-item:hover .contact-icon {
  background: rgba(23, 184, 174, 0.2);
  border-color: rgba(23, 184, 174, 0.4);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--teal);
}

.contact-details h3 {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-details p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-dim);
  margin: 0;
}

.contact-details a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: var(--teal-bright);
  text-decoration: underline;
}

.contact-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  position: relative;
  min-height: 380px;
}

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

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

/* Responsive contact */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-map {
    min-height: 320px;
  }
}

/* Footer Styles */
#siteFooter {
  background: #04070a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 5vw 40px;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--teal);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}

.brand-col p {
  margin-top: 20px;
  font-size: 13.5px;
}

.footer-logo {
  max-height: 110px;
  width: auto;
  display: block;
}

.footer-map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-map-wrapper iframe {
  display: block;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--teal);
  padding-left: 6px;
}

.footer-col a {
  color: var(--teal);
  text-decoration: none;
}

.footer-holding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.holding-logo {
  height: 50px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.holding-logo:hover {
  opacity: 1;
}

.footer-holding span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
  opacity: 0.6;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  #siteFooter {
    padding: 60px 5vw 30px;
  }
}

/* ── Global Search Overlay ── */
.global-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 17, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.global-search-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Close Button */
.search-overlay-close {
  position: absolute;
  top: 40px;
  right: 5vw;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.search-overlay-close svg {
  width: 28px;
  height: 28px;
}

.search-overlay-close:hover {
  color: var(--text);
  transform: rotate(90deg);
}

/* Content Area */
.search-overlay-content {
  width: 90%;
  max-width: 800px;
  text-align: center;
}

.search-overlay-form {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 24px;
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-overlay-input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 60px 16px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #eef2f5;
  outline: none;
  transition: border-color 0.4s ease;
}

.search-overlay-input::placeholder {
  color: #3f6672;
}

.search-input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay-input:focus ~ .search-input-line {
  width: 100%;
}

.search-overlay-submit {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #17b8ae;
  cursor: pointer;
  padding: 12px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.search-overlay-submit svg {
  width: 28px;
  height: 28px;
}

.search-overlay-submit:hover {
  color: #3fd9cd;
  transform: translateY(-50%) scale(1.1);
}

.search-overlay-hint {
  font-size: 14px;
  color: #86aab3;
  margin-top: 16px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

/* Disable scrolling when search is active */
body.search-active {
  overflow: hidden;
}

@media (max-width: 768px) {
  .search-overlay-input {
    font-size: 20px;
    padding: 12px 48px 12px 0;
  }
  .search-overlay-submit svg {
    width: 22px;
    height: 22px;
  }
  .search-overlay-close {
    top: 24px;
  }
  .search-overlay-close svg {
    width: 24px;
    height: 24px;
  }
}