:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --muted: #64748b;
  --text: #1e293b;
  --primary: #0ea5e9;
  --primary-700: #0369a1;
  --ring: #0ea5e933;
  --border: #e2e8f0;
  --shadow: #00000008;
}



* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, #e0f2fe 0%, transparent 55%),
    radial-gradient(900px 500px at 90% -20%, #f0f9ff 0%, transparent 55%),
    var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.container {
  max-width: 1100px;
  margin-inline: auto;
  padding: 0;
}

/* Header */
header {
  position: relative;
  z-index: 100;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 10px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: 1.25rem;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px);
}


.brand .logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
  position: relative;
  overflow: hidden;
}

.brand .logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.brand:hover .logo::before {
  left: 100%;
}

.brand .logo span {
  font-size: 18px;
  color: #ffffff;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav .links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav .links a {
  color: #64748b;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
}

.nav .links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav .links a:hover {
  color: var(--primary);
  background: rgba(14, 165, 233, 0.05);
  transform: translateY(-1px);
}

.nav .links a:hover::before {
  width: 80%;
}

/* Dropdown Menü Stilleri */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  color: #64748b;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown:hover .dropdown-toggle {
  color: var(--primary);
  background: rgba(14, 165, 233, 0.05);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  color: #374151;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f1f5f9;
}

.dropdown-submenu-toggle::after {
  content: '▶';
  font-size: 0.7rem;
  color: #9ca3af;
  transition: transform 0.2s ease;
}

.dropdown-submenu:hover .dropdown-submenu-toggle::after {
  transform: rotate(90deg);
}

.dropdown-submenu:hover .dropdown-submenu-toggle {
  background: #f8fafc;
  color: var(--primary);
}

.dropdown-submenu-content {
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  padding: 0.5rem 0;
}

.dropdown-submenu:hover .dropdown-submenu-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.dropdown-submenu-content a {
  display: block;
  padding: 0.6rem 1rem;
  color: #6b7280;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f9fafb;
}

.dropdown-submenu-content a:last-child {
  border-bottom: none;
}

.dropdown-submenu-content a:hover {
  background: #f8fafc;
  color: var(--primary);
  padding-left: 1.25rem;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-dropdown {
  position: relative;
}

.nav-link {
  color: #64748b;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link::after {
  content: '▼';
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-link::after {
  transform: rotate(180deg);
}

.nav-dropdown:hover .nav-link {
  color: var(--primary);
  background: rgba(14, 165, 233, 0.05);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  max-width: 90vw;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Sağdaki menüler için sola kaydırma */
.nav-dropdown:nth-last-child(-n+2) .dropdown-menu {
  left: auto;
  right: 0;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.grade-dropdown {
  position: relative;
  padding: 0;
  border-bottom: 1px solid #f1f5f9;
}

.grade-dropdown:last-child {
  border-bottom: none;
}

.grade-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 0;
  background: transparent;
  border: none;
  margin: 0;
  position: relative;
  width: 100%;
  text-align: left;
}

.grade-link::after {
  content: '▶';
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: #9ca3af;
  transition: transform 0.2s ease;
}

.grade-dropdown:hover .grade-link::after {
  transform: translateY(-50%) rotate(90deg);
}

.grade-link:hover {
  background: #f8fafc;
  color: var(--primary);
}

.subjects-menu {
  position: absolute;
  top: 0;
  left: 100%;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.2s ease;
  z-index: 1001;
  padding: 0.5rem 0;
  margin-left: 0.5rem;
}

/* Sağdaki grade dropdown'lar için subjects-menu'yu sola kaydırma */
.nav-dropdown:nth-last-child(-n+2) .grade-dropdown:nth-last-child(-n+2) .subjects-menu {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 0.5rem;
  transform: translateX(10px);
}

.nav-dropdown:nth-last-child(-n+2) .grade-dropdown:nth-last-child(-n+2):hover .subjects-menu {
  transform: translateX(0);
}

.grade-dropdown:hover .subjects-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.subjects-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: #6b7280;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f9fafb;
}

.subjects-menu a:last-child {
  border-bottom: none;
}

.subjects-menu a:hover {
  background: #f8fafc;
  color: var(--primary);
  padding-left: 1.25rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10000;
  position: relative;
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background: #374151;
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: white;
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-nav-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.mobile-nav-close:hover {
  background: #e2e8f0;
}

.mobile-nav-close span {
  font-size: 1.5rem;
  color: #64748b;
  font-weight: 300;
}

.mobile-nav-content {
  padding: 1rem 0;
}

.mobile-nav-section {
  margin-bottom: 2rem;
  padding: 0 1.5rem;
}

.mobile-nav-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  display: block;
  padding: 0.75rem 1rem;
  color: #64748b;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.mobile-nav-links a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateX(5px);
}

/* Mobile Grade Dropdown */
.mobile-grade-dropdown {
  margin-bottom: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.mobile-grade-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.mobile-grade-link:hover {
  background: #f1f5f9;
  color: var(--primary);
}

.mobile-grade-link span {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
  color: #9ca3af;
}

.mobile-grade-dropdown.active .mobile-grade-link span {
  transform: rotate(180deg);
}

.mobile-grade-dropdown.active .mobile-grade-link {
  background: var(--primary);
  color: white;
}

.mobile-grade-dropdown.active .mobile-grade-link span {
  color: white;
}

.mobile-subjects-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
}

.mobile-grade-dropdown.active .mobile-subjects-menu {
  max-height: 500px;
}

.mobile-subjects-menu a {
  display: block;
  padding: 0.6rem 1.5rem;
  color: #64748b;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.mobile-subjects-menu a:last-child {
  border-bottom: none;
}

.mobile-subjects-menu a:hover {
  background: #f8fafc;
  color: var(--primary);
  padding-left: 2rem;
}

/* Navigation Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    gap: 1rem;
    padding: 0.75rem 0;
    position: relative;
  }


  .page-breadcrumb {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .page-breadcrumb a {
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
  }

  .page-breadcrumb span {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }

  .brand {
    font-size: 1.1rem;
    gap: 0.5rem;
  }

  .brand .logo {
    width: 32px;
    height: 32px;
  }

  .brand .logo span {
    font-size: 16px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }
}

@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }

  .desktop-nav {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }
}

/* 7. Sınıf Sayfası Stilleri */
.page-header {
  text-align: center;
  padding: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 5px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.page-breadcrumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.page-breadcrumb:hover::before {
  left: 100%;
}

.page-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  position: relative;
  font-weight: 500;
  border: 1px solid transparent;
}

.page-breadcrumb a:hover {
  color: white;
  background: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(14, 165, 233, 0.3);
}

.page-breadcrumb span {
  color: #64748b;
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
  font-size: 26px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 1rem;
  text-align: center;
  width: 100%;
}

.page-description {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
  width: 100%;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 12px;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.subjects-section {
  margin-bottom: 4rem;
}

.subjects-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
  text-align: center;
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.subject-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 10px;
  transition: all 0.3s ease;
}



.subject-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.subject-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 12px;
}

.subject-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  flex: 1;
}

.subject-badge {
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.subject-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-text {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.subject-books {
  margin-bottom: 1.5rem;
}

.book-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.book-item:last-child {
  border-bottom: none;
}

.book-name {
  font-weight: 500;
  color: #374151;
}

.book-questions {
  font-size: 0.85rem;
  color: #64748b;
}

.subject-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.subject-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.recent-books {
  margin-bottom: 4rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.view-all-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.view-all-link:hover {
  background: var(--primary);
  color: white;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.book-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.study-tips {
  background: #f8fafc;
  border-radius: 16px;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
}

.study-tips h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
  text-align: center;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.tip-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
}

.tip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tip-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.tip-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.75rem;
}

.tip-card p {
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Design for 7. Sınıf Page */
@media (max-width: 768px) {
  .page-header {
    padding: 2rem 0 1.5rem;
  }

  .quick-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .subjects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .subject-card {
    padding: 1.5rem;
  }

  .books-grid {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .study-tips {
    padding: 2rem 1rem;
  }
}


.book-info-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 10px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}



.book-cover-large {
  text-align: center;
  flex-shrink: 0;
  position: relative;
  border-radius: 5px;
}

.book-image-large {
  width: 240px;
  height: 240px;
}

.book-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.book-badge-large {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 800;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.book-badge-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.book-badge-large:hover::before {
  left: 100%;
}

.book-details {
  flex: 1;
}

.book-details h2 {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e293b, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  line-height: 1.2;
  position: relative;
}

.book-details h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #3b82f6);
  border-radius: 2px;
}

.book-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0;
  border-radius: 5px;
}

.book-title h1 {
  margin-bottom: 0;
  margin-top: 0;
  font-size: 30px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 10px;
  background: white;
  border-radius: 5px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.meta-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.meta-label {
  font-weight: 700;
  color: #64748b;
  min-width: 70px;
  font-size: 0.9rem;

}

.meta-value {
  color: #1e293b;
  font-weight: 600;
  font-size: 1rem;
}

.book-stats-large {
  display: flex;

  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 20px;
  border: 1px solid #bae6fd;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.1);
}

.book-stats-large .stat-item {
  text-align: center;
  flex: 1;
  padding: 1rem;
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.book-stats-large .stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #3b82f6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.book-stats-large .stat-item:hover::before {
  transform: scaleX(1);
}

.book-stats-large .stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.2);
  border-color: var(--primary);
}

.book-stats-large .stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.book-stats-large .stat-label {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.units-nav {
  margin-bottom: 4rem;
}

.units-nav h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
  text-align: center;
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.unit-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.unit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.unit-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.unit-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.25rem;
}

.unit-pages {
  font-size: 0.85rem;
  color: #64748b;
}

.pages-section {
  margin-bottom: 4rem;
}

.pages-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
  text-align: center;
}

.pages-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  margin-top: 0;
}

.units-sidebar {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  height: fit-content;
}

.units-sidebar h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  margin: 10px;

}

.units-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 10px 10px 10px;
}

.unit-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
}

.unit-btn:hover {
  background: #f0f9ff;
  border-color: #bae6fd;
  transform: translateX(4px);
}

.unit-btn.active {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.unit-btn-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.unit-number {
  width: 40px;
  height: 40px;
  background: white;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.unit-btn.active .unit-number {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.unit-info {
  flex: 1;
  min-width: 0;
}

.unit-name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: #1e293b;
}

.unit-btn.active .unit-name {
  color: white;
}

.unit-count {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.unit-btn.active .unit-count {
  color: rgba(255, 255, 255, 0.8);
}

.pages-content {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pages-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.pages-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
  border-bottom: 1px solid #e2e8f0;
}

.pages-count {
  background: #f0f9ff;
  color: var(--primary);
  padding: 5px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid #bae6fd;
}

.pages-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  background: white;
  color: #64748b;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 1rem;
}

.page-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  min-height: 80px;
}

.page-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  opacity: 0;
  transition: opacity 0.3s ease;
}


.page-number {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 1;
}



/* Responsive Design for Palme Kitap Sayfası */
@media (max-width: 768px) {
  .book-info-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    gap: 2rem;
  }

  .book-cover-large {
    padding: 1.5rem;
  }

  .book-icon-large {
    font-size: 4rem;
  }

  .book-badge-large {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
  }

  .book-details h2 {
    font-size: 1.75rem;
  }

  .book-meta-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .book-stats-large {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  .book-stats-large .stat-item {
    padding: 0.75rem;
  }

  .book-stats-large .stat-number {
    font-size: 2rem;
  }

  .units-grid {
    grid-template-columns: 1fr;
  }

  .pages-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.75rem;
  }

  .page-item {
    padding: 0;
    min-height: 70px;
  }

  .page-number {
    font-size: 1.25rem;
  }

  .pages-filter {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .filter-btn {
    white-space: nowrap;
  }

  .pages-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .units-sidebar {
    position: static;
    order: 2;
  }

  .pages-content {
    order: 1;
  }

  .units-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    padding: 0 10px;
  }

  .unit-btn-content {
    padding: 0.75rem;
  }

  .unit-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .unit-name {
    font-size: 0.9rem;
  }

  .unit-count {
    font-size: 0.75rem;
  }
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 7. Sınıf Türkçe Sayfası Stilleri */
.subject-stats-section {
  margin-bottom: 3rem;
}

.subject-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card.large {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-card.large:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.stat-card.large .stat-icon {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 16px;
}

.stat-card.large .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card.large .stat-label {
  font-size: 1rem;
  color: #64748b;
  font-weight: 600;
}

.books-section {
  margin: 0!important;
}

.books-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
  text-align: center;
}

.book-card.detailed {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.book-card.detailed:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.book-card.detailed .book-cover {
  text-align: center;
  margin-bottom: 1.5rem;
}

.book-card.detailed .book-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.book-card.detailed h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  text-align: center;
}

.book-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.publisher,
.year {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.publisher {
  background: #f0f9ff;
  color: var(--primary);
  border: 1px solid #bae6fd;
}

.year {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.book-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
}

.book-chapters {
  margin-bottom: 2rem;
}

.book-chapters h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.book-chapters ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.book-chapters li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: #64748b;
  font-size: 0.9rem;
}

.book-chapters li:last-child {
  border-bottom: none;
}

.book-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  background: var(--primary);
  text-decoration: none;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  width: 100%;
  justify-content: center;
}

.book-link:hover {
  background: #0c4a6e;
  transform: translateY(-2px);
}

.topics-section {
  margin-bottom: 4rem;
}

.topics-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
  text-align: center;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.topic-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.topic-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.topic-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.topic-card p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.topic-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topic-questions {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.topic-difficulty {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.topic-difficulty.easy {
  background: #dcfce7;
  color: #166534;
}

.topic-difficulty.medium {
  background: #fef3c7;
  color: #92400e;
}

.topic-difficulty.hard {
  background: #fee2e2;
  color: #991b1b;
}

.recent-questions {
  margin-bottom: 4rem;
}

.recent-questions h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
  text-align: center;
}

.questions-list {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.question-item {
  padding: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

.question-item:last-child {
  border-bottom: none;
}

.question-item:hover {
  background: #f8fafc;
}

.question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.question-number {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

.question-text {
  font-size: 1rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.question-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

.question-source {
  font-weight: 500;
}

.question-date {
  color: #9ca3af;
}

.study-guide {
  background: #f8fafc;
  border-radius: 20px;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
}

.study-guide h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
  text-align: center;
}

.guide-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.guide-tips h3,
.guide-resources h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.guide-tips ul,
.guide-resources ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-tips li,
.guide-resources li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
  line-height: 1.6;
}

.guide-tips li:last-child,
.guide-resources li:last-child {
  border-bottom: none;
}

.guide-tips strong {
  color: var(--primary);
  font-weight: 600;
}

/* Responsive Design for Türkçe Page */
@media (max-width: 768px) {
  .subject-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card.large {
    padding: 1.5rem;
    gap: 1rem;
  }

  .stat-card.large .stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
  }

  .stat-card.large .stat-number {
    font-size: 2rem;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .guide-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .study-guide {
    padding: 2rem 1rem;
  }
}

/* Hero */
.hero {
  padding: 0 0 10px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Hızlı Arama - Sol */
.hero-form-container {
  max-width: 100%;
}

.form-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  position: relative;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.field-group {
  display: flex;
  flex-direction: column;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  width: 100%;
  background: #f8fafc;
  color: var(--text);
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.select-wrapper select:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.1);
}

.select-arrow {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 0.7rem;
  pointer-events: none;
}

.form-actions {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.btn-primary,
.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: #0284c7;
}

.btn-secondary {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #9ca3af;
}

.quick-links {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.quick-links h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.75rem;
}

.link-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: white;
  color: #64748b;
  text-decoration: none;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.tag:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Açıklama - Sağ */
.hero-text {
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 20px;
  padding: 0.4rem 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0369a1;
}

.badge-icon {
  font-size: 1rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  margin: 0 0 1.25rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #0ea5e9, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 2rem;
}

.hero-description strong {
  color: #1e293b;
  font-weight: 700;
}

.hero-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2rem 0;
  }

  .hero-content {
    gap: 2rem;
    padding: 0 1rem;
  }

  .hero-text h1 {
    font-size: clamp(1.75rem, 1.25rem + 2vw, 2.25rem);
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .form-card {
    padding: 1.5rem;
  }

  .form-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .quick-links {
    padding: 1rem;
  }

  .link-tags {
    gap: 0.25rem;
  }

  .tag {
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
  }
}

/* Sections */
section {
  margin: 20px 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .8rem;
}

.section-head h2 {
  font-size: 1.1rem;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.card {
  grid-column: span 12;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .9rem;
  box-shadow: 0 1px 3px var(--shadow);
}

.card h3 {
  margin: 0 0 .35rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.meta {
  display: flex;
  gap: .6rem;
  color: #64748b;
  font-size: .85rem;
  margin-top: .4rem;
}

@media (min-width: 720px) {
  .card.sm-4 {
    grid-column: span 4;
  }

  .card.sm-3 {
    grid-column: span 3;
  }

  .card.sm-6 {
    grid-column: span 6;
  }
}

/* Books Carousel - Glide.js */
.books-carousel {
  position: relative;
}

.glide {
  padding: 0;
}

.glide__track {
  overflow: visible;
}

.glide__slides {
  align-items: stretch;
}

.glide__slide {
  width: 280px;
  height: auto;
  flex-shrink: 0;
}

.book-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0;
  box-shadow: 0 4px 6px -1px var(--shadow), 0 2px 4px -1px var(--shadow);
  transition: all 0.2s ease;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.book-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -3px var(--shadow), 0 4px 6px -2px var(--shadow);
}

.book-cover {
  position: relative;
  height: 240px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}


.book-image {
  height: 240px;
}

.book-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #10b981;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.book-content {
  padding: 1.25rem;
}

.book-content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.book-content h3 a {
  color: var(--text);
  text-decoration: none;
}

.book-content h3 a:hover {
  color: var(--primary);
}

.book-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.grade {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.subject {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.book-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.questions {
  font-weight: 600;
  color: var(--primary);
}

.date {
  font-size: 0.8rem;
}

/* Glide Navigation Buttons */
.glide__arrow {
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 6px -1px var(--shadow);
  transition: all 0.2s ease;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.glide__arrow--left {
  left: -20px;
}

.glide__arrow--right {
  right: -20px;
}

.glide__arrow:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.glide__arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--muted);
  border-color: var(--muted);
}

.glide__arrow:disabled:hover {
  background: var(--muted);
  border-color: var(--muted);
  color: white;
  transform: translateY(-50%) scale(1);
}

@media (max-width: 768px) {
  .glide__arrow {
    display: none;
  }

  .glide__slide {
    width: 260px;
    /* Slightly smaller on mobile for better fit */
  }
}

@media (max-width: 480px) {
  .glide__slide {
    width: 240px;
    /* Even smaller on very small screens */
  }
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 1.5rem 0;
  margin-top: 20px!important;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-copy {
  margin: 0;
}

/* Utilities */
.muted {
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Info box */
.info-box {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
}

.info-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #0369a1;
}

.info-box ol {
  margin: 0;
  padding-left: 1.2rem;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* E-ticaret Tarzı Menü Stilleri */
.ecommerce-sidebar {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  height: fit-content;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

/* Sidebar Toggle Button */
.sidebar-toggle {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  cursor: pointer;
  border-radius: 12px 12px 0 0;
  transition: all 0.3s ease;
  -webkit-user-select: none;
  user-select: none;
}

/* Masaüstünde toggle butonunu gizle */
@media (min-width: 769px) {
  .sidebar-toggle {
    display: none;
  }

  .sidebar-content {
    max-height: none !important;
    overflow: visible;
  }
}

.sidebar-toggle:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.toggle-icon {
  font-size: 1.2rem;
  margin-right: 0.75rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.toggle-text {
  font-size: 0.95rem;
  font-weight: 600;
}

.sidebar-toggle:hover .toggle-icon {
  transform: scale(1.1);
}

/* Sidebar Content - Default Hidden */
.sidebar-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Sidebar Open State */
.sidebar-open .sidebar-content {
  max-height: 1000px;
}

.sidebar-open .sidebar-toggle {
  border-radius: 12px 12px 0 0;
}

.sidebar-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1.5rem 1.25rem;
  color: white;
  text-align: center;
}

.sidebar-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sidebar-subtitle {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 400;
}

.sidebar-content {
  padding: 0;
}

.menu-category {
  border-bottom: 1px solid #f1f5f9;
}

.menu-category:last-child {
  border-bottom: none;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem 0.75rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.category-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-count {
  font-size: 0.75rem;
  color: #64748b;
  background: #e2e8f0;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  font-weight: 500;
}

.category-items {
  padding: 0.5rem 0;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.25rem;
  color: #374151;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.menu-item:hover {
  background: #f8fafc;
  color: var(--primary);
  border-left-color: var(--primary);
  transform: translateX(4px);
}

.menu-item.active {
  background: #f0f9ff;
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

.item-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.item-name {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.item-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.3;
}

.menu-item:hover .item-desc,
.menu-item.active .item-desc {
  color: #94a3b8;
}

.item-badge {
  font-size: 0.8rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-weight: 600;
  min-width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.menu-item:hover .item-badge,
.menu-item.active .item-badge {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.sidebar-footer {
  padding: 1.25rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.view-all-btn {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  background: white;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
}

.view-all-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-icon {
  font-size: 1.2rem;
  margin-right: 0.75rem;
}

.btn-text {
  flex: 1;
}

.btn-arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.view-all-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Minimal Book Cards */
.books-grid-minimal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.book-card-minimal {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  text-decoration: none;
  color: #374151;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.book-card-minimal:hover {
  background: #f8fafc;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--primary);
}

.book-icon-minimal {
  font-size: 1.5rem;
  margin-right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 8px;
  flex-shrink: 0;
}

.book-card-minimal:hover .book-icon-minimal {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.book-info-minimal {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.book-info-minimal h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: #1e293b;
  line-height: 1.3;
}

.book-card-minimal:hover .book-info-minimal h3 {
  color: var(--primary);
}

.book-publisher {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.book-card-minimal:hover .book-publisher {
  color: #94a3b8;
}

.book-arrow {
  font-size: 1.2rem;
  color: #cbd5e1;
  transition: all 0.2s ease;
  margin-left: 0.5rem;
}

.book-card-minimal:hover .book-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

/* Palme Sayfa Detay Stilleri */
.page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.pages-sidebar {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.pages-sidebar h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
  padding: 1rem 1rem 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
  border-radius: 8px 8px 0 0;
}

.pages-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.unit-section {
  margin-bottom: 0;
  border-bottom: 1px solid #f1f5f9;
  background: white;
  transition: all 0.2s ease;
}

.unit-section:last-child {
  border-bottom: none;
}

.unit-section:hover {
  background: #f8fafc;
}

.unit-header {
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  text-align: left;
}

.unit-header:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.unit-header.active {
  background: #f0f9ff;
  color: var(--primary);
  font-weight: 600;
}

.unit-title {
  flex: 1;
  text-align: left;
  font-size: 0.9rem;
}

.unit-arrow {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
  margin-left: 0.5rem;
  color: #64748b;
}

.unit-header.active .unit-arrow {
  color: var(--primary);
}

.unit-pages {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: #f8fafc;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.unit-pages.active {
  display: flex;
  max-height: 500px;
  overflow: auto;
}

.page-link {
  display: block;
  padding: 0.5rem 1rem 0.5rem 2rem;
  color: #64748b;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.page-link:hover {
  background: #f0f9ff;
  color: var(--primary);
  border-left-color: var(--primary);
}

.page-link.active {
  background: #f0f9ff;
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

.page-link::before {
  content: '•';
  position: absolute;
  left: 1rem;
  color: #cbd5e1;
  font-size: 0.8rem;
}

.page-link:hover::before,
.page-link.active::before {
  color: var(--primary);
}

.page-content {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.page-info {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.page-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.page-number {
  background: var(--primary);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
}

.page-unit {
  background: #f0f9ff;
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #bae6fd;
}

.page-difficulty {
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
}

.page-difficulty.easy {
  background: #dcfce7;
  color: #166534;
}

.page-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.page-info .page-description {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Tab Sistemi */
.tab-container {
  margin-bottom: 2rem;
}

.tab-buttons {
  display: flex;
  background: #f8fafc;
  border-radius: 12px 12px 0 0;
  border: 1px solid #e2e8f0;
  border-bottom: 2px solid #e2e8f0;
  overflow: hidden;
}

.tab-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  background: #e2e8f0;
  color: #374151;
}

.tab-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.tab-content {
  display: none;
  background: white;
  padding: 2rem;
}

.tab-content.active {
  display: block;
}

.page-screenshot {
  margin-bottom: 0;
}

.page-table-section {
  margin-bottom: 2rem;
}

.page-table-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.table-container {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.page-table thead {
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}

.page-table th {
  padding: 1rem 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-table td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

.page-table tbody tr:hover {
  background: #f8fafc;
}

.page-table tbody tr:last-child td {
  border-bottom: none;
}

.table-options {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.option-item {
  display: block;
  padding: 0.25rem 0.5rem;
  background: #f1f5f9;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.correct-answer {
  background: #dcfce7;
  color: #166534;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid #bbf7d0;
}

.difficulty {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.difficulty.easy {
  background: #dcfce7;
  color: #166534;
}

.difficulty.medium {
  background: #fef3c7;
  color: #92400e;
}

.difficulty.hard {
  background: #fee2e2;
  color: #991b1b;
}

.page-screenshot h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.screenshot-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.screenshot-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.screenshot-container:hover .screenshot-image {
  transform: scale(1.02);
}

.screenshot-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.screenshot-container:hover .screenshot-overlay {
  opacity: 1;
}

.zoom-btn {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.zoom-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.solutions-section {
  margin-bottom: 2rem;
}

.solutions-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.solution-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.solution-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.question-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.question-content {
  margin-left: 0.5rem;
}

.question-text {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.option {
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s ease;
}

.option:hover {
  border-color: var(--primary);
  background: #f0f9ff;
}

.answer {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.answer strong {
  color: #166534;
  font-weight: 700;
}

.explanation {
  margin-top: 0.5rem;
  color: #166534;
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: #0284c7;
  transform: translateY(-1px);
}

.nav-btn.prev {
  background: #64748b;
}

.nav-btn.prev:hover {
  background: #475569;
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 2rem;
  width: 90%;
  max-width: 1200px;
  top: 50%;
  transform: translateY(-50%);
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
}

.close:hover {
  color: #ccc;
}

/* Responsive Design for Sayfa Detay */
@media (max-width: 768px) {
  .page-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pages-sidebar {
    position: static;
    order: 2;
  }

  .page-content {
    order: 1;
  }

  .unit-pages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
  }

  .page-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .options {
    grid-template-columns: 1fr;
  }

  .page-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-btn {
    width: 100%;
    justify-content: center;
  }

  .modal-content {
    width: 95%;
    padding: 1rem;
  }

  .page-table {
    font-size: 0.8rem;
  }

  .page-table th,
  .page-table td {
    padding: 0.75rem 0.5rem;
  }

  .page-table th {
    font-size: 0.75rem;
  }

  .table-options {
    gap: 0.2rem;
  }

  .option-item {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
  }

  .correct-answer {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
  }

  .difficulty {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
  }

  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .tab-content {
    padding: 1.5rem;
  }

  .unit-header {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  .unit-pages {
    padding: 0.4rem 0.8rem 0.8rem 0.8rem;
  }

  .unit-pages.active {
    max-height: 400px;
  }

  .pages-sidebar h3 {
    font-size: 0.95rem;
    padding: 0.8rem 0.8rem 0.6rem 0.8rem;
  }

  .unit-header {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  .page-link {
    padding: 0.4rem 0.8rem 0.4rem 1.5rem;
    font-size: 0.8rem;
  }

  .page-link::before {
    left: 0.8rem;
  }

  .subjects-sidebar h3 {
    font-size: 0.95rem;
    padding: 0.8rem 0.8rem 0.6rem 0.8rem;
  }

  .subject-link {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  .subject-icon {
    font-size: 1.1rem;
    margin-right: 0.6rem;
    width: 20px;
  }

  .subject-count {
    font-size: 0.75rem;
    padding: 0.15rem 0.4rem;
  }

  .ecommerce-sidebar {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .sidebar-header {
    padding: 1.25rem 1rem;
  }

  .sidebar-header h3 {
    font-size: 1.1rem;
  }

  .sidebar-subtitle {
    font-size: 0.8rem;
  }

  .category-header {
    padding: 0.875rem 1rem 0.6rem 1rem;
  }

  .category-title {
    font-size: 0.85rem;
  }

  .category-count {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
  }

  .menu-item {
    padding: 0.75rem 1rem;
  }

  .item-icon {
    font-size: 1.3rem;
    margin-right: 0.75rem;
    width: 28px;
  }

  .item-name {
    font-size: 0.9rem;
  }

  .item-desc {
    font-size: 0.75rem;
  }

  .item-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    min-width: 35px;
  }

  .sidebar-footer {
    padding: 1rem;
  }

  .view-all-btn {
    padding: 0.75rem 0.875rem;
    font-size: 0.85rem;
  }

  .btn-icon {
    font-size: 1.1rem;
    margin-right: 0.6rem;
  }

  .books-grid-minimal {
    gap: 0.5rem;
  }

  .book-card-minimal {
    padding: 0.875rem 1rem;
  }

  .book-icon-minimal {
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
    margin-right: 0.875rem;
  }

  .book-info-minimal h3 {
    font-size: 0.95rem;
  }

  .book-publisher {
    font-size: 0.8rem;
  }

  .book-arrow {
    font-size: 1.1rem;
  }

  .sidebar-toggle {
    padding: 0.875rem 1rem;
  }

  .toggle-icon {
    font-size: 1.1rem;
    margin-right: 0.6rem;
  }

  .toggle-text {
    font-size: 0.9rem;
  }
}


.books-header {
  margin-bottom: 2rem;
  text-align: center;
}

.books-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.books-description {
  color: #666;
  font-size: 1.1rem;
  margin: 0;
}

.books-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.book-info-card {
  display: flex;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  gap: 2rem;
  padding: 1.5rem;
}

.book-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.book-cover-large {
  flex-shrink: 0;
  width: 200px;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-image-large {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-placeholder-large {
  font-size: 4rem;
  opacity: 0.6;
}

.book-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-title {
  margin-bottom: 1.5rem;
}

.book-title h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.book-title h3 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.book-title h3 a:hover {
  color: #3b82f6;
}

.book-title p {
  margin: 0;
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
}

.book-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.meta-label {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}

.meta-value {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

.book-actions {
  margin-top: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #3b82f6;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.btn-arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(2px);
}

.no-books {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: #f9fafb;
  border-radius: 12px;
  border: 2px dashed #d1d5db;
}

.no-books-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.no-books h3 {
  font-size: 1.5rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

.no-books p {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .books-header h2 {
    font-size: 1.5rem;
  }
  
  .book-info-card {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }
  
  .book-cover-large {
    width: 100%;
    height: 200px;
    align-self: center;
  }
  
  .book-title h3 {
    font-size: 1.25rem;
  }
  
  .book-meta-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }
  
  .meta-label {
    font-size: 0.8rem;
  }
  
  .meta-value {
    font-size: 0.9rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .book-info-card {
    padding: 0.75rem;
    gap: 1rem;
  }
  
  .book-cover-large {
    height: 160px;
  }
  
  .book-title h3 {
    font-size: 1.1rem;
  }
  
  .book-title p {
    font-size: 0.9rem;
  }
  
  .book-meta-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .meta-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .meta-label {
    font-size: 0.75rem;
  }
  
  .meta-value {
    font-size: 0.85rem;
  }
  
  .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* Basic print styles for SEO/UX */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  header,
  .panel,
  .actions {
    display: none;
  }

  .card {
    border: 1px solid #ccc;
  }
}