@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,400;1,600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --primary: #9e1b24;
  --primary-dark: #7a1219;
  --primary-light: #c93540;
  --secondary: #0f1d33;
  --secondary-light: #1e314f;
  --accent: #d4a34b;
  --accent-light: #f5e4b8;
  --bg-cream: #faf7f2;
  --bg-card: #ffffff;
  --text-main: #1f2937;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e5e0d8;
  --card-shadow: 0 10px 30px -5px rgba(15, 29, 51, 0.08);
  --card-hover-shadow: 0 20px 35px -5px rgba(15, 29, 51, 0.16);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-cream);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.01em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--primary-dark);
}

.navbar-custom {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 0.85rem 0;
  transition: all 0.3s ease;
}

.navbar-brand-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--secondary) !important;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar-brand-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.navbar-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
  background-color: rgba(158, 27, 36, 0.06);
}

.btn-bilgeoguz {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(158, 27, 36, 0.3);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-bilgeoguz:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(158, 27, 36, 0.45);
  transform: translateY(-1px);
}

.btn-bilgeoguz-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.15rem;
  border-radius: 50px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s ease;
}

.btn-bilgeoguz-outline:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(212, 163, 75, 0.12) 0%, rgba(250, 247, 242, 1) 70%);
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(158, 27, 36, 0.08);
  border: 1px solid rgba(158, 27, 36, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--secondary);
}

.hero-lead {
  font-size: 1.18rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 2rem;
}

.hero-photo-wrapper {
  position: relative;
  display: inline-block;
}

.hero-photo-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 29, 51, 0.28);
  border: 5px solid #ffffff;
  background: #ffffff;
  transition: transform 0.4s ease;
}

.hero-photo-frame:hover {
  transform: translateY(-4px);
}

.hero-photo-frame img {
  width: 100%;
  max-width: 380px;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-photo-accent {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  border: 2px solid var(--accent);
  z-index: -1;
  background: rgba(212, 163, 75, 0.06);
}

.hero-quote-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #ffffff;
  padding: 1rem 1.4rem;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-left: 4px solid var(--primary);
  max-width: 280px;
}

.hero-quote-badge p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.4;
  font-style: italic;
}

.stats-bar {
  background: var(--secondary);
  color: #ffffff;
  padding: 2.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-padding {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3.25rem;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
  border-color: rgba(158, 27, 36, 0.3);
}

.book-card-cover {
  position: relative;
  background: #f1ede6;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.25rem;
}

.book-card-cover img {
  max-height: 230px;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.18));
  transition: transform 0.35s ease;
}

.book-card:hover .book-card-cover img {
  transform: scale(1.05);
}

.book-cover-placeholder {
  width: 140px;
  height: 200px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  border-left: 5px solid var(--accent);
}

.book-cover-placeholder-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.book-cover-placeholder-author {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.book-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 29, 51, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  z-index: 2;
}

.book-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.book-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  color: var(--secondary);
}

.book-card-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.book-card-desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.book-card-footer {
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.book-card-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
}

.category-filter-btn {
  border-radius: 50px;
  padding: 0.45rem 1.15rem;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--secondary);
  transition: all 0.2s ease;
}

.category-filter-btn:hover,
.category-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(158, 27, 36, 0.25);
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 11px;
  bottom: 0;
  width: 2px;
  background: #e2dcd0;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.75rem;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(158, 27, 36, 0.15);
}

.timeline-year {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(158, 27, 36, 0.08);
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.35rem;
  color: var(--secondary);
  margin-bottom: 0.65rem;
}

.bilgeoguz-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #152238 60%, var(--secondary-light) 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 3.5rem;
  box-shadow: 0 20px 40px rgba(15, 29, 51, 0.25);
  position: relative;
  overflow: hidden;
}

.bilgeoguz-banner::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 163, 75, 0.2) 0%, rgba(212, 163, 75, 0) 70%);
}

.bilgeoguz-banner h3 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.site-footer {
  background: var(--secondary);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h5 {
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.site-footer a {
  color: #94a3b8;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: #94a3b8;
}

.table-custom {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.table-custom .table {
  min-width: 720px;
  margin-bottom: 0;
}

.table-custom th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.table-custom td {
  padding: 1rem 1.25rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1ede6;
}

.table-custom tr:hover td {
  background-color: #fdfbf7;
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.45rem;
  }
  .hero-photo-frame img {
    height: 400px;
  }
  .hero-quote-badge {
    left: 10px;
    bottom: -15px;
  }
  .bilgeoguz-banner {
    padding: 2.25rem 1.5rem;
  }
}