:root{
  --bg:#000;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.65);
  --line:rgba(255,255,255,.18);
  --glass:rgba(0,0,0,.25);
  --page-padding: 32px;
}

*{ box-sizing:border-box; }
html, body { margin:0; padding:0; width:100%; overflow-x:hidden; height:100%; }
body.vp{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Smoke canvas */
#fluid{
  position:fixed;
  inset:0;
  width:100vw;
  height:100vh;
  z-index:3;
  pointer-events:none;
}

/* HERO */
.hero{
  position:relative;
  min-height: 900px;
  background:#000;
  z-index:2; /* canvas üstünde kalsın */
}

/* NAV */
.nav-wrap{
  position:absolute;
  top:0; left:0; right:0;
  z-index:50;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0));
}
.nav-inner{
  display:grid;
  grid-template-columns: 220px 1fr 220px;
  align-items:center;
  gap:16px;
  padding:24px var(--page-padding);
}
.brand img{ height:36px; display:block; }

.nav{
  display:flex;
  justify-content:center;
  gap:26px;
  flex-wrap:wrap;
}
/* MENU TYPOGRAPHY */
.nav-link{
  font-family: 'Spartan', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 17px;
  line-height: 26px;
  color: rgb(252, 252, 252);
  letter-spacing: 0.3px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: rgba(252,252,252,.9);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-link:hover{ color:var(--text); }
.nav-link.is-active{
  color:var(--text);
  border-bottom-color:rgba(255,255,255,.6);
}

.nav-social{
  display:flex;
  justify-content:flex-end;
  gap:14px;
}
.icon{
  color:var(--muted);
  text-decoration:none;
  width:34px; height:34px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(0,0,0,.25);
}
.icon:hover{ color:var(--text); border-color:rgba(255,255,255,.35); }

.nav-burger{
  display:none;
  justify-self:end;
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.25);
  cursor:pointer;
}
.nav-burger span{
  display:block;
  height:2px;
  margin:6px 10px;
  background:rgba(255,255,255,.75);
}
.nav-mobile{
  margin:0 16px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:16px;
  background:rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}
.nav-mobile a{
  display:block;
  padding:10px 6px;
  color: rgb(252, 252, 252);
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.08);
  font-family: 'Spartan', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 17px;
  line-height: 26px;
}
.nav-mobile a:last-child{ border-bottom:none; }
.nav-mobile a:hover{ color:var(--text); }

/* Slider */
.hero-slider{
  width:100%;
  height:900px; /* 1850x900 görünüm */
  background:#000;
}
.swiper-slide{ position:relative; }
.slide-bg{
  position:absolute;
  inset:0;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  background-color:#000;
}

/* optional text */
.hero-copy{
  position:absolute;
  left:50%;
  top:52%;
  transform:translate(-50%,-50%);
  text-align:center;
  padding:10px 16px;
  z-index:2;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.hero-title{
  font-size:52px;
  letter-spacing:2px;
  font-weight:300;
}
.hero-sub{
  margin-top:10px;
  font-size:13px;
  color:rgba(255,255,255,.75);
}
.hero-url{
  margin-top:14px;
  font-size:18px;
  letter-spacing:.8px;
  color:rgba(255,255,255,.88);
}

.hero-controls{
  position:absolute;
  left:0; right:0; bottom:18px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  z-index:10;
}
.swiper-pagination-bullet{
  background:rgba(255,255,255,.4);
  opacity:1;
}
.swiper-pagination-bullet-active{
  background:rgba(255,255,255,.9);
}
.hero-arrows{
  display:flex;
  gap:10px;
}
.swiper-button-prev,
.swiper-button-next{
  position:static;
  width:42px; height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.35);
}
.swiper-button-prev:after,
.swiper-button-next:after{
  font-size:14px;
  color:rgba(255,255,255,.9);
}

/* CONTENT */
.content{
  position:relative;
  z-index:2;
  background:#0b0b0b;
}

/* Services - 5 cards */
.services{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap:0;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  margin-left: var(--page-padding);
  margin-right: var(--page-padding);
}
.svc-card{
  min-height:320px;
  padding:34px 32px;
  text-decoration:none;
  color:rgba(255,255,255,.9);
  position:relative;
  overflow:hidden;
  border-right:1px solid rgba(255,255,255,.10);
}
.svc-card:last-child{ border-right:none; }
.svc-card:hover{
  filter:brightness(1.05);
}
.svc-head{
  margin-top:70px;
  text-align:center;
  line-height:1.05;
}
.svc-top{
  font-size:26px;
  letter-spacing:1px;
  opacity:.9;
}
.svc-title{
  font-size:26px;
  letter-spacing:1px;
  opacity:.85;
}
.svc-list{
  margin:48px 0 0 0;
  padding:0;
  list-style:none;
  color:rgba(255,255,255,.72);
  font-size:12px;
  line-height:1.7;
}
.svc-cta{
  margin-top:18px;
  font-size:18px;
  font-weight:600;
  color:rgba(255,255,255,.92);
}

/* Card colors (istersen değiştir) */
.svc-1{ background:#6b6b8d; }
.svc-2{ background:#6f96a6; }
.svc-3{ background:#7b4b65; }
.svc-4{ background:#5b4f7c; }
.svc-5{ background:#a58f52; }

/* FOOTER */
.footer{
  position:relative;
  z-index:2;
  background:#0a0d12;
  padding:80px var(--page-padding) 24px;
}
.footer-inner{
  display:flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding-bottom:22px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.footer-brand img{ height:38px; display:block; }
.footer-slogan{
  margin-top:10px;
  color:rgba(255,255,255,.72);
  font-size:13px;
}
.footer-social{
  display:flex;
  gap:12px;
}
.footer-bottom{
  max-width:1200px;
  margin:14px auto 0;
  text-align:center;
  color:rgba(255,255,255,.55);
  font-size:12px;
}

/* Responsive */
@media (max-width: 1100px){
  .nav-inner{
    grid-template-columns: 180px 1fr 180px;
    padding:24px var(--page-padding);
  }
  .hero-title{ font-size:40px; }
  .services{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .svc-card{
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.10);
  }
}
@media (max-width: 760px){

  :root{
    --page-padding: 18px;
  }

  .nav{ display:none; }
  .nav-social{ display:none; }
  .nav-burger{ display:block; }

  .hero-slider{
    height: 78vh;
    min-height: 520px;
  }

  .hero{
    min-height: 520px;
  }

  .services{
    grid-template-columns: 1fr;
  }

  .footer-inner{
    flex-direction: column;
    text-align: center;
  }

  .footer-social{
    justify-content: center;
  }
}
/* =========================================
   PROJECTS (Glimmer-style)
   - Grid below Services
   - Inline popup viewer with slider + thumbs
   ========================================= */

.projects{
  position: relative;
  z-index: 2;
  background: #0b0b0b;
  padding: 70px var(--page-padding) 90px;
}

.projects-head{
  max-width: 1200px;
  margin: 0 auto 22px;
}

.projects-title{
  margin: 0;
  font-family: 'Spartan', sans-serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 44px;
  letter-spacing: .8px;
  color: rgb(252,252,252);
}

.projects-sub{
  margin: 10px 0 0;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 29px;
  color: rgba(255,255,255,.72);
  max-width: 820px;
}

.projects-grid{
  max-width: 1200px;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pcard{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(0,0,0,.35);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
  text-decoration: none;
  color: inherit;
}
.pcard:hover{
  transform: translateY(-2px);
  filter: brightness(1.06);
  border-color: rgba(251,155,11,.25);
}
.pcard-cover{
  height: 160px;
  background: #000;
  background-size: cover;
  background-position: center;
}
.pcard-body{
  padding: 14px 14px 16px;
}
.pcard-title{
  margin: 0 0 8px;
  font-family: 'Spartan', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: rgb(252,252,252);
  letter-spacing: .2px;
}
.pcard-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: rgba(255,255,255,.72);
}
.tag--accent{
  border-color: rgba(251,155,11,.35);
  background: rgba(251,155,11,.10);
  color: rgb(251,155,11);
}

/* Viewer (inline popup) */
.pview[hidden]{ display:none; }

.pview{
  position: fixed;
  inset: 0;
  z-index: 80;
}

.pview-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.70);
}

.pview-panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1200px, calc(100% - 24px));
  height: min(720px, calc(100% - 24px));
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,10,10,.78);
  backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}

.pview-close{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.9);
  cursor: pointer;
}
.pview-close:hover{ filter: brightness(1.12); }

.pview-body{
  height: 100%;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
}

.pview-left{
  position: relative;
  border-right: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  display: grid;
  grid-template-rows: 1fr 120px;
}

.pview-main{
  width: 100%;
  height: 100%;
}
.pview-main .swiper-slide{
  height: 100%;
}
.pview-main .pimg{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pview-thumbs{
  width: 100%;
  height: 120px;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.pview-thumbs .swiper-slide{
  width: 92px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  opacity: .55;
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
}
.pview-thumbs .swiper-slide-thumb-active{
  opacity: 1;
  border-color: rgba(251,155,11,.35);
}
.pview-thumbs img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pnav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
}
.pview-main .swiper-button-prev{ left: 14px; }
.pview-main .swiper-button-next{ right: 14px; }
.pview-main .swiper-button-prev:after,
.pview-main .swiper-button-next:after{
  font-size: 14px;
  color: rgba(255,255,255,.92);
}

.pview-right{
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.pview-title{
  margin: 8px 0 12px;
  font-family: 'Spartan', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: .4px;
  color: rgb(252,252,252);
}

.pview-desc{
  margin: 0;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 29px;
  color: rgba(255,255,255,.78);
}

.pview-tags{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive */
@media (max-width: 1100px){
  .projects-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .pview-body{ grid-template-columns: 1fr; }
  .pview-left{ grid-template-rows: 1fr 110px; border-right: none; }
  .pview-right{ border-top: 1px solid rgba(255,255,255,.10); }
}
@media (max-width: 760px){
  .projects{ padding: 54px var(--page-padding) 70px; }
  .projects-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pcard-cover{ height: 140px; }
  .pview-panel{ height: min(760px, calc(100% - 24px)); }
}
