/* assets/css/style.css */
html{
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* sabit header varsa üstten pay bırakır */
}

:root{
  --bg:#ffffff;
  --fg:#111111;
  --muted:#6b6b6b;
  --line:#e8e8e8;
  --max: 1100px;
  --pad: 24px;
  --topbar: 64px;
  --radius: 14px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; background:var(--bg); color:var(--fg); font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial; }
a{ color:inherit; text-decoration:none; }
img{ width:100%; height:100%; object-fit:cover; display:block; }

.wrap{ max-width:var(--max); margin:0 auto; padding:0 var(--pad); }

.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  height: var(--topbar);
  display:flex; align-items:center;
}
.topbar__inner{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; }

.brand{ font-weight:600; letter-spacing:0.2px; }
.brand__mark--thin{ font-weight:300; margin-left:2px; }

.nav{
  display:flex; gap:18px; font-size:13px; letter-spacing:0.5px;
}
.nav a{ padding:10px 6px; color:var(--muted); }
.nav a:hover{ color:var(--fg); }

.navToggle{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  padding:10px 12px;
  border-radius: 999px;
  font-size:12px;
}

.section{ padding: 60px 0; }
.section__title{
  font-size:14px;
  letter-spacing: 1.2px;
  font-weight:600;
  margin:0 0 18px;
}

.hero{ padding:0; border-bottom:1px solid var(--line); }
.hero__rail{
  height: calc(100vh - var(--topbar));
  overflow: hidden;          /* kaydırma yok */
  white-space: normal;       /* tek görselde nowrap gerekmez */
}

.hero__slide{
  width: 100vw;              /* tam ekran */
  height: calc(100vh - var(--topbar));
  display: block;
}

.hero__slide img{
  width: 100%;
  height: 100%;
  object-fit: contain;       /* kırpma yok -> harita düzgün görünür */
  object-position: center;
  background: #fff;          /* harita beyazsa kenarlarda temiz dursun */
}


.chip{
  border:1px solid var(--line);
  background:#fff;
  padding:7px 10px;
  border-radius: 999px;
  font-size:12px;
  color:var(--muted);
  cursor:pointer;
}
.chip:hover{ color:var(--fg); border-color:#d7d7d7; }
.chip.is-active{ color:var(--fg); border-color:var(--fg); }

.works__list{
  margin-top:18px;
  display:flex;
  flex-direction:column;
}
.workCard{
  padding:14px 0;
  border-bottom:1px solid var(--line);
  display:flex; flex-direction:column; gap:6px;
}
.workCard__title{ font-size:14px; }
.workCard__meta{ font-size:12px; color:var(--muted); display:flex; align-items:center; gap:8px; }
.dot{ opacity:.6; }

.prose p{ color:var(--muted); line-height:1.7; margin: 0 0 12px; max-width: 72ch; }

.teamGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.teamCard{
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
}
.teamCard__photo{ aspect-ratio: 4 / 3; }
.teamCard__body{ padding:14px; }
.teamCard__name{ margin:0 0 6px; font-size:13px; letter-spacing:.4px; }
.teamCard__role{ font-size:12px; color:var(--muted); margin-bottom:8px; }
.teamCard__meta{ font-size:12px; color:var(--muted); line-height:1.5; }

.contactGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch; /* iki kolon aynı yükseklikte uzasın */
}

.contactInfo{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contactBlock{ padding: 12px 0; border-bottom:1px solid var(--line); }
.contactBlock:last-child{ border-bottom:none; }
.contactLabel{ font-size:12px; color:var(--muted); margin-bottom:6px; }
.contactValue{ font-size:13px; }
.contactValue a{
  color: inherit;
  text-decoration: none;
}
.contactValue a:hover{
  text-decoration: underline;
}


.contactForm{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  height: 100%;
}

.field{ display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
.field label{ font-size:12px; color:var(--muted); }
.field input, .field textarea{
  border:1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size:14px;
  outline:none;
}
.field input:focus, .field textarea:focus{ border-color:#bdbdbd; }
.btn{
  border:1px solid var(--fg);
  background: var(--fg);
  color:#fff;
  padding: 10px 14px;
  border-radius: 999px;
  cursor:pointer;
}
.formHint{ margin:10px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }

.workDetail__title{ margin: 10px 0 8px; font-size: 28px; letter-spacing: .3px; }
.workDetail__meta{ color:var(--muted); font-size:12px; display:flex; gap:8px; align-items:center; margin-bottom:14px; }
.workDetail__cover{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); aspect-ratio: 16 / 9; }
.workDetail__content{ margin-top: 14px; max-width: 80ch; }
.lead{ color: var(--fg); font-weight:500; }
.gallery{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery__item{
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  aspect-ratio: 4 / 3;
}

.backLink{ display:inline-block; margin-top:6px; font-size:12px; color:var(--muted); }
.backLink:hover{ color:var(--fg); }

.footer{
  border-top:1px solid var(--line);
  padding: 18px 0;
  color:var(--muted);
  font-size:12px;
}
.footer__inner{ display:flex; justify-content:space-between; gap:10px; }

@media (max-width: 900px){
  .teamGrid{ grid-template-columns: 1fr 1fr; }
  /* contactGrid burada TEK KOLON OLMAYACAK */
}

@media (max-width: 640px){
  :root{ --pad: 16px; }

  .navToggle{ display:inline-flex; }

  .nav{
    position:absolute;
    top: var(--topbar);
    right: 0;
    left: 0;
    background: rgba(255,255,255,0.98);
    border-bottom:1px solid var(--line);
    display:none;
    flex-direction:column;
    padding: 10px var(--pad);
  }

  .nav.is-open{ display:flex; }

  .teamGrid{ grid-template-columns: 1fr; }

  /* SADECE TELEFONDA ALT ALTA */
  .contactGrid{ grid-template-columns: 1fr; }

  .hero__slide{ width: 92vw; }
}

/* ===== PROJECT BOX STYLE (Görselsiz Kartlar) ===== */

.worksGrid{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.projectBox{
  border-radius: 26px;              /* kavisli kenar */
  padding: 40px 28px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #222;
  transition: all .25s ease;
  background: linear-gradient(135deg, #f2f2f2, #e8e8e8);
  border: 1px solid #e3e3e3;
}

.projectBox:nth-child(2){
  background: linear-gradient(135deg, #e9f0f7, #dfe8f2);
}

.projectBox:nth-child(3){
  background: linear-gradient(135deg, #f4efe6, #ece5d9);
}

.projectBox:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.projectBox__inner h3{
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .3px;
}

.projectMeta{
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

/* responsive */
@media(max-width: 900px){
  .worksGrid{
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 640px){
  .worksGrid{
    grid-template-columns: 1fr;
  }
}
/* ===== WORKS (No Image + Hover Overlay) ===== */

.worksGridNoImg{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 360px)); /* kart genişliği kontrollü */
  gap: 18px;
  justify-content: center; /* grid’i ortalar (son satır da ortalanır) */
}


.workNoImgCard{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 220px;
  background: linear-gradient(135deg, #f4f4f4, #ececec);
  border: 1px solid #e5e5e5;
  text-decoration: none;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.workNoImgCard:hover{
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.workNoImgCard__title{
  padding: 0 18px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .3px;
  z-index: 2;
}

.workNoImgCard__overlay{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 13px;
  line-height: 1.7;
  transform: translateY(110%);
  transition: transform .35s ease;
  z-index: 3;
  text-align: left;
}

.workNoImgCard:hover .workNoImgCard__overlay{
  transform: translateY(0);
}

.workNoImgCard{
  width: 100%;
}
/* responsive */
@media(max-width: 1100px){
  .worksGridNoImg{ grid-template-columns: repeat(2, minmax(280px, 360px)); }
}
@media(max-width: 700px){
  .worksGridNoImg{ grid-template-columns: minmax(280px, 1fr); }
}


/* ===== Language Switch ===== */
.langSwitch{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color: var(--muted);
  white-space: nowrap;
}
.langSwitch a{
  color: var(--muted);
  padding: 10px 4px;
}
.langSwitch a:hover{ color: var(--fg); }
.langSwitch a.is-active{ color: var(--fg); font-weight:600; }
.langSwitch .sep{ opacity:.6; }


.contactIntro{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

/* Contact left box: last block fills remaining height (PHONE area) */
.contactInfo{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
}




/* Section heading */
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 14px;
}
.section__sub{
  color: var(--muted);
  font-size: 13px;
  max-width: 520px;
  line-height: 1.4;
  text-align:right;
}

/* Services */
.section.services .servicesGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.infoCard{
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffffd9, #e9e9e3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}
.infoCard__title{
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  font-weight:500;
  color:#999;
  text-align: center
}
.serviceList{
  margin:0;
  padding-left: 18px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
@media (min-width: 980px){
  .serviceList{
    grid-template-columns: 1fr 1fr;
    column-gap: 26px;
  }
}

/* Corporate square layout */
.corpGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* 1. kutu (Hakkımızda) */
.corpGrid .corpCard:nth-child(1){
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(180deg, #e9e9e3, #e2e7e5);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  min-height: 220px;
}

/* 2. kutu (Misyon) */
.corpGrid .corpCard:nth-child(2){
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(180deg, #e2e7e5, #e9e9e3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  min-height: 220px;
}

/* 3. kutu (Vizyon) */
.corpGrid .corpCard:nth-child(3){
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(180deg, #e2e7e5, #e9e9e3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  min-height: 220px;
}

.corpCard--wide{
  grid-column: 1 / -1;
  min-height: 240px;
}
.corpCard__kicker{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.corpCard__text{
  color: var(--fg);
  line-height: 1.65;
  font-size: 14px;
}

/* Experiences (hover details) */
.expGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.expCard{
  position:relative;
  border:1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248,248,248,0.9), rgba(255,255,255,0.6));
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  min-height: 160px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  overflow:hidden;
}
.expCard__title{
  font-weight: 600;
  letter-spacing: .04em;
  text-align:center;
}
.expCard__overlay{
  position:absolute;
  left: 0; right: 0; bottom: -2px;
  padding: 16px 16px 18px 16px;
  background: rgba(17,17,17,0.88);
  color: #fff;
  transform: translateY(100%);
  transition: transform .25s ease;
  font-size: 13px;
  line-height: 1.45;
}
.expCard::after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  bottom:0px;     /* başlığın alt hizası */
  height:2px;
  background: rgba(0, 0, 0, 0.25);
  pointer-events:none;
}

.expCard:hover .expCard__overlay{
  transform: translateY(0);
}
/* Mobilde tıklayınca açılacak */
.expCard.is-open .expCard__overlay {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.expCard__overlay strong{ font-weight: 600; }

@media (max-width: 900px){
  .section__head{ flex-direction:column; align-items:flex-start; }
  .section__sub{ text-align:left; max-width: none; }
  .section.services .servicesGrid{ grid-template-columns: 1fr; }
  .corpGrid{ grid-template-columns: 1fr; }
  .corpCard--wide{ grid-column: auto; }
  .expGrid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .expGrid{ grid-template-columns: 1fr; }
}
/* MOBILDE ÜST MENÜYÜ TAMAMEN KAPAT */
@media (max-width:640px){
  .navToggle,
  .nav{
    display:none !important;
  }

  body{ padding-bottom:90px; }

  .bottomNav{
    position:fixed;
    left:50%;
    bottom:12px;   /* daha aşağı */
    transform:translateX(-50%);
    display:flex;
    gap:12px;
    padding:12px 14px;
    border-radius:20px;
    border:1px solid var(--line);
    background:rgba(255,255,255,0.92);
    backdrop-filter:blur(12px);
    box-shadow:0 12px 30px rgba(0,0,0,0.15);
    z-index:9999;
  }

  .bottomNav__item{
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    border:1px solid var(--line);
    text-decoration:none;
    font-size:18px;
    color:var(--fg);
    background:#fff;
  }
}

/* DESKTOPTA BOTTOM NAV GÖRÜNMESİN */
@media (min-width:641px){
  .bottomNav{ display:none; }
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:90px;
}
.bottomNav__item svg{
  width:22px;
  height:22px;
}
html, body{
  overflow-x: hidden;
}
.bottomNav{
  z-index: 99999;
  pointer-events: auto;
}
body{ overflow: visible; }
.formAlert{
  margin:20px auto;
  max-width:700px;
  padding:14px 18px;
  border-radius:10px;
  font-weight:500;
  text-align:center;
}

.formAlert.success{
  background:#e8f7ee;
  color:#1f7a45;
  border:1px solid #bde5cc;
}

.formAlert.error{
  background:#fdeaea;
  color:#a33;
  border:1px solid #f3bcbc;
}

/* Deneyimler kartları – pastel renk varyasyonları */
.expGrid .expCard{ background:#fff; } /* default */

.expGrid .expCard:nth-child(6n+1){ background:#F4F4F4; }
.expGrid .expCard:nth-child(6n+2){ background:#E8F1FB; }
.expGrid .expCard:nth-child(6n+3){ background:#F6EFE4; }
.expGrid .expCard:nth-child(6n+4){ background:#EAF6F1; }
.expGrid .expCard:nth-child(6n+5){ background:#F3EAF7; }
.expGrid .expCard:nth-child(6n+6){ background:#FCECEF; }


.formAlert{
  margin: 0 0 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.35;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.formAlert.ok{
  background:#e8f7ee;
  color:#1e7e34;
  border:1px solid #b7e4c7;
}

.formAlert.fail{
  background:#fdecea;
  color:#842029;
  border:1px solid #f5c2c7;
}

.formAlert.empty{
  background:#fff3cd;
  color:#664d03;
  border:1px solid #ffe69c;
}
.contactForm .formAlert{
  margin-top: 16px;   /* butonla arasındaki boşluk */
}
.projectNote{
  grid-column: 1 / -1;      /* tüm satırı kaplasın */
  text-align:left;
  font-size:12px;
  letter-spacing:1px;
  color:#888;
  margin-top:10px;
}
.brand__img{
  height: 38px;     /* istersen 28-40 arası oynayabilirsin */
  width: auto;
  display: block;
}
/* ülkeler */
.mapWrap{
  position: relative;
}

.mapImg{
  width: 100%;
  height: auto;
  display: block;
}

.mapLegend{
  position: absolute;
  bottom: 220px; 
  left: 40px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 12px 12px;
  backdrop-filter: blur(6px);
}

.mapLegend__title{
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 8px;
}

.mapLegend__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mapLegend__item{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  white-space: nowrap;
}

.flag{
  width: 18px;
  height: 12px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Mobilde küçült */
@media (max-width: 768px){
  .mapLegend{ left: 10px; bottom: -220px; padding: 10px; }
  .mapLegend__item{ font-size: 12px; }
  .flag{ width: 16px; height: 11px; }
}
@media (max-width: 768px){

  .mapImg{
    height: 280px;     /* boşluğu yapan şey bu */
    object-fit: cover; /* resmi kırpar */
    object-position: center;
  }

}
/* ============================= */
/* MOBILE LANGUAGE SWITCH (SAFE) */
/* ============================= */

/* PC'de asla görünmesin */
.langMobile{
  display: none !important;
}

/* Sadece mobil */
@media (max-width:768px){

  .langMobile{
    display: flex !important;
    gap: 6px;
    position: absolute;
    top: 18px;
    right: 12px;        /* sağ üst */
    z-index: 9999;
  }

  .langMobile a{
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }

}
