/* --- RENK PALETİ VE TEMEL AYARLAR --- */
:root {
    /* İstenilen Pastel Renkler */
    --ana-mavi: #D4F1F4;      /* Bebek Mavisi */
    --koyu-mavi: #75E6DA;     /* Vurgular için */
    --pastel-yesil: #D6EFD8;  /* Yumuşak Yeşil */
    --pastel-mor: #E4D8EB;    /* Lavanta Moru */
    
    --yazi-rengi: #5D5D81;    /* Siyah yerine yumuşak morumsu gri */
    --beyaz: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif; /* Okunaklı gövde yazısı */
    background-color: #FAFDFF; /* Çok açık mavi arka plan */
    color: var(--yazi-rengi);
}

/* Başlıklar için tatlı, yuvarlak font */
h1, h2, h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--yazi-rengi);
    margin-bottom: 10px;
}

/* --- HEADER (ÜST MENÜ) --- */
header {
    background-color: var(--ana-mavi);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between; /* Logo sola, menü sağa */
    align-items: center;
    box-shadow: 0 4px 15px rgba(117, 230, 218, 0.2); /* Hafif renkli gölge */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #4A90E2;
    font-family: 'Fredoka', sans-serif;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--yazi-rengi);
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: var(--pastel-mor);
    color: #fff;
}

/* --- HERO BÖLÜMÜ (GİRİŞ) --- */
.hero {
    background: linear-gradient(180deg, var(--ana-mavi) 0%, #FAFDFF 100%);
    text-align: center;
    padding: 80px 20px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.hero h1 {
    font-size: 3.5rem;
    color: #4A90E2; /* Başlık biraz daha belirgin mavi olsun */
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.btn {
    display: inline-block;
    background-color: var(--pastel-yesil);
    color: var(--yazi-rengi);
    padding: 12px 30px;
    border-radius: 50px; /* Tam yuvarlak buton */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.btn:hover {
    transform: scale(1.05); /* Üzerine gelince hafif büyüsün */
    background-color: #C1E1C5;
}

/* --- BİLGİ KARTLARI (GERİ DÖNÜŞÜM ÖNEMİ) --- */
.info-section {
    padding: 60px 20px;
    text-align: center;
}

.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 25px;
    width: 250px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-10px); /* Kart yukarı süzülsün */
}

/* Kart Renkleri (HTML'deki sınıflarla eşleşiyor) */
.c-blue { background-color: var(--ana-mavi); }
.c-pink { background-color: var(--pastel-mor); } /* İsteğine göre Mor yaptık */
.c-yellow { background-color: var(--pastel-yesil); } /* İsteğine göre Yeşil yaptık */

/* --- GALERİ (FOTOĞRAFLAR) --- */
.gallery-section {
    padding: 60px 40px;
    text-align: center;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    /* Ekran boyutuna göre otomatik sütun sayısı */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover; /* Resmi kutuya sığdırır, bozmaz */
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Resim yakınlaşır */
}

/* Resmin üzerindeki yazı katmanı */
.overlay {
    position: absolute;
    bottom: -50px; /* Başlangıçta gizli */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    font-weight: bold;
    color: var(--yazi-rengi);
    transition: bottom 0.3s ease;
}

.gallery-item:hover .overlay {
    bottom: 0; /* Üzerine gelince yukarı çıkar */
}

/* --- FOOTER --- */
footer {
    background-color: var(--pastel-mor);
    color: var(--yazi-rengi);
    text-align: center;
    padding: 20px;
    font-weight: bold;
    margin-top: 50px;
}
/* --- MODAL (BÜYÜK RESİM PENCERESİ) --- */
.modal {
  display: none; /* Başlangıçta gizli */
  position: fixed; 
  z-index: 2000; /* Her şeyin üstünde olsun */
  padding-top: 50px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.85); /* Arka planı karart */
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  border-radius: 10px;
  animation-name: zoom;
  animation-duration: 0.6s;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #fff;
  padding: 10px 0;
  font-family: 'Fredoka', sans-serif;
}

#caption h4 { color: var(--koyu-mavi); margin-bottom: 5px; font-size: 1.5rem;}
#caption p { font-size: 1.1rem; }

/* Kapatma Düğmesi */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: var(--koyu-mavi);
  text-decoration: none;
  cursor: pointer;
}

/* Açılış Animasyonu */
@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* Mobilde modal resmi tam sığsın */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 95%;
  }
}