
:root{
  --graphite-950:#14171A;
  --graphite-900:#1B1F23;
  --graphite-800:#23282D;
  --steel-500:#6C747B;
  --steel-300:#A6AEB4;
  --steel-200:#D8DCDF;
  --paper-50:#F2F1EC;
  --paper-100:#E8E6DE;
  --blueprint:#6FA4FF;
  --accent:#1B3FA8;
  --accent-dim:#122C7C;
  --radius:2px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--paper-50);
  color:var(--graphite-950);
  font-family:'IBM Plex Sans', sans-serif;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--accent); color:#fff;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.mono{font-family:'IBM Plex Mono', monospace; letter-spacing:.02em;}
h1,h2,h3{
  font-family:'Big Shoulders Display', sans-serif;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.01em;
  line-height:.95;
}
.wrap{max-width:1240px; margin:0 auto; padding:0 32px;}
@media(max-width:640px){.wrap{padding:0 20px;}}

/* focus visibility */
a:focus-visible, button:focus-visible{outline:2px solid var(--accent); outline-offset:3px;}
@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important;}
}

/* ---------- NAV ---------- */
header{
  position:sticky; top:0; z-index:100;
  background:rgba(242,241,236,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--paper-100);
}
nav{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.logo{
  font-family:'Big Shoulders Display', sans-serif;
  font-weight:800; font-size:26px; letter-spacing:.02em;
  display:flex; align-items:center; gap:10px;
}
.logo .dot{width:9px; height:9px; background:var(--accent); display:inline-block;}
.logo-img{height:45px; width:auto; display:block;}
footer .logo-img{height:30px;}
.nav-links{display:flex; gap:36px; font-size:14px; font-weight:500;}
.nav-links a{position:relative; padding:4px 0; color:var(--graphite-800);}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--accent);
  transition:width .25s ease;
}
.nav-links a:hover::after{width:100%;}
.nav-cta{
  display:flex; align-items:center; gap:18px;
}
.phone{
  font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--graphite-800);
  display:flex; align-items:center; gap:8px;
}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 22px;
  font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.06em;
  border:1px solid var(--graphite-950);
  background:var(--graphite-950); color:var(--paper-50);
  cursor:pointer;
  transition:background .2s ease, color .2s ease, transform .15s ease;
}
.btn:hover{background:var(--accent); border-color:var(--accent); transform:translateY(-1px);}
.btn.ghost{background:transparent; color:var(--graphite-950);}
.btn.ghost:hover{background:var(--graphite-950); color:var(--paper-50);}
.menu-toggle{display:none;}
@media(max-width:900px){
  .nav-links{display:none;}
  .phone{display:none;}
}

/* ---------- TABBED MEGA MENU ---------- */
.mm-trigger{
  background:none; border:none; cursor:pointer;
  font-family:'IBM Plex Sans', sans-serif; font-size:14px; font-weight:500;
  color:var(--graphite-800); display:flex; align-items:center; gap:6px;
  padding:4px 0;
}
.mm-chevron{font-size:10px; transition:transform .2s ease; color:var(--steel-500);}
.mm-trigger[aria-expanded="true"] .mm-chevron{transform:rotate(180deg); color:var(--accent);}

.mega-menu{
  display:none;
  position:absolute; left:0; right:0; top:100%;
  background:var(--paper-50);
  border-top:2px solid var(--accent);
  border-bottom:1px solid var(--steel-200);
  box-shadow:0 24px 48px rgba(0,0,0,.14);
  max-height:calc(100vh - 76px);
  overflow-y:auto;
}
.mega-menu.open{display:block;}

.mm-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 32px;
  min-height: 440px;
}

.mm-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--paper-100);
  padding-right: 24px;
}

.mm-tab {
  background: none;
  border: none;
  text-align: left;
  padding: 10px 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite-800);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mm-tab .mm-idx {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--steel-500);
  transition: color 0.2s ease;
}

.mm-tab:hover, .mm-tab.active {
  background: var(--paper-100);
  color: var(--accent);
}

.mm-tab.active .mm-idx {
  color: var(--accent);
}

.mm-content {
  position: relative;
}

.mm-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.mm-pane.active {
  display: block;
}

.pane-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--graphite-950);
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--steel-200);
}

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

.pane-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pane-grid a {
  font-size: 13px;
  color: var(--steel-500);
  line-height: 1.4;
  display: block;
  transition: color 0.15s ease;
}

.pane-grid a:hover {
  color: var(--accent);
}

.mm-subgroup {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--graphite-800);
  margin-top: 8px;
  padding-top: 6px;
}

.pane-grid ul:first-child .mm-subgroup:first-child {
  margin-top:0; padding-top:0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media(max-width: 900px) {
  .mm-layout {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
  .mm-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--steel-200);
    padding-bottom: 16px;
    padding-right: 0;
  }
  .mm-tab {
    padding: 12px;
    border-bottom: 1px solid var(--paper-100);
  }
  .mm-tab:last-child {
    border-bottom: none;
  }
}

/* ---------- HERO SLIDER ---------- */
.hero {
  background: var(--graphite-950);
  color: var(--paper-50);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #000;
}

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  padding: 64px 0;
  align-items: center;
}

@media(max-width:960px){ 
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 60px; } 
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; color: var(--blueprint);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}

.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--blueprint); }

.hero h1 {
  font-size: clamp(44px, 6vw, 78px);
  color: var(--paper-50);
}
.hero h1 span { color: var(--steel-300); }

.hero p.lede {
  max-width: 460px; margin-top: 24px;
  color: var(--steel-300); font-size: 16px; line-height: 1.6;
}

.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero .btn { border-color: var(--paper-50); }
.hero .btn:not(.ghost) { background: var(--paper-50); color: var(--graphite-950); }
.hero .btn:not(.ghost):hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero .btn.ghost { color: var(--paper-50); }
.hero .btn.ghost:hover { background: var(--paper-50); color: var(--graphite-950); }

.spec-row {
  display: flex; gap: 36px; margin-top: 56px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.14);
  flex-wrap: wrap;
}
.spec-row div { font-family: 'IBM Plex Mono', monospace; }
.spec-row .num { font-size: 22px; color: var(--paper-50); display: block; }
.spec-row .label { font-size: 11px; color: var(--steel-500); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Görsel ve Hover Zoom Efekti ---------- */
.hero-image-box {
  position: relative;
  z-index: 2;
  overflow: hidden; /* Dışa taşmayı engeller */
  border-radius: var(--radius);
  /* box-shadow: 0 24px 48px rgba(0,0,0,0.4); */
}

.hero-image-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease; /* Yumuşak geçiş */
}

/* Ürün detay sayfası: tüm ürün görselleri aynı standart oranda */
.product-hero-image{
  aspect-ratio: 4/3;
  background: var(--paper-100);
  display: flex; align-items: center; justify-content: center;
}
.product-hero-image img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.product-hero-image svg{width:60%; stroke:var(--steel-500); stroke-width:1; fill:none;}

/* Mouse üzerine geldiğinde %10 büyüme (zoom) efekti */
.hero-image-box:hover img {
  transform: scale(1.1);
}

/* ---------- Slider Navigasyon Kontrolleri ---------- */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}
.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}
.slider-btn.prev { left: 24px; }
.slider-btn.next { right: 24px; }

@media(max-width:960px){
  .slider-btn.prev { left: 12px; }
  .slider-btn.next { right: 12px; }
}

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.dot:hover { background: rgba(255,255,255,0.6); }
.dot.active { background: var(--accent); transform: scale(1.2); }

/* ---------- TRUST STRIP ---------- */
.trust{
  background:var(--paper-100);
  border-bottom:1px solid var(--steel-200);
}
.trust .wrap{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:18px;
  padding:22px 32px; font-family:'IBM Plex Mono', monospace; font-size:12px;
  color:var(--graphite-800);
}
.trust span b{color:var(--accent); font-weight:500;}

/* ---------- SECTION HEAD ---------- */
.section{padding:100px 0;}
.section.tight{padding:70px 0;}
.sec-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:24px; margin-bottom:52px; flex-wrap:wrap;
}
.sec-head .tag{
  font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--accent);
  text-transform:uppercase; letter-spacing:.08em; margin-bottom:12px; display:block;
}
.sec-head h2{font-size:clamp(30px,4vw,46px);}
.sec-head p{max-width:380px; color:var(--steel-500); font-size:14.5px; line-height:1.6;}

/* ---------- CATEGORIES ---------- */
.cat-grid{
  display:grid; grid-template-columns:repeat(2, 1fr); gap:1px;
  background:var(--steel-200);
  border:1px solid var(--steel-200);
}
@media(max-width:860px){.cat-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.cat-grid{grid-template-columns:1fr;}}
.cat-card{
  background:var(--paper-50);
  padding:34px 28px;
  position:relative;
  min-height:210px;
  display:flex; flex-direction:column; justify-content:space-between;
  transition:background .2s ease;
}
.cat-card:hover{background:var(--graphite-950); color:var(--paper-50);}
.cat-card:hover .cat-index, .cat-card:hover .cat-arrow{color:var(--blueprint);}
.cat-card:hover svg{stroke:var(--paper-50);}
.cat-index{
  font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--steel-500);
}
.cat-icon{margin:18px 0;}
.cat-icon svg{width:34px; height:34px; stroke:var(--graphite-950); stroke-width:1.4; fill:none; transition:stroke .2s ease;}
.cat-card h3{font-size:20px; margin-bottom:6px;}
.cat-card .cat-sub{font-size:12.5px; color:var(--steel-500); font-family:'IBM Plex Mono',monospace;}
.cat-card:hover .cat-sub{color:var(--steel-300);}
.cat-arrow{position:absolute; top:30px; right:28px; font-size:18px; color:var(--steel-500);}

.cat-card-image{padding:0; overflow:hidden;}
.cat-card-image img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease;}
.cat-card-image:hover img{transform:scale(1.04);}

.cat-banner{
  grid-column:span 2;
  background-color:var(--graphite-950); background-size:cover; background-position:center;
  padding:0; min-height:210px;
}
@media(max-width:860px){.cat-banner{grid-column:span 2;}}
@media(max-width:560px){.cat-banner{grid-column:span 1;}}
.cat-banner-inner{
  width:100%; height:100%; padding:34px 28px;
  background:linear-gradient(90deg, rgba(20,23,26,.92) 0%, rgba(20,23,26,.55) 70%, rgba(20,23,26,.25) 100%);
  display:flex; flex-direction:column; justify-content:center;
}
.cat-banner-tag{
  font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--blueprint);
  text-transform:uppercase; letter-spacing:.08em; margin-bottom:10px; display:block;
}
.cat-banner h3{color:var(--paper-50); font-size:24px; max-width:420px;}
.cat-banner p{color:var(--steel-300); font-size:14px; margin-top:10px; max-width:380px; line-height:1.55;}
.cat-banner .btn{background:var(--paper-50); color:var(--graphite-950);}
.cat-banner .btn:hover{background:var(--blueprint); color:var(--graphite-950);}

/* ---------- PRODUCTS ---------- */
.prod-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
@media(max-width:920px){.prod-strip{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.prod-strip{grid-template-columns:1fr;}}
.prod-card{
  border:1px solid var(--steel-200);
  background:#fff;
  position:relative;
}
.prod-thumb{
  aspect-ratio:4/3; background:var(--paper-100);
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.prod-thumb svg{width:60%; stroke:var(--steel-500); stroke-width:1; fill:none;}
.prod-corner{position:absolute; width:14px; height:14px;}
.prod-corner.tl{top:8px; left:8px; border-top:1px solid var(--accent); border-left:1px solid var(--accent);}
.prod-corner.br{bottom:8px; right:8px; border-bottom:1px solid var(--accent); border-right:1px solid var(--accent);}
.prod-body{padding:18px 18px 22px;}
.prod-body .cat-sub{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--accent); text-transform:uppercase; letter-spacing:.05em;}
.prod-body h4{font-size:15px; font-weight:600; margin:8px 0 10px; line-height:1.35; text-transform:none; font-family:'IBM Plex Sans';}
.prod-meta{display:flex; justify-content:space-between; align-items:center; font-family:'IBM Plex Mono',monospace; font-size:12px;}
.prod-meta .spec{color:var(--steel-500); font-size:11px;}
.quote-link{color:var(--accent); font-weight:500; font-size:12px; transition:opacity .2s ease;}
.quote-link:hover{opacity:.7;}

/* ---------- SECTOR GRID (Üretim Süreci - Proje Alanları) ---------- */
.sector-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--steel-200); border:1px solid var(--steel-200);
  margin:28px 0 4px;
}
@media(max-width:920px){.sector-grid{grid-template-columns:repeat(3,1fr);}}
@media(max-width:680px){.sector-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:420px){.sector-grid{grid-template-columns:1fr;}}
.sector-card{
  background:var(--paper-50); padding:0px 18px;
  display:flex; flex-direction:column; gap:14px;
  transition:background .2s ease;
}
.sector-card:hover{background:var(--graphite-950);}
.sector-card:hover .sector-icon svg{stroke:var(--blueprint);}
.sector-card:hover .sector-index{color:var(--blueprint);}
.sector-card:hover .sector-label{color:var(--paper-50);}
.sector-index{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--steel-500);}
.sector-icon svg{width:30px; height:30px; stroke:var(--graphite-950); stroke-width:1.4; fill:none; transition:stroke .2s ease;}
.sector-label{font-size:13.5px; font-weight:600; line-height:1.3; transition:color .2s ease; font-family:'IBM Plex Sans';}

/* ---------- TECHNICAL DRAWING GRID (3 columns) ---------- */
.tech-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:1px;
  background:var(--steel-200); border:1px solid var(--steel-200);
  margin:28px 0 8px;
}
@media(max-width:860px){.tech-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.tech-grid{grid-template-columns:1fr;}}

/* ---------- PRODUCT PAGE (sidebar layout) ---------- */
.product-page-grid{display:grid; grid-template-columns:250px 1fr; gap:48px; align-items:start;}
@media(max-width:860px){.product-page-grid{grid-template-columns:1fr;}}
.cat-sidebar{position:sticky; top:96px;}
@media(max-width:860px){.cat-sidebar{position:static;}}
.cat-sidebar h3{font-family:'IBM Plex Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--steel-500); margin-bottom:14px;}
.cat-tree{list-style:none;}
.cat-tree > li{border-top:1px solid var(--steel-200);}
.cat-tree > li:last-child{border-bottom:1px solid var(--steel-200);}
.cat-tree a{display:block; padding:10px 4px; font-size:14px; color:var(--graphite-950); transition:color .2s ease;}
.cat-tree a:hover{color:var(--accent);}
.cat-tree a.active{color:var(--accent); font-weight:600;}
.cat-tree summary{list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between;}
.cat-tree summary::-webkit-details-marker{display:none;}
.cat-tree summary::after{content:"+"; font-family:'IBM Plex Mono',monospace; color:var(--steel-500); padding:0 6px;}
.cat-tree details[open] summary::after{content:"–";}
.cat-tree summary a{flex:1; padding:10px 0;}
.sub-list{list-style:none; padding-bottom:8px;}
.sub-list a{padding:7px 4px 7px 16px; font-size:13px; color:var(--steel-500);}
.sub-list a.active{color:var(--accent);}

/* ---------- PROCESS ---------- */
.process{background:var(--graphite-950); color:var(--paper-50);}
.process .sec-head p, .process .sec-head .tag{color:var(--steel-300);}
.process .sec-head .tag{color:var(--blueprint);}
.proc-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:0; border-top:1px solid rgba(255,255,255,.15);}
@media(max-width:800px){.proc-grid{grid-template-columns:1fr;}}
.proc-step{
  padding:40px 30px; border-right:1px solid rgba(255,255,255,.15);
  position:relative;
}
.proc-step:last-child{border-right:none;}
.proc-step .n{font-family:'IBM Plex Mono',monospace; color:var(--blueprint); font-size:13px;}
.proc-step h3{font-size:24px; margin:16px 0 10px; color:var(--paper-50);}
.proc-step p{color:var(--steel-300); font-size:14px; line-height:1.6;}

/* ---------- PARTNERS ---------- */
.partners{border-top:1px solid var(--steel-200); border-bottom:1px solid var(--steel-200); background:var(--paper-100);}
.partner-row{
  display:flex; flex-wrap:wrap; align-items:center; gap:0;
  padding:34px 0;
}
.partner-item{
  display:flex; align-items:center; height:98px;
  padding:8px 26px; border-right:1px solid var(--steel-200);
}
.partner-item:last-child{border-right:none;}
.partner-item a{display:flex; align-items:center; height:100%;}
.partner-item img{
      box-shadow: 12px 12px 24px rgba(0, 0, 0, .12);
  border-radius: 7px;
  max-height:70px; max-width:181px; width:auto; height:auto;
  /* filter:grayscale(1); opacity:.55; */
  transition:filter .2s ease, opacity .2s ease;
}
.partner-item:hover img{filter:grayscale(0); opacity:1;}
.partner-name{
  font-family:'Big Shoulders Display', sans-serif; font-weight:700; font-size:22px;
  text-transform:uppercase; color:var(--steel-500);
  transition:color .2s ease;
}
.partner-item:hover .partner-name{color:var(--graphite-950);}

/* ---------- CONTACT ---------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px;}
@media(max-width:860px){.contact-grid{grid-template-columns:1fr; gap:40px;}}
.info-list{margin-top:28px; display:flex; flex-direction:column; gap:22px;}
.info-item .k{font-family:'IBM Plex Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--accent);}
.info-item .v{font-size:16px; margin-top:6px;}
form{display:flex; flex-direction:column; gap:16px;}
.field{display:flex; flex-direction:column; gap:8px;}
.field label{font-family:'IBM Plex Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--steel-500);}
.field input, .field textarea{
  border:none; border-bottom:1px solid var(--steel-300);
  background:transparent; padding:10px 2px; font-family:'IBM Plex Sans'; font-size:15px;
  color:var(--graphite-950);
}
.field input:focus, .field textarea:focus{outline:none; border-bottom-color:var(--accent);}
form .btn{align-self:flex-start; margin-top:8px;}

/* ---------- FOOTER ---------- */
footer{background:var(--graphite-950); color:var(--steel-300); padding:60px 0 26px;}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px;}
@media(max-width:760px){.foot-grid{grid-template-columns:1fr 1fr;}}
footer h5{font-family:'IBM Plex Mono',monospace; color:var(--paper-50); font-size:12px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px;}
footer ul{list-style:none; display:flex; flex-direction:column; gap:10px; font-size:14px;}
footer ul a:hover{color:var(--blueprint);}
.social-icons{display:flex; gap:10px; margin-top:20px;}
.social-icons a{
  width:36px; height:36px; border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center;
  color:var(--steel-300); transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.social-icons a svg{width:17px; height:17px; display:block;}
.social-icons a:hover{background:var(--accent); border-color:var(--accent); color:#fff;}
.foot-bottom{
  margin-top:60px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12);
  display:flex; justify-content:space-between; font-family:'IBM Plex Mono',monospace; font-size:11px;
  color:var(--steel-500); flex-wrap:wrap; gap:10px;
}

/* ---------- NAV DROPDOWN (Galeri) ---------- */
.nav-drop{position:relative;}
.nav-drop-trigger{display:flex; align-items:center; gap:6px;}
.nav-drop-trigger .mm-chevron{transition:transform .2s ease;}
.nav-drop:hover .mm-chevron, .nav-drop:focus-within .mm-chevron{transform:rotate(180deg); color:var(--accent);}
.nav-drop-menu{
  display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%);
  padding-top:14px; min-width:180px; z-index:20;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu{display:block;}
.nav-drop-menu-box{
  padding:8px;
  background:var(--paper-50); border:1px solid var(--steel-200); border-top:2px solid var(--accent);
  box-shadow:0 18px 36px rgba(0,0,0,.14);
}
.nav-drop-menu a{display:block; padding:10px 12px; font-size:13.5px; color:var(--graphite-800);}
.nav-drop-menu a:hover{background:var(--paper-100); color:var(--accent);}
.nav-drop-menu a::after{display:none;}

/* ---------- GALLERY ---------- */
.gallery-grid{display:grid; grid-template-columns:repeat(4, 1fr); gap:1px; background:var(--steel-200); border:1px solid var(--steel-200);}
@media(max-width:860px){.gallery-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.gallery-grid{grid-template-columns:1fr;}}
.gallery-item{
  position:relative; display:block; aspect-ratio:4/3; background:var(--paper-100); overflow:hidden;
}
.gallery-item img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease;}
.gallery-item:hover img{transform:scale(1.06);}
.gallery-cap{
  position:absolute; left:0; right:0; bottom:0; padding:12px 14px;
  background:linear-gradient(0deg, rgba(20,23,26,.86) 0%, rgba(20,23,26,0) 100%);
  color:var(--paper-50); font-size:13px; font-weight:600;
  opacity:0; transition:opacity .2s ease;
}
.gallery-item:hover .gallery-cap{opacity:1;}
.video-item .play-btn{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:56px; height:56px; border-radius:50%;
  background:rgba(20,23,26,.72); color:var(--paper-50);
  display:flex; align-items:center; justify-content:center; font-size:18px;
  transition:background .2s ease, transform .2s ease;
}
.video-item:hover .play-btn{background:var(--accent); transform:translate(-50%,-50%) scale(1.08);}
.video-fallback{width:100%; height:100%; background:var(--graphite-950);}

/* ---------- LIGHTBOX ---------- */
.lightbox{
  display:none; position:fixed; inset:0; z-index:1000;
  background:rgba(20,23,26,.94);
  align-items:center; justify-content:center;
}
.lightbox.open{display:flex; flex-direction:column;}
.lightbox-stage{
  max-width:min(90vw, 1100px); max-height:78vh; width:100%;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-stage img{max-width:100%; max-height:78vh; width:auto; height:auto; object-fit:contain; display:block;}
.lightbox-stage iframe{width:min(90vw, 960px); height:min(52.5vw, 540px); border:0; background:#000;}
.lightbox-caption{color:var(--paper-50); font-size:14px; margin-top:16px; text-align:center; max-width:80vw;}
.lightbox-close{
  position:absolute; top:22px; right:26px; width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.2); color:#fff;
  font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .2s ease;
}
.lightbox-close:hover{background:var(--accent); border-color:var(--accent);}
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border-radius:50%;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.2); color:#fff;
  font-size:26px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .2s ease;
}
.lightbox-nav:hover{background:var(--accent); border-color:var(--accent);}
.lightbox-nav.prev{left:24px;}
.lightbox-nav.next{right:24px;}
@media(max-width:640px){
  .lightbox-nav{width:40px; height:40px; font-size:22px;}
  .lightbox-nav.prev{left:10px;}
  .lightbox-nav.next{right:10px;}
  .lightbox-close{top:14px; right:14px;}
}
