html {
  scroll-behavior: smooth;
}
.section {
  scroll-margin-top: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #7e63b4, #dbd7f7, #c2b8f4);
  color: white;
}

/* ÜST MENÜ */
.navbar {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: linear-gradient(to right, #9b87d4, #d6cff2);
  position: relative;
  z-index: 1000;
}


.logo {
  height: 60px;      /* 👈 eski, ideal navbar boyu */
  width: auto;
  display: block;
}
body.artivakid .logo {
  height: 60px;          /* navbar yüksekliği */
  width: auto;
  transform: scale(2.6); /* 👈 ASIL OLAY BU */
  transform-origin: left center;
}


  






nav a {
  margin-left: 32px;
  text-decoration: none;
  color: #2b1c4a;
  font-size: 18px;        /* 👈 ASIL BÜYÜME */
  font-weight: 500;
  letter-spacing: 0.3px; /* daha temiz görünüm */
  transition: color 0.3s ease;
}


nav a:hover {
  color: #ffe07a;
}

/* HERO ALANI */
.hero {
  height: 90vh;
  background:
    linear-gradient(
      rgba(43, 28, 74, 0.7),
      rgba(90, 79, 163, 0.7)
    ),
    url("assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero {
  background-size: 120%;         /* ⬅️ 100–130 arası dene */
  background-position: center 80%;
}



.hero h2 {
  font-size: 42px;
}

.hero span {
  color: #ffe07a;
}

.hero p {
  margin-top: 15px;
  max-width: 400px;
}
/* TABLET - iPad */
@media (max-width: 1024px) {

  .navbar {
    padding: 0 30px;
    height: 80px;
  }

  

  nav a {
    margin-left: 18px;
    font-size: 15px;
  }

  .hero {
    padding: 0 40px;
  }

  .hero h2 {
    font-size: 34px;
  }

  .hero p {
    font-size: 15px;
  }
}
/* TELEFON */
@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding: 15px;
    gap: 10px;
  }

  
/* default */
/* NAVBAR LOGO – TEK VE NET */





  nav {
    display: flex;
    gap: 15px;
  }

  nav a {
    font-size: 14px;
    margin: 0;
  }

  .hero {
    height: auto;
    padding: 60px 20px;
    text-align: center;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
    margin: 15px auto 0;
  }
}
@media (max-width: 768px) {

  .hero {
    height: auto;                 /* EN KRİTİK SATIR */
    min-height: 100vh;            /* EKRANI DOLDURSUN */
    padding: 80px 20px 100px;
    background-position: center top;
    background-size: cover;
  }

}
.page {
  padding: 120px 60px;
  min-height: calc(100vh - 90px);
  background: linear-gradient(180deg, #d6cff2, #f4f1ff);
  color: #2b1c4a;
}

.page h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.page p {
  max-width: 720px;
  line-height: 1.7;
}


  /* Slider alanı */
.slider {
  position: relative;
  max-width: 420px;   /* ⬅️ küçültüldü */
  margin: 40px auto;
}



 







.arrow {
  font-size: 36px;
  color: #3a2a6a;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  width: 44px;
  height: 44px;
}
/* Oyun giriş alanı */
.game-intro {
  text-align: center;
  padding-top: 80px;
}

/* Başlık ve açıklama */
.page-title {
  font-size: 48px;
  color: #3a2a6a;
  margin-bottom: 10px;
}

.page-desc {
  font-size: 18px;
  color: #4a3a7a;
  margin-bottom: 40px;
}














/* OKLAR – 3D BEYAZ */
.arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  border: none;
  font-size: 30px;
  color: #3a2a6a;
  cursor: pointer;
  box-shadow:
    0 8px 16px rgba(0,0,0,0.2),
    inset 0 2px 4px rgba(255,255,255,0.8);
    z-index: 20;
}

.arrow.left {
  left: -80px;
}

.arrow.right {
  right: -80px;
}

.arrow:hover {
  transform: translateY(-50%) scale(1.05);
}
@media (max-width: 768px) {
  .slider {
    position: relative;
  }

  .arrow.left {
    left: 12px;
  }

  .arrow.right {
    right: 12px;
  }

  .arrow {
    width: 44px;
    height: 44px;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.9);
    color: #3b2b6d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.page-title,
.page-desc {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.page-desc {
  max-width: 520px;
}
/* ALT SAYFA ARKAPLANI */
body.inner-page {
  min-height: 100vh;
  background: 
    linear-gradient(
      rgba(70, 50, 120, 0.65),
      rgba(70, 50, 120, 0.85)
    ),
    url("assets/bg-abstract.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.page-content {
  max-width: 900px;
  margin: 120px auto;
  padding: 48px;
  background: rgba(40, 30, 80, 0.65);
  border-radius: 28px;
  backdrop-filter: blur(10px);
  color: #ffffff;
}
.page-content p {
  line-height: 1.8;        /* ⬅️ EN KRİTİK */
  margin-bottom: 22px;     /* ⬅️ paragraf arası nefes */
  font-size: 17px;         /* 16 → 17 ideal */
}
.page-content {
  padding: 56px 64px;   /* üst-alt / sağ-sol */
}
.page-content h1 {
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .page-content {
    padding: 40px 28px;
  }

  .page-content p {
    line-height: 1.7;
    font-size: 16px;
  }
}



/* ===============================
   ARTIVA SLIDER – DENGELİ KUTU
   =============================== */

.slide {
  display: none;
  width: 440px;                 /* YANLAR AYNI */
  margin: 0 auto;
  background: rgba(178, 152, 232, 0.95);
  border-radius: 32px;

  /* ⬇️ BOYDAN KÜÇÜLTME BURADA */
  padding-top: 18px;            /* ⬅️ ÜST BOŞLUK AZALDI */
  padding-left: 32px;
  padding-right: 32px;
  padding-bottom: 24px;         /* ⬅️ ALT BOŞLUK AZALDI */

  box-sizing: border-box;
  text-align: center;
}
.slide.active {
  display: block;
}

/* GÖRSEL */
.slide img {
  width: 360px;
  display: block;
  margin: 0 auto 14px;           /* ⬅️ yazıya yaklaştı */
}

/* BAŞLIK */
.slide h3 {
  font-size: 25px;
  color: #ffe27a;
  margin: 0 0 6px;               /* ⬅️ yukarı çekildi */
}

/* AÇIKLAMA */
.slide p {
  font-size: 17px;               /* ⬅️ DAHA OKUNUR */
  line-height: 1.75;
  color: #2a1d4d;
  margin: 0;
}

/* === SLIDE İÇ BOŞLUK TEMİZLEME === */

.slide {
  padding-top: 16px;
  padding-bottom: 20px;
}

/* Başlık – varsayılan boşlukları öldür */
/* === ARTIVA SLIDE METİN BOŞLUK FIX === */

.slide h3 {
  margin-top: 8px;      /* ⬅️ piyonun altına yaklaştırır */
  margin-bottom: 4px;  /* ⬅️ p ile arayı kısaltır */
  line-height: 1.2;    /* ⬅️ başlık boydan uzatmasın */
}

.slide p {
  margin-top: 0;       /* ⬅️ üst boşluk tamamen gitti */
  margin-bottom: 0;    /* ⬅️ alt boşluk gitti */
  line-height: 1.5;   /* ⬅️ daha kompakt */
  font-size: 16px;
  color: #2b1c4a;
}

/* Varsayılan: Artiva */


/* ArtivaKid sayfası */



/* ===== ARTIVAKID ARKAPLAN DÜZELTME ===== */
body.artivakid {
  min-height: 100vh;
  background: 
    linear-gradient(
      rgba(70, 50, 120, 0.65),
      rgba(70, 50, 120, 0.85)
    ),
    url("assets/bg-abstract.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ArtivaKid sayfasında ekstra section/gradientleri kapat */
body.artivakid .page,
body.artivakid .hero,
body.artivakid .section {
  background: transparent !important;
}

/* ArtivaKid broşür */
body.artivakid .artivakid-brochure {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

body.artivakid .artivakid-brochure img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 20px;
}
body.artivakid .artivakid-brochure2 {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

body.artivakid .artivakid-brochure2 img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 20px;
}
@media (max-width: 768px) {
  body.artivakid .artivakid-brochure img {
    max-width: 90%;
  }
}
@media (max-width: 768px) {
  body.artivakid .artivakid-brochure2 img {
    max-width: 90%;
  }
}
nav {
  display: flex;
  align-items: center;
}
.lang {
  display: inline-flex;
  gap: 6px;
  margin-left: 24px;
}
.lang button {
  background: rgba(255,255,255,0.6);
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.lang {
  display: inline-flex;
  gap: 8px;
  margin-left: 24px;
  position: relative;
  z-index: 1001;
}

.lang button {
  width: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: rgba(255,255,255,0.7);
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.lang button.active {
  background: #2b1c4a;
  color: #ffe07a;
}

.how-to-play {
  max-width: 900px;
  margin: 40px auto;
  padding: 28px 36px;
  background: rgba(58, 44, 95, 0.85);
  border-radius: 24px;
  color: #fff;
}

.how-to-play h3 {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 600;
}

.how-to-play p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}




