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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f5f7;
  color: #111827;
  line-height: 1.6;
}

/* Topbar */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  background: rgba(15, 23, 42, 0.5);
  z-index: 20;
}

.logo {
  font-weight: 700;
  color: #f9fafb;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar nav a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.95rem;
  position: relative;
}

.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #facc15;
  transition: width 0.25s ease;
}

.topbar nav a:hover::after {
  width: 100%;
}

/* Hero with nature background animation */

.hero {
  position: relative;
  min-height: 90vh;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f9fafb;
  overflow: hidden;
}

/* Doğa fotoğraflarını arka planda yumuşak geçişle değiştirir */
.nature-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: naturePan 24s linear infinite alternate;
}

.nature-layer-1 {
  background-image: url("images/nature1.jpg");
  opacity: 1;
}

.nature-layer-2 {
  background-image: url("images/nature2.jpg");
  opacity: 0;
  animation: naturePan2 24s linear infinite alternate;
}

/* ikinci katmanda hem pan hem fade */
@keyframes naturePan {
  0% {
    transform: scale(1.06) translate3d(-10px, 0, 0);
  }
  50% {
    transform: scale(1.1) translate3d(10px, -10px, 0);
  }
  100% {
    transform: scale(1.06) translate3d(-10px, 0, 0);
  }
}

@keyframes naturePan2 {
  0% {
    opacity: 0;
    transform: scale(1.1) translate3d(10px, 0, 0);
  }
  40% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.06) translate3d(-10px, -10px, 0);
  }
}

/* Üstüne hafif karartma */

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(248, 250, 252, 0.15), transparent 55%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75));
  mix-blend-mode: multiply;
}

/* Hero content */

.hero-content {
  position: relative;
  max-width: 720px;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  text-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.05rem;
  color: #e5e7eb;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Buttons */

.btn {
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #111827;
  box-shadow: 0 18px 40px rgba(248, 250, 252, 0.22);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.55);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.6);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn.secondary:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.btn.fullwidth {
  width: 100%;
}

/* Gezen kedi ve köpek */

.pet-walk {
  position: absolute;
  bottom: 10px;
  width: 110px;
  height: 110px;
  z-index: 1;
}

.pet-walk img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pet-dog {
  left: -120px;
  animation: dogWalk 26s linear infinite;
}

.pet-cat {
  right: -120px;
  animation: catWalk 30s linear infinite;
}

@keyframes dogWalk {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  45% {
    opacity: 1;
  }
  55% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(140vw);
    opacity: 0;
  }
}

@keyframes catWalk {
  0% {
    transform: translateX(0) scaleX(-1);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  45% {
    opacity: 1;
  }
  55% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(-140vw) scaleX(-1);
    opacity: 0;
  }
}

/* Scroll indicator */

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #e5e7eb;
  z-index: 1;
}

.mouse {
  width: 22px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid rgba(249, 250, 251, 0.7);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.wheel {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: #facc15;
  animation: wheel 1.4s ease-in-out infinite;
}

@keyframes wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* Sections */

.section {
  padding: 80px 5vw;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 24px;
}

/* About */

.about {
  background: #f9fafb;
}

.about p {
  margin-bottom: 12px;
  color: #374151;
}

/* Gallery slider */

.gallery {
  background: radial-gradient(circle at top, #e0f2fe, #f9fafb 55%);
}

.slider-window {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.85);
  padding: 20px 0;
}

.slider-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  animation: slideCards 28s linear infinite;
}

.card {
  flex: 0 0 260px;
  background: #020617;
  border-radius: 20px;
  overflow: hidden;
  margin-left: 16px;
  margin-right: 0;
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #020617;
}

.card-body {
  padding: 14px 16px 18px;
  color: #e5e7eb;
}

.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.card-body p {
  font-size: 0.9rem;
  color: #9ca3af;
}

@keyframes slideCards {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Donate */

.donate {
  background: #f9fafb;
}

.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: flex-start;
}

.donate-box {
  background: white;
  border-radius: 24px;
  padding: 24px 24px 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.donate-box h3 {
  margin-bottom: 12px;
}

.iban-label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
}

.iban-value {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 600;
  font-size: 1rem;
  margin: 4px 0 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f4f6;
}

.iban-note {
  font-size: 0.85rem;
  color: #6b7280;
}

.paytr-box .small {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 10px;
}

/* Contact */

.contact {
  background: #eef2ff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.contact-card {
  background: #f9fafb;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(191, 219, 254, 0.9);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-card a {
  color: #2563eb;
  text-decoration: none;
}

/* Footer */

.footer {
  padding: 22px 5vw 26px;
  background: #020617;
  color: #9ca3af;
  font-size: 0.85rem;
}

/* Responsive */

@media (max-width: 900px) {
  .topbar {
    justify-content: center;
  }
  .topbar nav {
    display: none;
  }
  .hero {
    padding-top: 88px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .pet-walk {
    width: 80px;
    height: 80px;
  }
  .donate-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .slider-window {
    border-radius: 18px;
  }
  .card {
    flex: 0 0 220px;
  }
}


/* IBAN kopyalama butonu ve toast */
.iban-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.copy-btn {
  padding: 10px 16px;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

.copy-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.copy-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.4);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: -80px;
  background: #111827;
  color: #f9fafb;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.6);
}

.toast.show {
  bottom: 24px;
  opacity: 1;
}

