/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

body.fade-in {
  opacity: 0;
  transform: translateX(40px);
  animation: fadeInRight 0.6s ease-out forwards;
}

body.fade-out {
  animation: fadeOutRight 0.4s ease-in forwards;
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOutRight {
  to {
    opacity: 0;
    transform: translateX(40px);
  }
}

/* H1 yukarıdan aşağı fade-in */
@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* P aşağıdan yukarı fade-in */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sınıflar */
.animate-h1 {
  animation: fadeDown 0.8s ease-out forwards;
}

.animate-p {
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}
  
  /* ========== HTML & BODY ========== */
  html, body {
    height: auto; /* Scroll izni için auto */
    min-height: 100vh; /* Ekran kadar min. yükseklik */
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Georgia', serif;
    background-color: #0e0e0e;
    color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
  }
  
  /* ========== BASE FONTS (FONT AİLELERİ) ========== */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
  }
  
  em {
    font-style: italic;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
  }
  
  p {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
  }

/* =============================
   SLIDER PAGE BACKGROUND BAŞLANGIÇ
============================= */
.slider-page {
    width: 100%;
    min-height: 100vh;
    height: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }
  
  /* =============================
     SLIDER BACKGROUNDS
  ============================= */
  #page-1 {
    background-image: url('../assets/images/slider-1-bg.png');
  }
  
  #page-2 {
    background-image: url('../assets/images/slider-2-bg.png');
  }
  
  #page-3 {
    background-image: url('../assets/images/slider-3-bg.png');
  }
  
  #page-4 {
    background-image: url('../assets/images/slider-4-bg.png');
  }
  
  #page-5 {
    background-image: url('../assets/images/slider-5-bg.png');
  }
  
  /* =============================
     TABLET GÖRÜNÜMÜ (≤1024px)
  ============================= */
  @media (max-width: 1024px) {
    .slider-page {
      background-position: center center;
      background-size: cover; /* Center crop */
    }
  }
  
  /* =============================
     MOBİL GÖRÜNÜMÜ (≤768px)
  ============================= */
  @media (max-width: 768px) {
    .slider-page {
      background-position: center center;
      background-size: cover; /* Center crop */
      padding: 0 20px; /* İçerik varsa yanlardan boşluk bırakmak için */
    }
  }
/* =============================
   SLIDER PAGE BACKGROUND BİTİŞ
============================= */


/* =============================
   HEADER BAŞLANGIÇ
============================= */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    padding: 20px 40px;
    transition: top 0.3s ease-in-out;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
  }
  
  .logo img {
    height: clamp(75px, 4vw, 100px);
    width: auto;
    display: block;
  }
  
  /* İkon grubu */
  .header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
  }
  
  .header-icons img {
    width: clamp(14px, 2.2vw, 20px);
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .header-icons img:hover {
    transform: scale(1.1);
  }
  
  /* Shop icon özel stil */
  .shop-icon {
    width: clamp(45px, 3vw, 60px);
    height: clamp(45px, 3vw, 60px);
    background-color: #5b6a05;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .shop-icon img {
    width: 18px;
    height: auto;
  }
  
  /* ========== RESPONSIVE ========== */
/* =============================
   TABLET: 1024px ve altı
============================= */
@media (max-width: 1024px) {
    .site-header {
      padding: 32px 40px;
    }
  
    .logo img {
      height: 100px;
    }
  
    .header-icons {
      gap: 20px;
    }
  
    .header-icons img {
      width: 22px;
    }
  
    .shop-icon {
      width: 60px;
      height: 60px;
    }
  
    .shop-icon img {
      width: 22px;
    }
  }
  
  /* =============================
     MOBİL: 768px ve altı
  ============================= */
  @media (max-width: 768px) {
    .site-header {
      padding: 24px 32px;
    }
  
    .logo img {
      height: 75px;
    }
  
    .header-icons {
      gap: 10px;
    }
  
    .header-icons .icon {
      display: none; /* Diğer ikonlar gizlenir */
    }
  
    .shop-icon {
      width: 45px;
      height:45px;
      display: flex !important; /* Shop icon görünür kalır */
    }
  
    .shop-icon img {
      width: 18px;
    }
  }

/* =============================
   HEADER BİTİŞ
============================= */

/* =============================
   FOOTER BAŞLANGIÇ
============================= */
.site-footer {
    width: 100%;
    padding: 20px 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    background-color: #3a3a33; /* Varsayılan */
  }
  
  /* Ana Sayfa */
  body.home-page .site-footer {
    background-color: #3a3a33; /* RENK_1 */
  }
  
  /* Kitaplar Sayfası */
  body.books-page .site-footer {
    background-color: #3a3a33; /* RENK_2 */
  }
  
  /* Hakkında Sayfası */
  body.about-page .site-footer {
    background-color: #3a3a33; /* RENK_3 */
  }
  
  /* İletişim Sayfası */
  body.contact-page .site-footer {
    background-color: #3a3a33; /* RENK_4 */
  }
  
  /* Galeri Sayfası */
  body.gallery-page .site-footer {
    background-color: #3a3a33; /* RENK_5 */
  }
  
  .footer-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 10px;
    position: relative;
  }
  
  /* Footer yazısı */
  .footer-credit {
    color: #ffffff;
    font-size: 13px;
    font-family: 'Georgia', serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  /* Mobil ikonlar (varsayılan gizli) */
  .footer-icons {
    display: none;
    gap: 24px;
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
  }
  
  .footer-icons img {
    width: 28px;
    height: auto;
    filter: brightness(0) invert(1); /* beyaz ikonlar */
    transition: transform 0.3s ease;
  }
  
  .footer-icons img:hover {
    transform: scale(1.1);
  }
  
    /* =============================
     TABLET: 1024px ve altı
    ============================= */
    @media (max-width: 1024px) {
    .site-footer {
      padding: 20px 32px;
    }
  
    .footer-credit {
      font-size: 12px;
    }
  
    .footer-icons img {
      width: 26px;
    }
    }
  
    /* =============================
     MOBİL: 768px ve altı
    ============================= */
    @media (max-width: 768px) {
        .site-footer {
          padding: 14px 0;
          background-color: #3a3a33;
        }
      
        .footer-container {
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          gap: 14px; /* Satırlar arasında güvenli boşluk */
          width: 100%;
        }
      
        .footer-icons {
            display: flex;
            justify-content: center;         /* Ortalar */
            align-items: center;
            gap: 56px;                        /* İkonlar arası boşluk genişletildi */
            padding: 0 20px;
            width: 100%;
            max-width: 320px;                /* Genişlik biraz artırıldı */
            box-sizing: border-box;
          }
      
        .footer-icons img {
          width: 26px;
          height: 26px;
          filter: brightness(0) invert(1);
          transition: transform 0.3s ease;
        }
      
        .footer-icons img:hover {
          transform: scale(1.1);
        }
      
        .footer-credit {
          font-size: 11px;
          text-align: center;
          color: #ffffff;
          font-family: 'Georgia', serif;
          text-transform: uppercase;
          letter-spacing: 0.5px;
          width: 100%;
          margin-top: 50px;
        }
      }

/* =============================
   FOOTER BİTİŞ
============================= */


/* =============================
   DOTS BAŞLANGIÇ
============================= */

/* Ortak DOT stilleri */
.dots-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 20; /* Header'dan sonra, footer'dan önce */
  }
  
  .dots-container button.dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #777;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.2s;
  }
  
  .dots-container button.dot:hover,
  .dots-container button.dot:focus {
    opacity: 0.9;
    transform: scale(1.1);
    outline: none;
  }
  
  .dots-container button.dot.active,
  .dots-container button.dot[aria-current="true"] {
    background-color: #fff;
    opacity: 1;
  }

  .dot.active {
    background-color: #ffffff;
    border: 2px solid #ffffff;
    transform: scale(1.3);
  }
  
  /* =============================
     DESKTOP: 1025px ve üstü
  ============================= */
  @media (min-width: 1025px) {
    .dots-container {
      bottom: 110px; /* Footer'dan yukarı mesafe */
    }
  }
  
  /* =============================
     TABLET: 768px - 1024px
  ============================= */
  @media (min-width: 768px) and (max-width: 1024px) {
    .dots-container {
      bottom: 90px;
    }
  }

  .dots-container button.dot {
    width: 16px;
    height: 16px;
  }
  
  /* =============================
     MOBİL: 767px ve altı
  ============================= */
  @media (max-width: 767px) {
    .dots-container {
      bottom: 125px;
      gap: 14px; /* Mobilde biraz daha boşluk */
    }
  
    .dots-container button.dot {
      width: 12px;
      height: 12px;
    }
  }

/* =============================
   DOTS BİTİŞ
============================= */


/* =============================
   PAGE 1 CONTENT BAŞLANGIÇ
============================= */

.page-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 120px 90px 180px; /* Dots'a çarpmaması için bottom genişletildi */
    min-height: 100vh;
    height: auto;
    overflow: visible;
    box-sizing: border-box;
    position: relative;
  }
  
  .text-block {
    width: 50%;
    color: white;
    font-family: 'Montserrat', sans-serif;
  }
  
  .text-block h1 {
    font-size: clamp(2.5rem, 4vw, 5rem);
    line-height: 1.1;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
  }
  
  .text-block h1 span {
    font-weight: 700;
  }
  
  .text-block em {
    font-style: italic;
    display: block;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    margin: 10px 0;
    font-size: clamp(1rem, 1.2vw, 1.3rem);
  }
  
  .text-block p {
    margin: 20px 0 30px;
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    line-height: 1.6;
    max-width: 80%;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
  }
  
  .contact-btn {
    background-color: #8ca30f;
    color: white;
    border: none;
    padding: 12px 26px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border-radius: 20px;
    cursor: pointer;
  }
  
  .cover-group {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    gap: 24px;
    overflow: visible;
  }
  
  .cover {
    border-radius: 20px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    object-fit: cover;
  }
  
  .cover-main {
    width: 45%;
    z-index: 2;
  }
  
  .cover-side {
    width: 35%;
    transform: translateX(10%);
    z-index: 1;
    opacity: 0.8;
  }
  
  .cover-side-third {
    width: 35%;
    transform: translateX(20%);
    opacity: 0.6;
    margin-right: -20%; /* Son görsel taşma efekti */
  }

.cover,
.cover-side,
.cover-side-third {
  transition: transform 0.4s ease-in-out;
  will-change: transform;
  transform-origin: center center; /* 👈 tam ortadan büyümesini sağlar */
}

.cover:hover,
.cover-side:hover,
.cover-side-third:hover {
  transform: scale(1.05); /* %5 büyütme */
}
  
  @media (max-width: 1024px) and (min-width: 768px) {
    /* HEADER sabit ve koyu renk */
    .site-header {
        transition: top 0.3s ease-in-out, background-color 0.3s ease-in-out;
        background-color: transparent; /* İlk hali şeffaf */
      }
  
    .page-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 120px 40px 150px; /* header ve dots aralığı ayarlandı */
      height: auto;
      min-height: 100vh;
      overflow: visible;
      box-sizing: border-box;
    }
  
    .text-block {
      width: 100%;
      text-align:center;
      margin-top: 45px;
      margin-bottom: 40px;
    }
  
    .text-block h1 {
      font-size: clamp(4rem, 4vw, 5.5rem);
      font-weight: 400;
      font-family: 'Montserrat', sans-serif;
      text-align: start;
      margin-bottom: 40px;
    }
  
    .text-block h1 span {
      font-weight: 700;
    }
  
    .text-block em {
      font-style: italic;
      font-size: clamp(1rem, 1.4vw, 1.2rem);
      font-family: 'Montserrat', sans-serif;
      font-weight: 400;
      display: block;
      margin: 10px 0 20px;
      text-align: start;
    }
  
    .text-block p {
      font-size: clamp(1rem, 1.3vw, 1.2rem);
      font-family: 'Inter', sans-serif;
      font-weight: 700;
      line-height: 1.7;
      max-width: 100%;
      margin: 0 auto 30px;
      text-align: center;
    }
  
    .contact-btn {
      margin: 0 auto 40px;
      display: inline-block;
    }
  
    .cover-group {
      width: 100%;
      justify-content: center;
      margin-top: 20px;
      gap: 24px;
      position: relative;
      overflow: visible;
    }
  
    .cover-main {
      width: 36%;
      transform: translateX(15vh);
      z-index: 2;
    }
  
    .cover-side {
      width: 24%;
      transform: translateX(-10%);
      transform: translateX(15vh);
      z-index: 1;
      opacity: 0.8;
    }
  
    .cover-side-third {
      width: 24%;
      transform: translateX(-20%);
      transform: translateX(15vh);
      opacity: 0.6;
      margin-right: -10%;
    }
  
    .dots-container {
      bottom: 90px;
    }
  
    html, body {
      height: auto;
      min-height: 100vh;
      overflow-y: auto;
      overflow-x: hidden;
    }
  }

  @media (max-width: 767px) {
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: transparent;
        z-index: 99;
        padding: 15px 20px; /* dengeli padding */
        box-sizing: border-box;
      }
  
    .page-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 100px 24px 140px;
      height: auto;
      min-height: 100vh;
      overflow: visible;
      box-sizing: border-box;
    }
  
    .text-block {
      width: 100%;
      text-align: center;
      margin-bottom: 30px;
    }
  
    .text-block h1 {
      font-size: clamp(3rem, 6vw, 4rem);
      font-weight: 400;
      font-family: 'Montserrat', sans-serif;
      text-align: start;
    }
  
    .text-block h1 span {
      font-weight: 700;
    }
  
    .text-block em {
      font-style: italic;
      font-size: clamp(1.2rem, 1.2vw, 1.5rem);
      font-family: 'Montserrat', sans-serif;
      font-weight: 400;
      display: block;
      margin: 10px 0 16px;
      text-align: start;
    }
  
    .text-block p {
      font-size: clamp(0.95rem, 1.2vw, 1.1rem);
      font-family: 'Inter', sans-serif;
      font-weight: 700;
      line-height: 1.6;
      max-width: 100%;
      margin: 0 auto 20px;
    }
  
    .contact-btn {
      display: none;
    }
  
    .cover-group {
      width: 100%;
      margin-top: 20px;
      gap: 18px;
      position: relative;
      overflow: visible;
      margin-bottom: 20px;
    }
  
    .cover-main {
      width: 70%;
      z-index: 2;
      transform: translateX(5vh);
    }
  
    .cover-side {
      width: 50%;
      z-index: 1;
      opacity: 0.8;
      transform: translateX(5vh);
    }
  
    .cover-side-third {
      display: none;
    }
  
    .dots-container {
      bottom: 125px;

    }
  
    html, body {
        margin: 0;
        padding: 0;
      }
  }

  /* =============================
     PAGE 1 CONTENT BİTİŞ
  ============================= */

  body {
    transition: opacity 0.3s ease-in-out;
  }
  
  body.fade-out {
    opacity: 0;
  }

 
  .shop-button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* Bu grup sola yaslı */
  margin-left: 30px;
}

.shop-button-group {
  display: flex;
  flex-direction: column;
  align-items: center;       /* Buton ve yazı birbiriyle ortalanır */
}

.shop-oval-button {
  width: 160px;
  height: 80px;
  background-color: #50584e;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
  margin-bottom: 6px;
}

.shop-oval-button img {
  width: 32px;
  height: 32px;
}

.shop-label {
  width: 160px;              /* Buton genişliğiyle aynı */
  text-align: center;        /* Yazıyı ortala */
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: white;
  line-height: 1.3;
  text-transform: uppercase;
}
/* Tablet ve mobilde gizle (1024px altı) */
@media (max-width: 1024px) {
  .shop-button-wrapper {
    display: none;
  }
}