/* ----------------------------------------------------
   GLOBAL THEME
---------------------------------------------------- */
:root {
  --bg: #0f0f10;
  --bg2: #161618;
  --card: #1c1c1f;

  --text: #e6e6e6;
  --muted: #9c9c9c;

  --accent: #c48f3b;
  --accent2: #e6b46b;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 20px 50px rgba(0,0,0,0.38);

  --transition: 0.35s ease;
}

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

html, body {
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ----------------------------------------------------
   CONTAINER
---------------------------------------------------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
}

/* ----------------------------------------------------
   HEADER — FULL WIDTH
---------------------------------------------------- */
.header-full {
  width: 100%;
  background: var(--bg);
  padding: 16px 0;
  position: relative;
  z-index: 50;
}

.header-inner {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

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

.header-logo img {
  height: 40px;
  opacity: 0.95;
}

.header-logo span {
  letter-spacing: 0.18em;
  font-weight: 600;
}

.desktop-nav a {
  margin-left: 24px;
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

.desktop-nav a:hover {
  color: var(--accent);
}

/* ----------------------------------------------------
   HAMBURGER (mobile)
---------------------------------------------------- */
.hamburger {
    width: 34px;
    height: 26px;
    display: none; /* desktop */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 10000; /* menu'nun ÜSTÜNDE */
}

.hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    background: var(--text);
    border-radius: 4px;
}

/* ----------------------------------------------------
   MOBILE NAV — Modern Slide Menu
---------------------------------------------------- */

#mobile-nav {
    position: fixed !important;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: rgba(22, 22, 24, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: -8px 0 25px rgba(0,0,0,0.45);

    display: flex !important;
    flex-direction: column;
    padding: 60px 30px;
    gap: 22px;

    transition: right 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 9999 !important;
}

#mobile-nav.open {
    right: 0 !important;
}

#mobile-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: opacity 0.3s;
}

#mobile-nav a:hover {
    opacity: 0.65;
}

/* CLOSE BUTTON */
.mobile-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 1.9rem;
    cursor: pointer;
    color: var(--text);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.mobile-close:hover {
    opacity: 1;
}



/* ----------------------------------------------------
   HERO FULL WIDTH
---------------------------------------------------- */
.hero-full {
  width: 100%;
  height: 480px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: var(--shadow);
}

/* Particle canvas */
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Slides */
.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
}

/* Transparent background logo */
.hero-logo-big {
  position: absolute;
  right: 150px;     /* sağ tarafa aldık */
  top: 100px;
  height: 260px;
  opacity: 0.06;
  z-index: 2;
  pointer-events: none;
}

.hero-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  padding: 28px;
  max-width: 680px;
  border-radius: var(--radius-lg);
  z-index: 3;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.35rem;
  line-height: 1.25;
}

.hero-text span {
  color: var(--accent2);
}

.hero-text p {
  margin-top: 10px;
  color: var(--muted);
}

.btn-primary {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 20px;
  background: var(--accent);
  border-radius: 999px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--transition);
}

.btn-primary:hover {
  opacity: 0.85;
}
/* ----------------------------------------------------
   SECTIONS
---------------------------------------------------- */
.section {
  margin-top: 80px;
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.subtitle {
  color: var(--muted);
  margin-bottom: 20px;
}


/* ----------------------------------------------------
   HİZMETLER (CARDS)
---------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 170px;
  transition: transform var(--transition), background var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  background: #222225;
}

.card img {
  width: 40px;
  opacity: 0.9;
  margin-bottom: 10px;
}


/* ----------------------------------------------------
   PROJE SLIDER — FULL WIDTH (başlık + slider)
---------------------------------------------------- */

.project-full {
  width: 100%;
  margin-top: 80px;
  padding: 0 0 40px 0;
}

.full-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 4px;
}

.full-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 22px;
}

.project-slider {
  position: relative;
  height: 800px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 1150px;
}

.project-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.project-slide.active {
  opacity: 1;
}


/* ----------------------------------------------------
   SÜREÇ — INTERACTIVE GRID (tam sürüm)
---------------------------------------------------- */

/* -------- PROCESS V2 (COMPACT) -------- */
@media (max-width: 768px) {

  .process-grid-v2 {
    grid-template-columns: 1fr; /* Tek kolon */
    gap: 18px;
    max-width: 92%;            /* Kenarlardan boşluk */
  }

  .process-card {
    padding: 18px 16px;
    min-height: auto;
  }

  .pc-num {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .process-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .process-card p {
    font-size: 13px;
    line-height: 1.35;
  }

  .pc-line {
    margin-top: 10px;
  }
}

/* Çok küçük ekran (iPhone SE, 360px) */
@media (max-width: 420px) {

  .pc-num {
    font-size: 24px;
  }

  .process-card h3 {
    font-size: 16px;
  }

  .process-card p {
    font-size: 12px;
  }

  .process-grid-v2 {
    max-width: 95%;
  }
}
.process-section {
  text-align: center;
  margin-top: 60px;
}

.process-title {
  font-size: 34px;
  font-family: "Playfair Display";
  margin-bottom: 6px;
}

.process-grid-v2 {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center; /* her eleman merkez alınır */
}

/* Kartların kendi genişliği */
.process-card {
  width: 100%;
  max-width: 260px; /* tüm kartları eşitler ve hizalar */
}
.process-card {
  background: #111;
  border-radius: 14px;
  padding: 22px 20px;  /* <-- Daha dar padding */
  position: relative;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s ease;
  text-align: left;
  min-height: 190px;   /* <-- Aynı boy korunuyor */
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 18px rgba(196,143,59,0.18);
  border-color: rgba(196,143,59,0.45);
}

.pc-num {
  font-size: 34px;    /* <-- Küçüldü */
  font-weight: 600;
  color: var(--accent2);
  margin-bottom: 10px;
  opacity: 0.9;
}

.process-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
  font-family: "Playfair Display";
}

.process-card p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.45;
}

.pc-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
  margin-top: 12px;
  opacity: 0.35;
}


/* Mobile optimize */
@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-item {
    transform: none !important;
  }
  .hero-logo-big {
    right: 10px;
    top: 20px;
    height: 180px;
  }
}


/* ----------------------------------------------------
   CONTACT BOX
---------------------------------------------------- */
.contact-section {
  padding-top: 60px;
}

.dark-subtitle {
  color: #ddd;
  margin-bottom: 40px;
}

.contact-wrapper {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* LEFT SIDE */
.contact-info {
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 16px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}

.ci-icon {
  font-size: 26px;
}

.contact-item strong {
  font-size: 16px;
  color: #fff;
}

.contact-item a {
  color: var(--accent2);
  text-decoration: none;
}

.contact-actions {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

/* OUTLINE BUTTON */
.btn-outline {
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid var(--accent2);
  color: var(--accent2);
  transition: 0.2s;
}

.btn-outline:hover {
  background: var(--accent2);
  color: #000;
}

/* RIGHT SIDE */
.contact-map {
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
}
#map {
  width: 100%;
  height: 320px;
  margin-top: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* MOBILE */
@media(max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-map {
    order: -1;
  }
}


/* ----------------------------------------------------
   FOOTER — FULL WIDTH
---------------------------------------------------- */
.footer-full {
  width: 100%;
  margin-top: 80px;
  padding: 50px 0;
  background: var(--bg2);
}

.footer-grid {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 12px;
}

footer h4 {
  margin-bottom: 12px;
  color: var(--accent2);
}

footer a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  text-decoration: none;
  transition: color var(--transition);
}

footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  color: var(--muted);
  margin-top: 40px;
  font-size: 0.9rem;
}


/* ----------------------------------------------------
   REVEAL
---------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}


/* ----------------------------------------------------
   RESPONSIVE
---------------------------------------------------- */
@media (max-width: 900px) {
    .desktop-nav {
        display: none !important;
    }
    .hamburger {
        display: flex !important;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10000; /* Menü ve diğer canvasların üzerinde */
    }
}

#logo-particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    z-index: 3; /* Hero text'in ÜSTÜNDE olmalı */
}
@media (max-width: 768px) {
    #logo-particle-canvas {
        display: none !important;
    }
}
#via-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
/* ----------------------------------------------------
   BAŞA DÖN BUTONU
---------------------------------------------------- */

#back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 50px;
    height: 50px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 28px;
    color: var(--text);

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 14px;
    cursor: pointer;

    opacity: 0;
    pointer-events: none; /* Tıklanmayı engelle */
    transform: translateY(15px);
    transition: 0.35s ease;
    z-index: 999999;
}

/* Görünür olduğunda */
#back-to-top.show {
    opacity: 1;
    pointer-events: auto; /* Aktif */
    transform: translateY(0);
}

/* Hover efekti */
#back-to-top:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobilde biraz daha küçük olabilir */
@media (max-width: 600px) {
    #back-to-top {
        width: 44px;
        height: 44px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

