:root{
  --bg:#0f1115;
  --text:#f4f6ff;
  --muted:#c6cbe0;
  --line:rgba(255,255,255,.10);
  --brand:#6ea8fe;
  --shadow: 0 12px 28px rgba(0,0,0,.35);
  --radius:18px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(900px 600px at 10% -10%, rgba(110,168,254,.18), transparent 60%),
              radial-gradient(900px 600px at 90% 0%, rgba(110,168,254,.10), transparent 55%),
              var(--bg);
  color:var(--text);
}

a{color:var(--text); text-decoration:none}
a:hover{color:var(--brand)}

.container{width:min(1100px, 92vw); margin:0 auto}

.navbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(15,17,21,.75);
  border-bottom:1px solid var(--line);
}
.navbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{font-weight:800; letter-spacing:.4px}
.menu{display:flex; gap:14px; align-items:center; flex-wrap:wrap;}
.menu a{color:rgba(244,246,255,.85)}
.menu a.active{color:#fff}
.btn-menu{
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color:#fff;
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
}

.dropdown{position:relative}
.dropdown-panel{
  position:absolute; top:110%; right:0;
  min-width: 280px;
  background: rgba(23,26,33,.98);
  border:1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding:10px;
  display:none;
}
.dropdown.open .dropdown-panel{display:block}
.dropdown-panel a{display:block; padding:10px; border-radius:12px;}
.dropdown-panel a:hover{background: rgba(255,255,255,.06)}

.hero{
  margin:18px 0 10px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
}
.hero-img{
  height: 300px;
  background-size: cover;
  background-position: center;
  position:relative;
}
.hero-img::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(15,17,21,.15), rgba(15,17,21,.92));
}
.hero-body{padding:16px 18px 18px;}
.hero-title{font-size:1.55rem; margin:0 0 6px}
.hero-sub{color:rgba(244,246,255,.72); margin:0; max-width: 80ch; line-height:1.6}

.hero-actions{
  display:flex;
  gap:12px;
  margin-top:14px;
  flex-wrap:wrap;
}

.btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:rgba(244,246,255,.92);
  font-weight:800;
}
.btn-ghost:hover{
  background:rgba(255,255,255,.10);
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
  margin: 14px 0 24px;
}
.card{
  grid-column: span 3;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  overflow:hidden;
}
.card-top{padding:16px 16px 8px; display:flex; gap:12px; align-items:center}
.card-top img{width:44px; height:44px; object-fit:contain}
.card h3{margin:0; font-size:1.05rem}
.card p{margin:8px 0 0; color:rgba(244,246,255,.75); line-height:1.5}
.card-foot{padding:12px 16px 16px; display:flex; justify-content:flex-end;}
.primary{
  border:none;
  background: var(--brand);
  color:#0b1220;
  padding:10px 12px;
  border-radius: 12px;
  font-weight:800;
  cursor:pointer;
}
.primary:hover{filter:brightness(1.05)}

.section{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
  padding:18px;
  margin: 14px 0;
}
.section h1, .section h2{margin:0 0 10px}
.section p{color:rgba(244,246,255,.78); line-height:1.7; white-space:pre-line}

.list{display:flex; gap:10px; flex-wrap:wrap; padding:0; margin:8px 0 0; list-style:none;}
.chip{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding:8px 10px;
  border-radius:999px;
  color:rgba(244,246,255,.85);
}

.timeline{display:grid; gap:10px; margin-top:10px;}
.t-item{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  padding:12px;
  display:grid;
  grid-template-columns: 90px 1fr;
  gap:10px;
}
.t-year{font-weight:900; color:#fff}
.t-text{color:rgba(244,246,255,.78)}

.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}
.g-item{
  grid-column: span 4;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid var(--line);
  cursor:pointer;
  background: rgba(255,255,255,.04);
}
.g-item img{width:100%; height:220px; object-fit:cover; display:block}

.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(244,246,255,.88);
  font-weight:700;
  font-size:.9rem;
}

.footer{
  margin-top: 22px;
  padding: 18px 0 30px;
  border-top:1px solid var(--line);
  color:rgba(244,246,255,.70);
}
.footer-row{display:flex; gap:12px; justify-content:space-between; align-items:flex-start; flex-wrap:wrap;}
.social a{margin-right:10px; color:rgba(244,246,255,.85)}
.small-links a{display:inline-block; margin-right:10px; color:rgba(244,246,255,.75)}

.notice{
  margin-top:10px;
  padding:12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(244,246,255,.78);
}

.formgrid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
  margin-top:10px;
}
.field{grid-column: span 6; padding:16px; border:1px solid var(--line); border-radius:16px; background: rgba(255,255,255,.03);}
.field.full{grid-column: span 12;}
.input, .textarea{
  width:100%;
  margin-top:6px;
  padding:10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#fff;
  outline:none;
}
.textarea{resize:vertical}

.modal-backdrop{
  position:fixed; inset:0; background: rgba(0,0,0,.6);
  display:none; z-index:80;
}
.modal{
  position:fixed; inset:0;
  display:none; z-index:90;
  align-items:center; justify-content:center;
  padding:18px;
}
.modal.open, .modal-backdrop.open{display:flex}
.modal-card{
  width:min(760px, 96vw);
  background: rgba(23,26,33,.98);
  border:1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal-head{
  padding:14px 16px;
  display:flex; justify-content:space-between; align-items:center;
  border-bottom:1px solid var(--line);
}
.modal-body{padding:14px 16px; color:rgba(244,246,255,.85); line-height:1.7}
.closex{
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color:#fff;
  padding:8px 10px;
  border-radius: 12px;
  cursor:pointer;
}

@media (max-width: 980px){
  .card{grid-column: span 6}
  .g-item{grid-column: span 6}
}
@media (max-width: 560px){
  .card{grid-column: span 12}
  .g-item{grid-column: span 12}
  .hero-img{height:240px}
  .field{grid-column: span 12;}
}

.quick-grid{
  display:grid;
  grid-template-columns: 1.4fr .6fr;
  gap:14px;
  align-items:start;
}

.quick-list{
  margin:12px 0 0;
  padding-left: 18px;
  color: rgba(244,246,255,.78);
  line-height:1.8;
}

.quick-cards{
  display:grid;
  gap:12px;
}

.qcard{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 12px;
}

.qtitle{
  font-weight: 900;
  margin-bottom: 6px;
}

.qtext{
  color: rgba(244,246,255,.78);
  line-height:1.5;
}

@media (max-width: 900px){
  .quick-grid{ grid-template-columns: 1fr; }
}

.footer-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.footer-col{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.footer-brand{
  font-weight:900;
  font-size:1.1rem;
}

.footer-desc{
  color: rgba(244,246,255,.7);
  max-width: 32ch;
  line-height:1.6;
}

.footer-title{
  font-weight:900;
  margin-bottom:4px;
}

.footer-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.footer-list a{
  color: rgba(244,246,255,.85);
}

.footer-edu a{
  font-weight:700;
}

.muted{
  color: rgba(244,246,255,.45);
  font-size:.95rem;
}

@media (max-width: 900px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px){
  .footer-grid{
    grid-template-columns: 1fr;
  }
}

.work-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}

.work-box{
  grid-column: span 4;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 12px;
}

.work-title{
  font-weight: 900;
  margin-bottom: 6px;
}

.work-text{
  color: rgba(244,246,255,.78);
  line-height: 1.6;
}

.work-list{
  margin:0;
  padding-left: 18px;
  color: rgba(244,246,255,.78);
  line-height:1.8;
}

@media (max-width: 900px){
  .work-box{ grid-column: span 12; }
}

.work-card{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap:12px;
  align-items:stretch;
}

.work-img{
  width:100%;
  height: 180px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  object-fit: cover;
  background: rgba(255,255,255,.04);
}

.work-actions{
  display:flex;
  gap:10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.work-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(244,246,255,.92);
  font-weight: 800;
}

.work-btn:hover{ background: rgba(255,255,255,.10); }

.work-btn.primary{
  background: var(--brand);
  color:#0b1220;
  border:none;
}

.work-btn.primary:hover{ filter: brightness(1.05); }

@media (max-width: 900px){
  .work-card{ grid-template-columns: 1fr; }
  .work-img{ height: 220px; }
}

.work-meta{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:10px;
  color: rgba(244,246,255,.70);
}

.progress-wrap{
  width: min(260px, 100%);
  height: 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  overflow:hidden;
}

.progress-bar{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: rgba(244,246,255,.85);
}

/* ===== NAVBAR: sticky + mobil hamburger menu ===== */
.navbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.hamburger{
  display:none;
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  cursor:pointer;

  display:flex;
  flex-direction: column;   /* 👈 BU ÖNEMLİ */
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:0;
}

.hamburger span{
  display:block;
  width:18px; height:2px;
  background: rgba(244,246,255,.90);
  border-radius: 2px;
}

.menu a.active{
  color: rgba(244,246,255,.98);
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Hamburger X animasyonu */
.hamburger span{
  transition: transform .25s ease, opacity .25s ease;
}

.hamburger.active span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* Dropdown panel (masaüstü) */
.dropdown{ position: relative; }
.dropdown-panel{
  display:none;
  position:absolute;
  right:0;
  top: 44px;
  min-width: 240px;
  border:1px solid var(--line);
  background: rgba(20,22,28,.92);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
}
.dropdown-panel.open{ display:block; }
.dropdown-panel a{
  display:block;
  padding:10px 10px;
  border-radius: 10px;
}
.dropdown-panel a:hover{
  background: rgba(255,255,255,.06);
}

/* Mobil davranış */
@media (max-width: 820px){
  .hamburger{ display:flex; }

  .menu{
    display:none;
    width:100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .menu.open{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .dropdown-panel{
    position: static;
    width:100%;
    margin-top: 8px;
    box-shadow: none;
    background: rgba(255,255,255,.04);
  }
}

/* ===== Scroll to top button ===== */
.to-top{
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color:#fff;
  cursor:pointer;
  display:none;
  align-items:center;
  justify-content:center;
  backdrop-filter: blur(6px);
  z-index: 60;
}
.to-top.show{ display:flex; }

.hero { position: relative; }

.hero-slide-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  cursor:pointer;
  font-size:28px;
}

.hero-prev{ left:12px; }
.hero-next{ right:12px; }
/* HERO alanını büyüt */
.hero{
  position: relative;
  /* .hero{ min-height:70vh; } */
  overflow: hidden;
  border-radius: 16px;     /* sende radius varsa uyumlu kalsın */
}

/* Resim katmanı: tüm hero’yu kaplasın */
.hero-img{
  position: absolute;
  inset: 0;                /* top:0 right:0 bottom:0 left:0 */
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Yazılar ve butonlar resmin üstünde kalsın */
.hero-body,
.hero-actions{
  position: relative;
  z-index: 3;
}

/* Ok butonları da üstte kalsın */
.hero-slide-btn{
  z-index: 4;
}

/* İstersen okunurluk için koyu overlay */
.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 2;
}

body{
  background: linear-gradient(
    180deg,
    #050505 0%,
    #1a1a1a 100%
  );
  color: #fff;
}

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap:16px;
  margin-top:32px;
}

.gallery-item{
  position:relative;
  overflow:hidden;
  border-radius:16px;
  cursor:pointer;
  background:#111;
}

.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}

.gallery-item:hover img{
  transform:scale(1.08);
}

/* hover overlay */
.gallery-item::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0),
    rgba(0,0,0,.6)
  );
  opacity:0;
  transition:.3s;
}

.gallery-item:hover::after{
  opacity:1;
}
/* Galeri düzeni */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(230px,1fr));
  gap:18px;
  margin-top:28px;
}

/* Kart */
.gallery-item{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:#101010;
  border:1px solid rgba(255,255,255,.06);
  cursor:pointer;
}

/* Görsel oranı sabit (çok iyi durur) */
.gallery-item img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  display:block;
  transform:scale(1);
  transition: transform .35s ease, opacity .35s ease;
}

/* Hover */
.gallery-item:hover img{
  transform:scale(1.06);
  opacity:.95;
}

/* Ufak gradient overlay */
.gallery-item::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.55) 100%);
  opacity:0;
  transition:.25s ease;
}
.gallery-item:hover::after{ opacity:1; }

.hero{ position: relative; min-height: 70vh; overflow:hidden; }
.hero-img{ position:absolute; inset:0; width:100%; height:100%; }

.bg-slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: background-image 1s ease-in-out;
}

/* içerik okunurluğu */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: -1;
}

.hero { background: transparent !important; }

.hero-img {
  background: none !important;
}

.hero-img,
.hero-slide-btn {
  display: none !important;
}

/* Global background varken hero slider'ı kapat (en garanti) */
#heroImg,
.hero-slide-btn {
  display: none !important;
}

/* Hero'nun kendi arkaplanı varsa şeffaf olsun */
.hero {
  background: transparent !important;
}

/* ===== GLOBAL BG SLIDER AÇIKKEN HERO SLIDER'INI KAPAT ===== */
#bgSlider ~ * .hero {
  min-height: auto !important;
  box-shadow: none !important;
}

#bgSlider ~ * #heroImg,
#bgSlider ~ * .hero-img,
#bgSlider ~ * .hero-slide-btn {
  display: none !important;
}

/* Hero kart çerçevesi görünmesin diyorsan (opsiyonel) */
#bgSlider ~ * .hero {
  border: 0 !important;
  background: transparent !important;
}
.tech-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap:20px;
}

.tech-card{
  background: radial-gradient(circle at top, rgba(150,80,255,.25), transparent 60%),
              rgba(255,255,255,.03);
  border:1px solid rgba(150,80,255,.35);
  border-radius:18px;
  padding:24px;
  text-align:center;
  cursor:pointer;
  transition:.3s;
}

.tech-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(150,80,255,.45);
}

.tech-card img{
  width:64px;
  margin-bottom:12px;
}

.tech-card h3{
  margin:6px 0;
}

.tech-card span{
  display:block;
  margin-top:10px;
  font-size:.9rem;
  color:var(--brand);
}

.modal.open,
.modal-backdrop.open {
  display: flex;
}

.modal,
.modal-backdrop {
  display: none;
}

.tech-icon{
  width:64px;
  height:64px;
  object-fit:contain;
  display:block;
  margin:0 auto 12px;
  filter: drop-shadow(0 0 14px rgba(150,80,255,.35));
}

.tech-icon{
  width:64px;
  height:64px;
  object-fit:contain;
  display:block;
  margin:0 auto 12px;
}

.tech-icon{
  display:block !important;
  width:64px !important;
  height:64px !important;
  opacity:1 !important;
  visibility:visible !important;
}
