body {
  margin: 0;
  padding-top: 90px;
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #ffd6e5,
    #ffc1d6,
    #ffb3cd
  );
  @media (max-width: 600px) {
  body {
    padding-top: 65px;
  }
}
  font-family: 'Segoe UI', Arial, sans-serif;
  text-align: center;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.menu {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #ffb6c1, #ff69b4, #ff1493);
  display: flex;
  justify-content: center;
  padding: 12px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  backdrop-filter: blur(5px);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  transition: all 0.3s ease; 
}

.menu a {
  margin: 0 15px;
  padding: 10px 18px;
  border-radius: 15px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  transition: all 0.3s ease;
}

.menu a:hover {
  background: rgba(255,255,255,0.2);
  color: #fffacd;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.menu a::after {
  content: '';
  display: block;
  height: 3px;
  background: #fffacd;
  width: 0;
  position: absolute;
  bottom: -5px;
  left: 0;
  border-radius: 2px;
  transition: width 0.3s;
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

.menu a.active {
  color: #fffacd;
  font-size: 19px;
  font-weight: 900;
}

@media (max-width: 600px) {
  .menu {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 8px 5px;
  }

  .menu a {
    font-size: 14px;
    padding: 6px 10px;
    margin: 3px;
  }
}

h1 {
  color: #7a003c;
  margin: 30px 0;
}

.galeri img {
  width: 250px;
  margin: 10px;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* POPUP */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 20px;
}

.anafoto {
  width: 280px; 
  max-width: 90%; 
  border-radius: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); 
  position: relative; z-index: 10;
}

.kalp {
  position: fixed;
  bottom: -20px;
  color: #ff4d6d;
  animation: yukari 6s linear infinite;
  z-index: 5;
  pointer-events: none;
}

@keyframes yukari {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-110vh);
    opacity: 0;
  }
}

.soz {
  background: rgba(255, 255, 255, 0.45);
  margin: 30px auto;
  padding: 30px;
  border-radius: 25px;

  font-size: 26px;
  font-weight: 800;
  color: #6a0033;

  max-width: 750px;
  text-align: center;

  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.25);

  letter-spacing: 1px;
}

@keyframes yumusakGel {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#girisEkrani {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #ffd6e5, #ffb3cd);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.baloncuk {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 30px 26px;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  text-align: center;
  max-width: 340px;
  width: 90%;
}

#soruYazi {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #7a003c;
  line-height: 1.4;
  margin-bottom: 24px;
}

.butonlar {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.butonlar button {
  border: none;
  padding: 10px 22px;
  font-size: 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
  font-weight: 600;
}

/* EVET */
.butonlar .evet {
  background: linear-gradient(135deg, #ff5fa2, #ff8fc7);
  color: white;
}

.butonlar .evet:hover {
  transform: scale(1.08);
}

/* HAYIR */
.butonlar .hayir {
  background: #f0dbe6;
  color: #7a003c;
}

.butonlar .hayir:hover {
  background: #ffd1e6;
  transform: scale(1.05);
}

#hayirYazi {
  margin-top: 16px;
  font-size: 14px;
  color: #a00050;
  font-weight: 600;
  animation: titreme 0.3s infinite alternate;
}

@media (max-width: 500px) {
  #soruYazi {
    font-size: 18px;
  }

  .baloncuk {
    padding: 24px 20px;
  }
}

@keyframes titreme {
  from { transform: rotate(-1deg); }
  to { transform: rotate(1deg); }
}

#sarkilar {
  padding: 50px 20px;
  text-align: center;
}

#sarkilar h2 {
  color: #7a003c;
  margin-bottom: 30px;
}

.sarki {
  background: rgba(255,255,255,0.7);
  margin: 20px auto;
  padding: 20px;
  border-radius: 25px;
  width: 300px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.sarki p {
  font-weight: bold;
  margin-bottom: 10px;
  color: #7a003c;
}

#sarkilar {
  padding: 60px 20px;
  background: #ffe4ef;
  text-align: center;
}

#sarkilar h2 {
  color: #7a003c;
  margin-bottom: 30px;
}

.sarki {
  background: white;
  margin: 20px auto;
  padding: 20px;
  border-radius: 25px;
  width: 300px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  text-align: center;
}

.sarki p {
  font-weight: bold;
  color: #7a003c;
  margin-bottom: 10px;
}

.tema-btn {
  position: fixed;
  bottom: 15px;   
  right: 15px;   
  padding: 8px 12px;  
  border-radius: 50%;  
  border: none;
  background: #b30059;
  color: white;
  cursor: pointer;
  z-index: 1001;
  font-size: 18px;  
}

.sozler-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px;
}

.soz {
  padding: 20px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.soz:hover {
  transform: scale(1.15) rotate(-1deg);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.btn {
  text-decoration: none;
  background: #ff69b4;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: scale(1.1);
  background: #ff1493;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero, .soz-kutular, .anafoto {
  animation: slideUp 0.8s ease forwards;
}

.ders-baslik {
  text-align: center;
  font-size: 36px;
  margin-top: 40px;
  color: #ff4d88;
}

.ders-aciklama {
  text-align: center;
  font-size: 18px;
  margin-bottom: 25px;
}

.sayac-kutu {
  width: 320px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(255, 77, 136, 0.25);
  text-align: center;
}

.sure-buyuk {
  font-size: 52px;
  font-weight: bold;
  color: #ff2f73;
  margin-bottom: 25px;
}

.butonlar {
  display: flex;
  gap: 10px;
}

.btn {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 15px;
  border-radius: 20px;
  cursor: pointer;
}

.baslat,
.durdur,
.sifirla {
  background: #7b4dff;   
  color: white;          
}

.btn:hover {
  background: #6936ff;
  transform: scale(1.05);
}

.toplam-yazi {
  text-align: center;
  margin-top: 25px;
}

.toplam-sure {
  font-weight: bold;
  color: #ff2f73;
}

@media (max-width: 600px) {

  body {
    padding-top: 110px; /* üst menü çakışmasın */
  }

  .ders-baslik {
    font-size: 28px;
    margin-top: 20px;
  }

  .ders-aciklama {
    font-size: 15px;
    margin: 10px 20px 20px;
  }

  .sayac-kutu {
    width: 90%;          /* ekranı doldurur */
    padding: 25px 20px;
    border-radius: 30px;
  }

  .sure-buyuk {
    font-size: 42px;     /* telefona göre küçüldü */
    margin-bottom: 20px;
  }

  .butonlar {
    flex-direction: column; /* alt alta */
    gap: 12px;
  }

  .btn {
    font-size: 16px;
    padding: 14px;
    border-radius: 25px;
  }

  .toplam-yazi {
    font-size: 14px;
    margin-top: 18px;
  }
}

@media (max-width: 600px) {
  .sayac-kutu {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.ask-kutu {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 30px;
  background: rgba(255,255,255,0.45);
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.ask-kutu p {
  font-size: clamp(20px, 4vw, 34px);
  font-weight: 900;
  color: #7a003c;
  letter-spacing: 1px;
  text-shadow: 2px 2px 8px rgba(255, 0, 128, 0.3);
  margin: 18px 0;
}

.ask-son {
  font-size: clamp(22px, 4.5vw, 38px);
  color: #b30059;
}

@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: center;
    padding: 18px 0;
  }

  .menu a {
    font-size: 16px;
    margin: 6px 0;
  }
}

.anafoto {
  width: min(85vw, 320px);
}

.alt-baslik {
  font-size: 13px;
  font-weight: 600;
  color: #5c0030;
  background: rgba(255,255,255,0.4);
  padding: 3px 10px;
  border-radius: 12px;
}

.sayac-kutu {
  width: min(90vw, 360px);
}

.sure-buyuk {
  font-size: clamp(36px, 10vw, 56px);
}

.ask-kutu {
  max-width: 700px;
  margin: 40px auto 0;
  padding: 28px 22px;
  background: rgba(255,255,255,0.65);
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.ask-kutu p {
  margin: 10px 0;
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 700;
  color: #8a003f;
}

.ask-kutu .buyuk {
  margin-top: 18px;
  font-size: clamp(20px, 5vw, 28px);
  color: #e6006e;
  text-shadow: 0 0 8px rgba(230,0,110,0.4);
}

.logo-alan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.logo {
  padding: 14px 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #7a003c;

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  letter-spacing: 1px;
}

.slogan {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #5a002a;
  opacity: 0.9;
}

.site-baslik {
  position: fixed;
  top: 12px;
  left: 15px;
  z-index: 2000;

  background: linear-gradient(135deg, #ffffffcc, #ffe6f0cc);
  padding: 12px 18px;
  border-radius: 20px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);
}

.logo-yuvarlak {
  font-family: 'Segoe UI', 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: #b30059;
  text-align: center;
}

.alt-baslik {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #7a003c;
  text-align: center;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .site-baslik {
    padding: 10px 14px;
    border-radius: 16px;
  }

  .logo-yuvarlak {
    font-size: 15px;
  }

  .alt-baslik {
    font-size: 11px;
  }
}

.kalp-patlama {
  position: fixed;
  font-size: 24px;
  pointer-events: none;
  animation: patla 1s ease-out forwards;
  z-index: 100000;
}

@keyframes patla {
  0% {
    transform: scale(0.3) translate(0,0);
    opacity: 1;
  }
  100% {
    transform: scale(1.6) translate(var(--x), var(--y));
    opacity: 0;
  }
}

.menu-btn {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2001;
  background: #ff4d88;
  color: white;
  border: none;
  font-size: 26px;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .menu-btn {
    display: block;
  }

  .menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffb6c1, #ff69b4);
    transition: left 0.3s ease;
    z-index: 2000;
  }

  .menu a {
    font-size: 18px;
    margin: 10px 0;
  }

  .menu.acik {
    left: 0;
  }
}

/* Desktop: Tema butonu sağ altta ayrı */
#temaBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: block;
}

/* Sadece mobil: Hamburger menü için ayarlar */
@media (max-width: 768px) {
  /* Desktop’taki sabit butonu gizle */
  #temaBtn {
    display: none;
  }

  /* Menü açıldığında tema butonu görünsün */
  .menu.acik #temaBtn {
    display: block;
    margin-top: auto;       /* en alta sabitle */
    width: 90%;             /* menü içinde güzel gözükmesi için */
    padding: 10px;
    text-align: center;
    background: #ffe6f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }
}

.foto-container {
  position: relative;
  display: flex;
  justify-content: center; /* fotoğrafı ortala */
  align-items: center;
  margin: 20px 0;
}

.anafoto {
  width: 300px;
  max-width: 90%;
  border-radius: 10px;
  display: block;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

/* Masaüstü oklar */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: pink;
  border: none;
  font-size: 2.5rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  user-select: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.slider-btn:hover {
  color: #ffb6c1;
  background: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.2);
}

.slider-btn.left {
  left: 745px; /* soldaki oku biraz sola çek */
}

.slider-btn.right {
  right: 745px; /* sağdaki oku biraz sağa çek */
}

/* Mobilde fotoğraf ortada, oklar gizli */
@media (max-width: 768px) {
  .foto-container {
    justify-content: center;
    align-items: center;
  }

  .anafoto {
    width: 80%;
    margin: 0 auto;
  }

  .slider-btn {
    display: none; /* oklar mobilde gizlensin */
  }
}

.slider-btn:hover {
  color: #ffb6c1;          
  transform: translateY(-50%) scale(1.2); 
}

.anafoto {
  width: 300px;     /* İstediğin boyut */
  height: auto;     /* Oranlı kalsın */
  border-radius: 10px;
}

.yanfoto {
  width: 250px;     /* Ortadakinden biraz küçük olabilir */
  height: auto;
  border-radius: 10px;
  opacity: 0.9;    /* İsteğe bağlı, hafif görünürlük farkı */
}

@media (max-width: 768px) {
  .foto-container {
    flex-direction: column;
  }

  .anafoto, .yanfoto {
    width: 80%; /* Ekrana uyumlu */
    margin: 5px 0;
  }
}

@media (max-width: 768px) {
  /* Slider oklarını mobilde fotoğrafın üstüne yapıştır */
  .slider-btn {
    top: 50%;      /* dikey ortada */
    left: auto;    /* left/right ayrı ayrı ayarlanacak */
    right: auto;
  }

@media (max-width: 768px) {
  .foto-container {
    display: flex;
    justify-content: center; /* yatay ortala */
    align-items: center;     /* dikey ortala (gerekirse) */
    width: 100%;
    margin: 0 auto;          /* container’ı ortala */
  }

  .anafoto {
    display: block;
    margin: 0 auto;          /* fotoğrafı ortala */
    width: 80%;              /* mobilde ekran genişliğine uyumlu */
  }
}

  .slider-btn.left {
    left: 0;                 /* oklar fotoğrafın kenarında */
  }

  .slider-btn.right {
    right: 0;
  }
}

/* Sol favicon */
.desktop-favicon-left {
  position: fixed;
  top: 15px;
  left: 15px;           /* sol köşe */
  font-weight: 900;
  font-size: 18px;
  color: black;
  background: rgba(255,255,255,0.3);
  padding: 4px 8px;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  z-index: 2000;
  font-family: 'Segoe UI', sans-serif;
}

/* Sağ favicon */
.desktop-favicon-right {
  position: fixed;
  top: 15px;
  right: 15px;          /* sağ köşe */
  font-weight: 900;
  font-size: 18px;
  color: black;
  background: rgba(255,255,255,0.3);
  padding: 4px 8px;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  z-index: 2000;
  font-family: 'Segoe UI', sans-serif;
}

/* Mobilde gizle */
@media (max-width: 768px) {
  .desktop-favicon-left,
  .desktop-favicon-right {
    display: none;
  }
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: #b30059;
  text-shadow: 2px 2px 10px rgba(255, 105, 180, 0.4);
  margin-bottom: 40px;
}

.sayac-kutu p {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  color: #7a003c;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.sayac-kutu h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #ff1493;
  font-weight: 900;
  text-shadow: 1px 1px 5px rgba(255, 20, 147, 0.3);
}