@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Quicksand:wght@400;600;700&family=Great+Vibes&display=swap');

:root {
  --primary: #ff4d79;
  --primary-dark: #e62e5c;
  --secondary: #9c27b0;
  --bg-gradient: linear-gradient(135deg, #ffeef4 0%, #ffe3eb 50%, #f6d5f7 100%);
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-shadow: 0 15px 35px rgba(255, 77, 121, 0.18), 0 5px 15px rgba(0, 0, 0, 0.05);
  --text-main: #3a1c28;
  --text-muted: #844c62;
}

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

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--bg-gradient);
  min-height: 100vh;
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
}

/* Arka Plan Kalp Animasyonu */
.hearts-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.heart-particle {
  position: absolute;
  color: rgba(255, 77, 121, 0.35);
  animation: floatUp linear infinite;
  user-select: none;
}

@keyframes floatUp {
  0% {
    transform: translateY(105vh) scale(0.6) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-10vh) scale(1.3) rotate(360deg);
    opacity: 0;
  }
}

/* Ana Kapsayıcı */
.container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px 20px;
}

/* Üst Başlık & GIF Bölümü */
.hero {
  text-align: center;
  margin-bottom: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gif-frame {
  position: relative;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: var(--card-shadow), 0 0 30px rgba(255, 105, 180, 0.3);
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  max-width: 480px;
  width: 90%;
}

.gif-frame:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 45px rgba(255, 77, 121, 0.35);
}

.gif-frame img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}

.title-wrapper {
  margin-top: 28px;
}

.main-title {
  font-family: 'Dancing Script', cursive;
  font-size: 3.6rem;
  font-weight: 700;
  background: linear-gradient(45deg, #ff2a6d, #9b30ff, #ff4d79);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
  text-shadow: 0 5px 20px rgba(255, 77, 121, 0.2);
  letter-spacing: 1px;
  line-height: 1.2;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Romantik Mesaj Butonu */
.love-btn {
  margin-top: 22px;
  background: linear-gradient(135deg, #ff4d79 0%, #d81b60 100%);
  color: #fff;
  border: none;
  padding: 13px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(230, 46, 92, 0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.love-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(230, 46, 92, 0.5);
}

.love-btn:active {
  transform: translateY(1px);
}

/* Fotoğraf Galerisi (Merkez Hizalı) */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  margin-top: 25px;
}

.photo-card {
  flex: 0 1 340px;
  width: 100%;
  max-width: 360px;
  background: var(--card-bg);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.photo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff4d79, #9c27b0);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 40px rgba(255, 77, 121, 0.28);
}

.photo-card:hover::before {
  opacity: 1;
}

.photo-container {
  width: 100%;
  height: 380px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #fce7ef;
  cursor: pointer;
}

.photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.photo-card:hover .photo-container img {
  transform: scale(1.07);
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  color: white;
  font-size: 2rem;
}

.photo-card:hover .photo-overlay {
  opacity: 1;
}

.photo-info {
  padding: 16px 12px 10px 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}

.photo-caption {
  font-family: 'Dancing Script', cursive;
  font-size: 1.85rem;
  font-weight: 700;
  color: #b81b50;
  line-height: 1.3;
}

.photo-subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Lightbox Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 5, 15, 0.88);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 3px solid rgba(255, 255, 255, 0.2);
  object-fit: contain;
}

.modal-caption {
  color: #fff;
  font-family: 'Dancing Script', cursive;
  font-size: 2.3rem;
  margin-top: 18px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.close-modal {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.close-modal:hover {
  color: #ff4d79;
}

/* Kalp Patlaması Efekti */
.burst-heart {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 24px;
  animation: burst 1s forwards ease-out;
}

@keyframes burst {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(1.6);
  }
}

/* Alt bilgi (Footer) */
footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 77, 121, 0.2);
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  .main-title {
    font-size: 2.7rem;
  }
  .gallery-grid {
    gap: 25px;
  }
  .photo-card {
    flex: 0 1 100%;
    max-width: 400px;
  }
  .photo-container {
    height: 340px;
  }
  .photo-caption {
    font-size: 1.6rem;
  }
}
