:root {
  --red: #e4002b;
  --red-dark: #b80022;
  --gray-900: #1a1a1a;
  --gray-700: #4a4a4a;
  --gray-500: #6b6b6b;
  --gray-300: #9ca3af;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --section-padding: clamp(4rem, 8vw, 6rem);
  --container: min(1200px, 100% - 2rem);
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--red);
  text-decoration: none;
  transition:
    color 0.2s,
    opacity 0.2s;
}
a:hover {
  color: var(--red-dark);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
}
.logo-header {
  height: 40px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-desktop a {
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}
.nav-desktop a:hover {
  color: var(--red);
  background: rgba(228, 0, 43, 0.06);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--gray-700);
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle .icon-menu {
  display: block;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

/* Mobil menü: header altında, tam ekran yükseklik */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 98;
  background: var(--white);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  height: 100vh;
}
.nav-mobile.open {
  display: block;
}
.nav-mobile-inner {
  padding: 1rem 1.5rem 3rem 1.5rem;
  padding-top: 3.5rem;
  position: relative;
  min-height: 100%;
  box-sizing: border-box;
}
.nav-mobile-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: var(--gray-700);
}
.nav-mobile-close:hover {
  background: var(--red);
  color: var(--white);
}
.nav-mobile a {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.nav-mobile a:hover {
  color: var(--red);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 60%);
  max-width: none;
  width: 100%;
}
.hero-logo {
  max-width: 320px;
  margin-bottom: 1.5rem;
}
.hero-tagline {
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.hero-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--gray-900);
  max-width: 560px;
  margin: 0 auto 1rem;
  line-height: 1.3;
}
.hero-desc {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 480px;
  margin: 0 auto 2rem;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  transition:
    background 0.2s,
    transform 0.15s;
}
.hero-cta:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* Hero image (right side on desktop) */
.hero-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  min-height: 100vh;
  padding-top: 5rem;
  padding-bottom: 4rem;
}
.hero-text {
  text-align: left;
}
.hero-text .hero-logo {
  margin-left: 0;
  margin-bottom: 1rem;
}
.hero-text .hero-tagline {
  text-align: left;
}
.hero-text .hero-badge {
  margin-bottom: 1rem;
}
.hero-text .hero-title {
  margin-left: 0;
  text-align: left;
}
.hero-text .hero-desc {
  margin-left: 0;
  text-align: left;
}
.hero-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image placeholders – gri kutu, görsel eklenene kadar */
.img-placeholder {
  min-height: 200px;
  background: #e5e7eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.8rem;
  overflow: hidden;
}
.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-placeholder .placeholder-label {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  text-align: center;
  font-size: 0.7rem;
  color: var(--gray-500);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.img-placeholder.loaded .placeholder-label {
  display: none;
}
.img-placeholder {
  position: relative;
}
.service-card .img-placeholder {
  min-height: 160px;
  aspect-ratio: 16/10;
}
.about-img-wrap .img-placeholder {
  min-height: 280px;
}

/* Sections common */
section {
  padding: var(--section-padding) 1rem;
  max-width: var(--container);
  margin: 0 auto;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

/* About */
.about {
  background: var(--white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  margin-top: 40px;
}
.about-content {
  display: grid;
  gap: 1.5rem;
}
.about-content p {
  font-size: 1.05rem;
  color: var(--gray-700);
}
.about-img-wrap {
  border-radius: 16px;
  overflow: hidden;
}

/* Services */
.services {
  background: var(--gray-100);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.25s,
    border-color 0.25s;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(228, 0, 43, 0.2);
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-card h3::before {
  content: "";
  width: 4px;
  height: 1.2em;
  background: var(--red);
  border-radius: 2px;
}
.service-card .img-placeholder {
  margin: -1.75rem -1.75rem 1rem -1.75rem;
  border-radius: 16px 16px 0 0;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* References – 6 şirket logosu */
.references {
  background: var(--white);
}
.refs-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.ref-logo {
  position: relative;
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.ref-logo:hover {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.ref-logo.img-placeholder {
  min-height: 0;
  aspect-ratio: 1;
}
.ref-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ref-logo .placeholder-label {
  font-size: 0.65rem;
}

/* Faaliyet gösterdiğimiz sektörler – marka renkleri */
.sectors-wrap {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-100);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.sectors-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
  margin-bottom: 1.5rem;
}
.sectors-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.sector-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 0.6rem 1.15rem;
  border-radius: 100px;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.sector-item:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

/* Standards */
.standards {
  background: var(--gray-100);
}
.standards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.standards-list span {
  display: inline-block;
  background: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Contact – modern kart + Google Maps */
.contact {
  background: var(--gray-100);
  padding: 0;
  color: var(--gray-700);
}
.contact-outer {
  max-width: none;
  width: 100%;
}
.contact-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px;
  text-align: center;
}
.contact .section-title {
  color: var(--gray-900);
}
.contact .section-subtitle {
  color: var(--gray-500);
}
.contact-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 0;
  max-width: none;
  margin: 0;
  min-height: 420px;
}
.contact-card {
  background: var(--white);
  padding: 2rem;
  display: flex;
  align-items: stretch;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.contact-card-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}
.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(228, 0, 43, 0.08);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg {
  width: 24px;
  height: 24px;
}
.contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.35rem;
}
.contact-value {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.5;
  margin: 0;
}
.contact-value a {
  color: var(--gray-900);
  font-weight: 500;
}
.contact-value a:hover {
  color: var(--red);
}
.contact-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.contact-map-wrap {
  min-height: 420px;
  background: #e5e7eb;
}
.contact-map {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  display: block;
}

/* Footer */
.footer {
  background: var(--gray-900);
  padding: 1.5rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer p {
  font-size: 0.85rem;
  color: var(--gray-300);
}
.footer a {
  color: var(--gray-300);
}
.footer a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .hero-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 5rem;
  }
  .hero-text {
    text-align: center;
  }
  .hero-text .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-text .hero-tagline {
    text-align: center;
  }
  .hero-text .hero-title {
    margin-left: auto;
    text-align: center;
  }
  .hero-text .hero-desc {
    margin-left: auto;
    text-align: center;
  }
  .hero-img-wrap {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-img-wrap {
    order: -1;
  }
  .refs-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .ref-logo {
    max-width: 100px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .contact-card {
    padding: 1.5rem;
  }
  .contact-map-wrap {
    min-height: 320px;
  }
  .contact-map {
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  .refs-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-logo {
    max-width: 120px;
  }
  .sectors-wrap {
    margin-top: 2.5rem;
    padding-top: 2rem;
  }
  .sectors-list {
    gap: 0.5rem;
  }
  .sector-item {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
  .standards-list {
    flex-direction: column;
  }
}
