:root{
  --page-bg:#0d1520;   /* sayfanın ana arka planı (koyu bölüm) */
  --text:#f6f8fb;      /* koyu bölüm yazı rengi */
  --muted:#c8d2df;     /* alt yazılar */
  --rule:#e5e7eb;      /* üst beyaz şerit alt çizgi */
}

*{box-sizing:border-box}

body{
  margin:0;
  background:var(--page-bg);
  color:var(--text);
  font-family:"Montserrat", Arial, sans-serif;
}

/* ÜST BÖLÜM: arka plan beyaz ve içerik sayfaya ortalı */
.topbar{
  background:#ffffff;
  color:#0d1420;
  border-bottom:1px solid var(--rule);
}
.topbar-inner{
  max-width:980px;
  margin:0 auto;                 /* SAYFA ORTALAMA */
  display:grid;
  grid-template-columns:260px 1fr;
  align-items:center;            /* DİKEY ORTALAMA */
  gap:12px;
  padding:18px 22px;
}
.brand{
  display:grid;
  grid-template-columns:180px 1fr; /* logo %100 büyük (180px) */
  gap:14px;
  align-items:center;
  justify-content:center;
}
.brand .logo{
  width:180px; height:180px; object-fit:contain; display:block;
}
.title{ text-align:left; padding:6px 0 6px 10px; }
.title h1{
  margin:0;
  font-family:"Crimson Text", serif;
  font-weight:700;
  color:#1a2533;
  line-height:.98;
  font-size:56px;
}
.title h1 span{ display:block; font-weight:400; }

/* ANA PANEL (koyu bölüm) */
.panel{ padding:40px 20px; }
.panel-inner{ max-width:980px; margin:0 auto; }

/* ANA SAYFA: İkon kartları için özel düzen */
.grid{ 
  display:grid; 
  grid-template-columns:1fr 1fr; 
  gap:60px 80px; 
}
.card{ 
  position:relative; 
  display:flex; 
  flex-direction:column; 
  align-items:center; 
  text-decoration:none; 
  color:inherit; 
}
.icon{ 
  width:100%; 
  height:180px; 
  display:grid; 
  place-items:center; 
  margin-bottom:20px; 
}
.icon img{ 
  max-width:180px; 
  max-height:180px; 
  display:block; 
  object-fit:contain;
}
.label{ 
  font-weight:700; 
  font-size:26px; 
  letter-spacing:.5px; 
  text-align:center; 
  color:#ffffff;
}

/* New Additions kartı - tam genişlik, ortalanmış */
.new-card{
  grid-column: 1 / -1;  /* iki sütunu da kaplar */
  justify-self: center;
}
.new-card .icon{ 
  width:220px; 
  height:220px; 
}
.new-card .icon img{
  max-width:220px;
  max-height:220px;
}

/* KOLEKSİYON SAYFALARI: Buton ızgarası */
.btn-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:0;  /* aralarında boşluk yok */
  margin-bottom:30px;
}
.btn{
  display:block;
  text-decoration:none;
  background:transparent;
  color:#ffffff;
  border:none;
  padding:16px 20px;
  text-align:left;
  font-weight:400;
  font-size:24px;
  font-family:"Crimson Text", serif;
  letter-spacing:0.3px;
  transition:background .15s ease, color .15s ease;
  cursor:pointer;
}
.btn:hover{
  background:rgba(255,255,255,0.08);
  color:#e8f0ff;
}

/* Dipnot ve Footer */
.note{ color:var(--muted); font-size:12px; text-align:center; margin:22px 0 6px; }
.footer{ color:var(--muted); font-size:12px; text-align:center; padding:10px 0 28px; }
.footer a{ color:#7aa2ff; text-decoration:underline; }

/* Tablet uyum */
@media (max-width:900px){
  .btn-grid{ grid-template-columns: repeat(3, 1fr); }
  .btn{ font-size:22px; padding:14px 18px; }
}

/* Mobil uyum - logo ve başlık yan yana kalacak */
@media (max-width:760px){
  .topbar-inner{ 
    grid-template-columns: 100px 1fr;  /* yan yana kalır */
    gap: 8px;
    padding: 12px 16px;
  }
  .brand{ 
    grid-template-columns: 1fr;  /* sadece logo */
    justify-content: flex-start;
  }
  .brand .logo{ 
    width: 80px; 
    height: 80px; 
  }
  .title{ 
    text-align: left;  /* sola hizalı */
    padding: 0;
  }
  .title h1{ 
    font-size: 32px;
    line-height: 1.1;
  }
  .title h1 span{
    font-size: 28px;
  }
  
  /* Ana sayfa mobil */
  .grid{ 
    grid-template-columns:1fr; 
    gap:50px; 
  }
  .icon{ 
    height:150px;
  }
  .icon img{
    max-width:150px;
    max-height:150px;
  }
  .label{
    font-size:24px;
  }
  .new-card .icon{ 
    width:180px; 
    height:180px; 
  }
  .new-card .icon img{
    max-width:180px;
    max-height:180px;
  }
  
  /* Koleksiyon sayfaları mobil - butonlar 2 sütun */
  .btn-grid{ grid-template-columns: repeat(2, 1fr); gap:0; }
  .btn{ font-size:20px; padding:12px 16px; }
}

@media (max-width:420px){
  .topbar-inner{ 
    grid-template-columns: 70px 1fr;
  }
  .brand .logo{ 
    width: 60px; 
    height: 60px; 
  }
  .title h1{ 
    font-size: 26px;
  }
  .title h1 span{
    font-size: 23px;
  }
  /* Mobilde de 2 sütun kalacak */
  .btn-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* İÇ SAYFALAR: iframe container */
.iframe-container{
  width:100%;
  height:80vh;  /* ekranın %80'i kadar yükseklik */
  min-height:600px;
  margin-bottom:30px;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,0.3);
}
.iframe-container iframe{
  width:100%;
  height:100%;
  display:block;
  border:none;
}

/* Mobil uyum */
@media (max-width:760px){
  .iframe-container{
    height:70vh;
    min-height:500px;
  }
}