:root {
  --primary: #1F2937;
  --secondary: #D4AF37;
  --ink: #111827;
  --text: #374151;
  --muted: #6B7280;
  --light: #F9FAFB;
  --white: #fff;

  /* Tema bazlı değişkenler */
  --card-bg: var(--white);
  --card-text: var(--ink);
  --card-subtext: var(--text);
  --card-border: #e5e7eb;
  --card-shadow: rgba(0,0,0,0.05);
}

/* Koyu tema olduğunda CSS değişkenleri değişir */
.section.dark {
  --card-bg: #2c2f35;
  --card-text: #f3f4f6;
  --card-subtext: #d1d5db;
  --card-border: rgba(255,255,255,0.15);
  --card-shadow: rgba(0,0,0,0.3);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

.wrap {
  width: min(95vw, 1280px);
  margin-inline: auto;
}

/* --- Bölüm yapısı --- */
.section {
  padding: 72px 0;
}
.section.alt {
  background: var(--light);
}
.section.dark {
  background: var(--primary);
  color: var(--white);
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  margin: 0 0 8px;
  color: var(--primary);
}
.section.dark .section-title {
  color: var(--secondary);
}
.section-sub {
  color: var(--muted);
  margin: 0 0 32px;
}
.section-sub.light {
  color: #D1D5DB;
}

/* --- Üst Menü --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(125%) blur(8px);
  border-bottom: 1px solid #e5e7eb;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.brand img {
  height: 66px;
  display: block;
}
.nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
}
.nav a {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 10px 4px;
  position: relative;
}
.nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav a:hover:after {
  transform: scaleX(1);
}

/* --- Mobil Menü --- */
.hamburger {
  display: none;
  position: relative;
  width: 40px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hamburger span {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 2px;
  background: var(--primary);
  transition: transform .25s, top .25s, opacity .25s;
}
.hamburger span:nth-child(1) { top: 6px; }
.hamburger span:nth-child(2) { top: 13px; }
.hamburger span:nth-child(3) { top: 20px; }
.nav.open { display: flex; }

@media(max-width:900px) {
  .hamburger { display: block; margin-left: auto; }
  .nav {
    position: absolute;
    inset: 60px 0 auto 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
  }
  .nav a {
    padding: 14px 20px;
    border-top: 1px solid #f3f4f6;
  }
  .nav.open { display: flex; }
  .hamburger.active span:nth-child(1) { top: 13px; transform: rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { top: 13px; transform: rotate(-45deg); }
}

/* --- Hero Alanı --- */
.hero {
  position: relative;
  min-height: 60vh;
  display: grid;
  place-items: center;
  background: #0b1526;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('hero.avif') center/cover no-repeat;
  filter: brightness(.55);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,.5));
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 64px 0;
}
.hero-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #fff;
}
.hero-text h1 span {
  color: var(--secondary);
}
.hero-text p {
  color: #E5E7EB;
  margin: 0;
  max-width: 65ch;
}
@media(max-width:900px) {
  .hero-text h1 { font-size: 2.2rem; }
}

/* --- Kartlar --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  color: var(--card-text);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 3px 8px var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 18px;
}
.card-body h3 {
  margin: 0 0 6px;
  font-family: 'Montserrat', sans-serif;
  color: var(--card-text);
}
.card-body p {
  color: var(--card-subtext);
}

@media(max-width:900px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px) {
  .cards { grid-template-columns: 1fr; }
  .card-img img { height: 200px; }
}

/* --- Değerler / Harita / Footer --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.value-box {
  background: #ffffff0d;
  border: 1px solid #ffffff22;
  border-radius: 12px;
  padding: 18px;
}
.value-box h4 {
  margin: 4px 0 6px;
  color: var(--secondary);
}
@media(max-width:900px) { .value-grid { grid-template-columns: 1fr; } }

iframe {
  border: 0;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  margin-top: 16px;
}

.site-footer {
  background: #111827;
  color: #9CA3AF;
  padding: 20px 0;
  margin-top: 24px;
  text-align: center;
}

   .hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* karartma efekti */
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1; /* metinler üstte kalsın */
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  line-height: 1.5;
}

.section.dark .card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #f9fafb;
}

.section.dark .card h3 {
  color: #ffffff;
}

.section.dark .card p {
  color: #f0f0f0;
}

/* --- Parallax arka plan --- */
.section.parallax {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

@media (max-width: 900px) {
  .section.parallax {
    background-attachment: scroll; /* mobilde sabit bırakma */
  }
}
.modal {
  display:none;
  position:fixed;
  z-index:2000;
  inset:0;
  background:rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  align-items:center;
  justify-content:center;
}

.modal-content {
  background:#fff;
  border-radius:12px;
  max-width:900px;
  width:90%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  position:relative;
}

.modal-body {
  display:flex;
  flex-direction:row;
  gap:20px;
  padding:20px;
}

.modal .close {
  position:absolute;
  top:10px; right:14px;
  font-size:28px;
  color:#444;
  cursor:pointer;
}

.slider {
  position:relative;
  width:50%;
  overflow:hidden;
}

.slides img {
  width:100%;
  height:350px;
  object-fit:cover;
  display:none;
}

.slides img.active {
  display:block;
}

.slider .prev, .slider .next {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.4);
  color:white;
  border:none;
  font-size:24px;
  cursor:pointer;
  padding:4px 10px;
}

.slider .prev { left:6px; }
.slider .next { right:6px; }

.project-info {
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.project-info h3 {
  margin-bottom:10px;
  color:#1F2937;
  font-family:'Montserrat',sans-serif;
}


