 /* Eski <style> etiketleri arasındaki tüm içeriği silin ve bunları yapıştırın */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0a0a0b;
  color: #e6e6e6;
  overflow-x: hidden;
  line-height: 1.6;
}

.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
  animation: popupFade 0.25s ease-out;
}

.popup-content h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.popup-content p {
  margin-bottom: 20px;
}

#closePopup {
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  font-weight: bold;
}

@keyframes popupFade {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
/* Başarı Popup */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.success-popup .popup-content {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 30px 40px;
  border-radius: 16px;
  text-align: center;
  width: 90%;
  max-width: 380px;
  color: #fff;
  animation: popupFade 0.35s ease;
}

.success-popup h3 {
  margin-top: 0;
  font-size: 1.6rem;
}

.success-popup p {
  margin: 10px 0 20px 0;
  font-size: 1.1rem;
}

#closePopup {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #ffffff;
  color: #000;
  font-weight: bold;
  transition: 0.25s;
}

#closePopup:hover {
  opacity: 0.8;
}

/* Animasyon */
@keyframes popupFade {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Animated gradient background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(255, 107, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 140, 50, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(200, 80, 0, 0.04) 0%, transparent 70%);
  animation: gradientShift 15s ease infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gradientShift {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.8; transform: scale(1.1) rotate(5deg); }
}
/* Parallax Header */
header {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(10,10,11,0.9)), 
              url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-position: top center;  /* ⬅ TEMEL ÇÖZÜM */
  transform: scale(1);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 1.3s ease forwards;
  letter-spacing: -2px;
}

.hero-content p {
  font-size: 1.4rem;
  opacity: 0.95;
  margin-top: 0;
  animation: fadeUp 1.7s ease forwards;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero-ornament {
  margin: 30px auto;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6b00, transparent);
  animation: fadeUp 2s ease forwards;
}

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

/* Glassmorphism sections */
section {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.glass-card {
  background: rgba(24, 24, 27, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px;
  border-radius: 24px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 16px 48px rgba(255, 107, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 107, 0, 0.3);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 50px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2::after {
  content: "";
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff6b00, #ffd700, #ff6b00);
  position: absolute;
  left: 0;
  bottom: -15px;
  border-radius: 3px;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; transform: scaleX(1); }
  50% { opacity: 0.7; transform: scaleX(0.95); }
}

/* Fade animations with Intersection Observer */
.fade {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stats Counter */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 107, 0, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 107, 0, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 107, 0, 0.1);
  transform: scale(1.05);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffd700, #ff6b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Premium book cards with 3D effect - DÜZELTİLMİŞ */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.book-card {
  background: rgba(20, 20, 22, 0.8);
  backdrop-filter: blur(10px);
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  width: 100%;
  max-width: 100%;
}

.book-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.book-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255, 107, 0, 0.3);
  border-color: rgba(255, 107, 0, 0.3);
}

.book-card img {
  width: 100%;
  height: 600px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: rgba(10, 10, 11, 0.5);
  padding: 10px;  /* Padding'i sıfırlayın */
  transform: scale(1.0);  /* Görseli %20 büyütün */
}

.book-info {
  padding: 30px;
  text-align: center;
}

.year {
  color: #ffd700;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
}

.book-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 10px;
}

.book-details {
  padding: 0 30px 30px 30px;
}

/* Premium social cards */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.social-card {
  background: linear-gradient(135deg, rgba(30, 30, 33, 0.8), rgba(40, 40, 45, 0.6));
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 25px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.2), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  border-radius: 50%;
}

.social-card:hover::before {
  width: 400px;
  height: 400px;
}

.social-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(255, 107, 0, 0.3);
  border-color: rgba(255, 107, 0, 0.4);
}

.social-icon {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #ff6b00, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 50px;
  position: relative;
  z-index: 1;
}

.social-info {
  position: relative;
  z-index: 1;
}

.social-info strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.social-info span {
  font-size: 0.95rem;
  opacity: 0.7;
}

/* Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.photo-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

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

.photo-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.3);
  border-color: rgba(255, 107, 0, 0.3);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-item:hover img {
  transform: scale(1.1);
}

/* Timeline for Press */
.timeline {
  position: relative;
  padding-left: 50px;
  margin-top: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #ff6b00, #ffd700);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 25px 30px;
  background: rgba(42, 42, 45, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 30px;
  width: 12px;
  height: 12px;
  background: #ff6b00;
  border-radius: 50%;
  border: 3px solid #0a0a0b;
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.2);
}

.timeline-item:hover {
  transform: translateX(10px);
  background: rgba(255, 107, 0, 0.1);
  border-color: rgba(255, 107, 0, 0.3);
}

/* Timeline link styles */
.timeline a {
  color: #ffffff;
  text-decoration: none;
}

.timeline a:hover {
  color: #ffd700;
  text-decoration: underline;
}

/* Contact form luxury style */
.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 1rem;
  color: #ccc;
  letter-spacing: 0.5px;
}

input, textarea {
  width: 100%;
  padding: 18px 20px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(30, 30, 33, 0.6);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #ff6b00;
  background: rgba(30, 30, 33, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

button {
  width: 100%;
  padding: 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6b00, #ff8c00);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.3);
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition: width 0.6s ease, height 0.6s ease;
}

button:hover::before {
  width: 400px;
  height: 400px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 107, 0, 0.5);
}

button:active {
  transform: translateY(0);
}

/* Back to top luxury */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff6b00, #ffd700);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 12px 32px rgba(255, 107, 0, 0.6);
}

footer {
  text-align: center;
  padding: 60px 20px;
  font-size: 1rem;
  background: rgba(17, 17, 19, 0.8);
  backdrop-filter: blur(20px);
  color: #999;
  margin-top: 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
/* Responsive - DÜZELTİLMİŞ */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  h2 {
    font-size: 2.2rem;
  }
  .glass-card {
    padding: 40px 25px;
  }
  .timeline {
    padding-left: 40px;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  /* Kitap grid'i mobilde tek sütun */
  .book-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .book-card {
    max-width: 100%;
    margin: 0 auto;
  }
  .book-card img {
    height: 450px;  /* 350px'den 450px'e çıkardım */
    padding: 10px;  /* 15px'den 10px'e düşürdüm */
    transform: scale(1.0);  /* Aynı scale'i ekledim */
  }
  .book-details {
    padding: 0 20px 20px 20px;
  }
  /* Sosyal kartlar mobilde tek sütun */
  .social-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .social-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .photo-gallery {
    grid-template-columns: 1fr;
  }
  .book-card img {
    height: 400px;  /* 300px'den 400px'e çıkardım */
    padding: 10px;  /* Aynı padding */
    transform: scale(1.0);  /* Aynı scale'i ekledim */
  }
  .glass-card {
    padding: 30px 20px;
  }
  section {
    padding: 0 20px;
    margin: 60px auto;
  }
  h2 {
    font-size: 1.8rem;
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}