/* GENEL AYARLAR */

body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  background-color: #fff8f0;
  color: #333;
}

h1 {
  letter-spacing: -0.02em;
}

h2 {
  letter-spacing: -0.01em;
}

p {
  line-height: 1.6;
}


/* HEADER */

.site-header {
  background-color: #fff7ec;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 20px;
}

.site-header .container {
  display: flex;
  align-items: center;
  height: 84px;
}

.search-suggestions {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  z-index: 100;
  display: none;
}

.search-suggestions li {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
}

.search-suggestions li:hover {
  background-color: #fff5e6;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #999;
  pointer-events: none;
}

.header-search input {
  padding: 8px 14px 8px 34px;
  border-radius: 20px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  width: 180px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus {
  border-color: #ff7a00;
  box-shadow: 0 0 0 2px rgba(255, 122, 0, 0.15);
}

.logo {
  margin-right: 24px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 130px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.header-search {
  position: relative;
  display: inline-block;
}

.site-nav a:hover {
  color: #ff7a00;
}

.site-nav a.active {
  font-weight: 700;
}


/* PRINTABLES */

.printables {
  text-align: center;
  padding: 40px 20px;
  background-color: #fffdf7;
}

.printables h2 {
  font-size: 32px;
  color: #f4a261;
  margin-bottom: 20px;
}



/* ========================= */
/* HERO */
/* ========================= */

/* === HERO TYPES === */
/* .hero          → ana sayfa hero */
/* .category-hero → kategori sayfaları */
/* .page-hero     → içerik sayfaları */

.hero {
  background-color: #fff5e6;
  padding: 80px 20px;
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  color: #333;
}

.hero p {
  font-size: 24px;
  margin-bottom: 32px;
  color: #454545;
  font-weight: 500;
}

/* === CATEGORY HERO === */

.category-hero {
  background-color: #fff5e6;
  padding: 80px 20px;
  text-align: center;
}

.category-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.category-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.category-hero p {
  font-size: 24px;
  margin-bottom: 32px;
  color: #454545;
  font-weight: 500;
}

/* === PAGE HERO === */

.page-hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.page-hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 16px;
  color: #666;
}

.hero,
.category-hero,
.page-hero {
  margin-bottom: 30px;
}

/* BUTTON */

.btn {
  display: inline-block;
  background-color: #ff7a00;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #e86a00;
}

.btn-print {
  background-color: #6c757d;
}

.btn-download {
  background-color: #ff7a00;
}

/* ========================= */
/* LAYOUT GRIDS */
/* ========================= */

.gallery-section {
  padding: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 180px);
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.printable-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.category-grid,
.gallery-grid {
  row-gap: 24px;
}

.animal-detail-page .gallery-grid {
  grid-template-columns: repeat(auto-fit, 150px);
  gap: 20px;
  justify-content: center;
}


/* CATEGORIES */

.categories {
  padding: 10px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.categories h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
}

/* ========================= */
/* CARDS */
/* ========================= */

/* CATEGORY CARD */

.category-card {
  width: 180px;
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  border: 2px solid #ffecd1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}

.category-card h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.card-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.card-actions .btn {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 16px;
}

/* PRINT CARD */

.print-card {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  width: 160px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}


.print-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
}


.print-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* GALLERY ITEM */

.gallery-item {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.gallery-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
}

.gallery-item:hover img {
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}

.gallery-item:hover .btn {
  filter: brightness(1.05);
}


/* ========================= */
/* COMING SOON */
/* ========================= */

.coming-soon {
  padding: 80px 20px;
  text-align: center;
}

.coming-soon-content {
  max-width: 520px;
  margin: 0 auto;
  background: #fffdf7;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.coming-soon .emoji {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.coming-soon h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.coming-soon p {
  font-size: 16px;
  color: #555;
  margin-bottom: 24px;
}

/* IMAGE PREVIEW MODAL */

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.image-modal.active {
  display: flex;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}


/* MOBİL UYUMLULUK */

@media (max-width: 768px) {

  /* Hero alanı */
  .hero {
    padding: 60px 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .site-header .container {
    display: flex;
    align-items: center;
    padding: 4px 24px;
    min-height: unset;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  }

  .header-search {
    margin-left: 0;
  }

  .header-search input {
    width: 100%;
    max-width: 280px;
  }

  /* Kategoriler başlığı */
  .categories h2 {
    margin-top: 40px;
    font-size: 28px;
  }

  /* Kart grid */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Kartlar kare kalsın */
  .category-card {
    aspect-ratio: 1 / 1;
  }

}