:root {
  --gold: #d4a017;
  --gold-hover: #c49210;
  --anthracite: #1f2329;
  --text: #2a2e35;
  --muted: #7a808a;
  --line: #e8eaee;
  --bg: #f5f6f8;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 88px;
  --font: "Montserrat", "Segoe UI", sans-serif;
  --shadow: 0 10px 30px rgba(20, 24, 30, 0.06);
}

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

html { scroll-behavior: smooth; height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(20, 24, 30, 0.08);
}

/* Ana sayfa: banner üstünde modern fixed header */
body.has-overlay-header .site-header.is-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.55) 0%, rgba(12, 14, 18, 0.18) 70%, transparent 100%);
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  box-shadow: none;
}

body.has-overlay-header .site-header.is-overlay.is-scrolled {
  background: rgba(18, 20, 24, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

body.has-overlay-header .site-header.is-overlay .primary-nav a {
  color: rgba(255, 255, 255, 0.9);
}

body.has-overlay-header .site-header.is-overlay .primary-nav a.is-active,
body.has-overlay-header .site-header.is-overlay .primary-nav a:hover {
  color: var(--gold);
}

body.has-overlay-header .site-header.is-overlay .nav-toggle {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

body.has-overlay-header .site-header.is-overlay .nav-toggle span {
  background: #fff;
}

/* Hero üste kadar tam ekran — header akışta yer kaplamasın */
body.has-overlay-header .site-main {
  padding-top: 0;
}

body.has-overlay-header .site-header.is-overlay + .site-main > .hero {
  margin-top: 0;
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.site-logo img {
  height: 46px;
  width: auto;
  filter: brightness(0);
}

body.has-overlay-header .site-header.is-overlay .site-logo img {
  filter: brightness(0) invert(1);
}

.logo-badge {
  display: none;
}

.primary-nav {
  justify-self: center;
  margin-left: 0;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.primary-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--anthracite);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.primary-nav a.is-active,
.primary-nav a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
  z-index: 2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-hover); }
.btn-dark { background: var(--anthracite); color: #fff; }
.btn-dark:hover { background: #2c323b; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--anthracite);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--anthracite);
}

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

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.5);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 14, 18, 0.45) 0%, transparent 28%),
    linear-gradient(90deg, rgba(12, 14, 18, 0.88) 0%, rgba(12, 14, 18, 0.5) 48%, rgba(12, 14, 18, 0.22) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 1.5rem) 0 4rem;
  max-width: 680px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: left;
}

.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  margin-top: 2rem;
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(212, 160, 23, 0.15);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  appearance: none;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.04), 0 0 0 20px rgba(255, 255, 255, 0.03);
}

.play-btn span {
  margin-left: 3px;
}

/* ========== SECTIONS ========== */
.section {
  padding: 5rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--anthracite);
  letter-spacing: -0.02em;
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--anthracite);
  text-align: left;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  min-height: 0;
  background: var(--bg);
}

.about-media.is-square {
  aspect-ratio: 1 / 1;
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.about-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--anthracite);
}

.about-copy > p {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
}

.feature-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--anthracite);
  line-height: 1.35;
}

.about-actions {
  display: flex;
  justify-content: flex-end;
}

/* ========== CARDS GRID ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 24, 30, 0.1);
}

.card-media {
  position: relative;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-body {
  padding: 1.15rem 1.15rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: end;
  flex: 1;
}

.card-cat {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.card-body h3 {
  margin: 0;
  grid-column: 1;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--anthracite);
}

.card-go {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--anthracite);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

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

.section-projects {
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 180 L60 40 L100 140 L140 20 L180 160' fill='none' stroke='%23e5e7eb' stroke-width='1'/%3E%3C/svg%3E");
}

/* ========== CONTACT / FOOTER ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
}

.contact-meta li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-meta span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: var(--anthracite);
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.95fr 1.1fr;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.1rem;
}

.footer-logo img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-about {
  margin: 0 0 1rem;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-tagline {
  margin: 0;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-col h4 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 500;
}

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

.footer-contact p { margin: 0 0 0.55rem; font-size: 0.92rem; }

.social-icons {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1608;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}

.social-row a { color: var(--gold); font-weight: 600; font-size: 0.88rem; }

.copyright {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.copyright a {
  color: var(--gold);
  font-weight: 600;
}

.copyright a:hover {
  text-decoration: underline;
}

/* Video popup */
.video-modal[hidden] { display: none !important; }

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 12, 0.78);
  backdrop-filter: blur(4px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  background: #0d0f12;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.video-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-frame iframe,
.video-modal-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
  background: #000;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.mission-box {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
}

.mission-box h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.mission-box p {
  margin: 0;
  color: var(--muted);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter-row a,
.filter-row span {
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.filter-row .is-active {
  background: var(--anthracite);
  border-color: var(--anthracite);
  color: #fff;
}

@media (max-width: 1100px) {
  .primary-nav ul { gap: 0.75rem; }
  .primary-nav a { font-size: 0.74rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .about-grid,
  .contact-layout,
  .mission-grid,
  .feature-row {
    grid-template-columns: 1fr;
  }

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

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle { display: inline-block; justify-self: end; }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
    position: absolute;
    inset: var(--header-h) 0 auto;
    justify-self: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    margin: 0;
  }

  .site-header.is-overlay .primary-nav,
  body.has-overlay-header .site-header.is-overlay .primary-nav {
    background: rgba(18, 20, 24, 0.96);
  }

  .site-header.is-overlay .primary-nav a,
  body.has-overlay-header .site-header.is-overlay .primary-nav a {
    color: rgba(255, 255, 255, 0.9);
  }

  .primary-nav.is-open { display: block; }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .header-actions .header-cta { display: none; }
}

@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
  }
  .hero-content {
    max-width: none;
  }
  .about-media,
  .about-media img { min-height: 0; }
}
