
body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  background: linear-gradient(to top, #e0f7fa, #ffffff);
  color: #333;
  text-align: center;
  overflow-x: hidden;
}

/* Hero ve mesaj alanı */
.hero {
  padding: 60px 20px;
  min-height: 100vh;
}
#balloon {
  font-size: 100px;
  cursor: pointer;
}
#balloon:hover {
  transform: scale(1.2);
}
#message {
  margin-top: 40px;
}
.baby-img {
  width: 220px;
  margin: 20px auto;
  border-radius: 12px;
}
.card {
  font-size: 18px;
  background: #ffffffdd;
  padding: 10px 20px;
  border-radius: 12px;
  display: inline-block;
}
.share-btn, .story-btn {
  background: linear-gradient(to top, #e0f7fa, #ffffff);
  color: white;
  padding: 10px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

/* Kutsal buton */
.order-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
}
.order-btn {
  background: #f472b6; /* Pembe ton */
  background: linear-gradient(to top, #e0f7fa, #ffffff);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

/* Story popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup-inner {
  background: white;
  padding: 20px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
}
.popup input {
  margin: 8px 0;
  padding: 8px;
  width: 100%;
}
.popup button {
  margin: 5px;
  padding: 8px 16px;
}
.hidden { display: none; }
.story-image {
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
}

/* GALERİ BÖLÜMÜ */
.gallery-section {
  padding: 60px 20px;
  background: linear-gradient(to top, #e0f7fa, #ffffff);
}
.gallery-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #444;
  margin-bottom: 40px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  justify-items: center;
}
.polaroid {
  background: white;
  padding: 12px;
  border: 1px solid #ddd;
  box-shadow: 2px 4px 10px rgba(0,0,0,0.1);
  transform: rotate(-1deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  max-width: 220px;
}
.polaroid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.polaroid p {
  margin-top: 8px;
  font-size: 0.95rem;
  font-style: italic;
  color: #555;
}
.polaroid:hover {
  transform: scale(1.06) rotate(0deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.rotate-left {
  transform: rotate(-5deg);
}
.rotate-right {
  transform: rotate(4deg);
}


/* Override for Kişiselleştir & Sipariş Ver button */
.order-btn {
  background: #d81b60 !important;
  color: white !important;
  padding: 12px 24px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  font-weight: bold !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 16px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}


body {
  font-family: 'Poppins', sans-serif;
}
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
  letter-spacing: 1px;
}

.card {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
}

#message {
  animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.letter-section, .music-section {
  padding: 60px 20px;
}
.letter-section h2, .music-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 20px;
}


.music-section iframe {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  margin-top: 12px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}


/* Galeri başlığı için yeni yazı tipi ve animasyon */
.gallery-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
  animation: fadeInDown 1.5s ease-in-out;
}

/* Arka planı ana sayfa ile uyumlu yap */
.gallery-section {
  background: linear-gradient(to top, #e0f7fa, #ffffff);
}

/* Fade in down animasyonu */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Baloncuklar için stil */
.bubble {
  position: fixed;
  bottom: -100px;
  background: rgba(173, 216, 230, 0.5);
  border-radius: 50%;
  pointer-events: none;
  animation: floatDown 10s linear 1;
  z-index: 0;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh) scale(1.2);
    opacity: 0;
  }
}


/* Daha estetik baloncuk tasarımı */
.bubble {
  position: fixed;
  bottom: -100px;
  border-radius: 50%;
  pointer-events: none;
  animation: floatDown 10s linear 1;
  z-index: 0;
  background: radial-gradient(circle at 30% 30%, #ffffffcc, #b3e5fc99);
  backdrop-filter: blur(2px);
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.bubble:hover {
  transform: scale(1.2);
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-130vh) scale(1.3);
    opacity: 0;
  }
}


/* Geliştirilmiş görünür baloncuk stili */
.bubble {
  position: fixed;
  bottom: -100px;
  border-radius: 50%;
  pointer-events: none;
  animation: floatDown 10s linear 1;
  z-index: 1;
  background: radial-gradient(circle at 30% 30%, #fce4ec, #f8bbd0);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  opacity: 0.85;
  backdrop-filter: blur(2px);
  transition: transform 0.3s ease;
}

.bubble:hover {
  transform: scale(1.2);
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translateY(-140vh) scale(1.4);
    opacity: 0;
  }
}


/* Gerçek balon görselleri için animasyon */
.floating-balloon {
  position: fixed;
  bottom: -150px;
  width: 60px;
  z-index: 0;
  animation: riseBalloon 20s linear infinite;
  pointer-events: none;
}
.floating-balloon img {
  width: 100%;
  opacity: 0.9;
}

@keyframes riseBalloon {
  0% {
    transform: translateY(0);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-120vh);
    opacity: 0;
  }
}


/* Doğum günü sayfasındaki gibi stilize edilmiş balonlar */
.baby-balloon {
  position: absolute;
  width: 60px;
  height: 80px;
  background: radial-gradient(circle at 30% 30%, #ff6b81, #ff4d6d);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: floatDown 10s linear 1;
  z-index: 0;
  opacity: 0.8;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-200px) rotate(360deg);
    opacity: 0;
  }
}


/* Balonlar artık yukarıdan aşağıya süzülüyor */
@keyframes floatDown {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(120vh) rotate(360deg);
    opacity: 0;
  }
}

.baby-balloon {
  top: -100px;
  bottom: auto;
  animation-name: floatDown;
}


/* Başlık animasyonu ve görünümü */
#message h2 {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  color: #0d47a1;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.1);
  animation: popIn 1s ease-out;
}

/* Arka plan kutusu */
#message {
  background: linear-gradient(145deg, #e3f2fd, #ffffff);
  border-radius: 20px;
  padding: 30px;
  margin: 40px auto;
  max-width: 600px;
  box-shadow: 0 0 25px rgba(33, 150, 243, 0.2);
}

/* Alt yazı kartı için hafif italic dokunuş */
.card.italic {
  font-style: italic;
  font-size: 1.05rem;
  color: #555;
  margin-top: 12px;
}

/* Başlık için popIn animasyonu */
@keyframes popIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/* Tek kalan polaroid ortalansın */
.gallery {
  justify-content: center;
}
