/* 2026 Yaz Kursu — açık yaz paleti, 3D tatil + İslami objeler */
@import url("https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Outfit:wght@400;500;600;700;800&family=Scheherazade+New:wght@400;700&display=swap");

:root {
  --yz-sky-top: #c9e8f7;
  --yz-sky-mid: #e4f3fb;
  --yz-sand: #fdeacc;
  --yz-sand-warm: #f5d9ae;
  --yz-sun: #ffc857;
  --yz-sun-deep: #f5a623;
  --yz-sea: #7ec8e3;
  --yz-sea-deep: #4aafd4;
  --yz-green: #3d9b6e;
  --yz-green-soft: #5aab7a;
  --yz-teal: #5ec4b8;
  --yz-gold: #e8b44a;
  --yz-terra: #c47a52;
  --yz-ink: #2a3d4f;
  --yz-ink-soft: #5a7082;
  --yz-white: #ffffff;
  --yz-cream: #fffcf7;
  --yz-card: rgba(255, 255, 255, 0.88);
  --yz-shadow: 0 12px 40px rgba(74, 175, 212, 0.14);
  --yz-shadow-3d: 0 8px 0 rgba(42, 61, 79, 0.08), 0 16px 32px rgba(74, 175, 212, 0.18);
  --yz-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --yz-ease-bounce: cubic-bezier(0.34, 1.45, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

.yz-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--yz-ink);
  line-height: 1.55;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 200, 87, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, var(--yz-sky-top) 0%, var(--yz-sky-mid) 38%, var(--yz-sand) 78%, var(--yz-sand-warm) 100%);
}

/* Yaz bulutları */
.yz-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.yz-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(2px);
  animation: yz-cloud-drift var(--dur, 28s) ease-in-out infinite;
}

.yz-orb--1 {
  width: 120px;
  height: 40px;
  top: 12%;
  left: 8%;
  --dur: 32s;
  box-shadow: 40px 0 0 -8px rgba(255, 255, 255, 0.5), 20px -12px 0 -10px rgba(255, 255, 255, 0.4);
}

.yz-orb--2 {
  width: 90px;
  height: 32px;
  top: 22%;
  right: 12%;
  --dur: 26s;
  animation-delay: -8s;
  box-shadow: 32px 0 0 -6px rgba(255, 255, 255, 0.45);
}

@keyframes yz-cloud-drift {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(24px);
  }
}

.yz-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(126, 200, 227, 0.35);
  box-shadow: 0 2px 16px rgba(74, 175, 212, 0.08);
}

.yz-header__inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.yz-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--yz-sea-deep);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(126, 200, 227, 0.4);
  transition: background 0.25s, transform 0.25s var(--yz-ease);
}

.yz-back:hover {
  background: #fff;
  transform: translateX(-2px);
}

.yz-brand {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--yz-green);
}

.yz-page {
  position: relative;
  z-index: 1;
  max-width: 50rem;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 1.5rem) 3.5rem;
}

/* 3D obje sahnesi */
.yz-scene {
  position: relative;
  height: clamp(7rem, 18vw, 9.5rem);
  margin: 0 auto 0.5rem;
  max-width: 36rem;
  perspective: 800px;
  animation: yz-rise 0.7s var(--yz-ease) both;
}

.yz-obj {
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--yz-ease);
  filter: drop-shadow(0 10px 14px rgba(42, 61, 79, 0.15));
}

.yz-obj svg {
  display: block;
  width: 100%;
  height: 100%;
}

.yz-obj--sun {
  width: 4.5rem;
  height: 4.5rem;
  top: 0;
  left: 50%;
  margin-left: -2.25rem;
  animation: yz-float-sun 5s ease-in-out infinite;
  z-index: 3;
}

.yz-obj--palm {
  width: 3.2rem;
  height: 4rem;
  bottom: 0;
  left: 4%;
  animation: yz-float-obj 6s ease-in-out infinite;
  animation-delay: -1s;
  z-index: 2;
}

.yz-obj--umbrella {
  width: 3rem;
  height: 3.2rem;
  bottom: 0.25rem;
  right: 6%;
  animation: yz-float-obj 5.5s ease-in-out infinite;
  animation-delay: -2.5s;
  z-index: 2;
}

.yz-obj--mosque {
  width: 3.4rem;
  height: 3.6rem;
  bottom: 0;
  left: 28%;
  animation: yz-float-obj 7s ease-in-out infinite;
  animation-delay: -0.5s;
  z-index: 1;
}

.yz-obj--quran {
  width: 2.8rem;
  height: 3rem;
  bottom: 0.15rem;
  right: 28%;
  animation: yz-float-obj 6.5s ease-in-out infinite;
  animation-delay: -3s;
  z-index: 2;
}

.yz-obj--crescent {
  width: 2.4rem;
  height: 2.4rem;
  top: 1.2rem;
  left: 14%;
  animation: yz-float-obj 5s ease-in-out infinite;
  animation-delay: -1.5s;
  z-index: 2;
}

.yz-obj--star {
  width: 1.6rem;
  height: 1.6rem;
  top: 0.8rem;
  right: 16%;
  animation: yz-twinkle 3s ease-in-out infinite;
  z-index: 2;
}

@keyframes yz-float-sun {
  0%,
  100% {
    transform: translateY(0) rotateY(-8deg) rotateX(6deg);
  }
  50% {
    transform: translateY(-10px) rotateY(8deg) rotateX(-4deg);
  }
}

@keyframes yz-float-obj {
  0%,
  100% {
    transform: translateY(0) rotateY(-5deg);
  }
  50% {
    transform: translateY(-8px) rotateY(5deg);
  }
}

@keyframes yz-twinkle {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.12) rotate(12deg);
  }
}

@keyframes yz-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 365 logosu — dönen ilçe yazısı */
.orbit-badge {
  position: relative;
  width: 7.5rem;
  height: 7.5rem;
  margin-inline: auto;
}

.orbit-badge--md {
  width: 6.5rem;
  height: 6.5rem;
  margin: 0 auto 0.75rem;
}

.orbit-badge--xs {
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 0.15rem;
  display: block;
}

.orbit-badge--xs .orbit-badge__logo {
  border-width: 2px;
}

.orbit-badge__ring {
  position: absolute;
  inset: 0;
  animation: orbit-spin 22s linear infinite;
}

.orbit-badge__ring svg {
  width: 100%;
  height: 100%;
  display: block;
}

.orbit-badge__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  height: 58%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--yz-sun);
  box-shadow: 0 6px 18px rgba(61, 155, 110, 0.22);
  z-index: 1;
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-badge__ring {
    animation: none;
  }
}

/* Hero */
.yz-hero {
  text-align: center;
  margin-bottom: 1.75rem;
  animation: yz-rise 0.75s var(--yz-ease) 0.1s both;
}

.yz-bismillah {
  margin: 0 0 0.45rem;
  font-family: "Scheherazade New", "Amiri", serif;
  font-size: clamp(1.3rem, 4vw, 1.65rem);
  color: var(--yz-green);
  direction: rtl;
}

.yz-hero__badge {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.3rem 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yz-ink);
  background: linear-gradient(135deg, var(--yz-sun) 0%, #ffe08a 100%);
  border-radius: 999px;
  box-shadow: var(--yz-shadow-3d);
}

.yz-hero__title {
  margin: 0 0 0.45rem;
  font-family: "Amiri", Georgia, serif;
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--yz-ink);
}

.yz-hero__sub {
  margin: 0 auto;
  max-width: 32rem;
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  font-weight: 500;
  color: var(--yz-ink-soft);
  line-height: 1.6;
}

.yz-on-kayit-notu {
  margin: 0 auto 1.35rem;
  max-width: 36rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
  color: #3d4a2a;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 248, 220, 0.95), rgba(255, 236, 179, 0.85));
  border: 1.5px solid rgba(232, 180, 74, 0.55);
  box-shadow: 0 6px 18px rgba(61, 155, 110, 0.1);
}

/* 3D bilgi kartları */
.yz-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.65rem;
}

@media (max-width: 640px) {
  .yz-info-grid {
    grid-template-columns: 1fr;
  }
}

.yz-info-card {
  position: relative;
  padding: 1rem 0.85rem;
  text-align: center;
  border-radius: 1rem;
  background: var(--yz-card);
  border: 1px solid rgba(126, 200, 227, 0.35);
  box-shadow: var(--yz-shadow);
  transform-style: preserve-3d;
  transition: transform 0.35s var(--yz-ease), box-shadow 0.35s;
  animation: yz-rise 0.65s var(--yz-ease) both;
}

.yz-info-card:nth-child(1) {
  animation-delay: 0.12s;
}
.yz-info-card:nth-child(2) {
  animation-delay: 0.2s;
}
.yz-info-card:nth-child(3) {
  animation-delay: 0.28s;
}

.yz-info-card:hover {
  transform: translateY(-5px) rotateX(2deg);
  box-shadow: var(--yz-shadow-3d);
}

.yz-icon-3d {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.55rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, #fff 0%, var(--yz-sky-mid) 100%);
  box-shadow:
    0 5px 0 rgba(74, 175, 212, 0.15),
    0 8px 20px rgba(74, 175, 212, 0.12),
    inset 0 2px 0 rgba(255, 255, 255, 0.95);
  transform: translateZ(12px);
  transition: transform 0.35s var(--yz-ease-bounce);
}

.yz-info-card:hover .yz-icon-3d {
  transform: translateZ(18px) scale(1.06) rotateY(-6deg);
}

.yz-icon-3d svg {
  width: 2rem;
  height: 2rem;
}

.yz-info-card__label {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yz-sea-deep);
  margin-bottom: 0.12rem;
}

.yz-info-card__text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--yz-ink);
  line-height: 1.35;
}

/* Form */
.yz-form-shell {
  position: relative;
  border-radius: 1.25rem;
  background: var(--yz-card);
  border: 2px solid rgba(126, 200, 227, 0.45);
  box-shadow: var(--yz-shadow-3d);
  animation: yz-rise 0.8s var(--yz-ease) 0.25s both;
  overflow: hidden;
}

.yz-form-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yz-sea), var(--yz-sun), var(--yz-green-soft), var(--yz-sea));
}

.yz-form-inner {
  padding: clamp(1.2rem, 3vw, 1.75rem);
}

.yz-form-steps {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.yz-step-dot {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(126, 200, 227, 0.25);
  overflow: hidden;
  transition: background 0.3s;
}

.yz-step-dot.is-done {
  background: var(--yz-green-soft);
}

.yz-step-dot.is-current {
  background: rgba(126, 200, 227, 0.25);
}

.yz-step-dot.is-current::after {
  content: "";
  display: block;
  height: 100%;
  width: 45%;
  background: var(--yz-sun);
  border-radius: inherit;
}

.yz-form-section {
  display: none;
  animation: yz-section-in 0.4s var(--yz-ease) both;
}

.yz-form-section.is-visible {
  display: block;
}

@keyframes yz-section-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.yz-section-title {
  margin: 0 0 0.95rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--yz-sea-deep);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.yz-section-title__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--yz-sea) 0%, var(--yz-sea-deep) 100%);
  border-radius: 0.45rem;
  box-shadow: 0 3px 0 rgba(74, 175, 212, 0.35);
}

.yz-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.yz-fld__label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--yz-ink);
  margin-bottom: 0.3rem;
}

.yz-fld__hint {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--yz-ink-soft);
  margin-bottom: 0.25rem;
}

.yz-fld__req {
  color: #d45a3a;
  font-weight: 800;
}

.yz-input-wrap {
  position: relative;
}

.yz-input-wrap__icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 1.05rem;
  color: var(--yz-sea-deep);
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.yz-input-wrap:focus-within .yz-input-wrap__icon {
  opacity: 0.85;
  transform: translateY(-50%) scale(1.08);
}

.yz-input,
.yz-textarea {
  width: 100%;
  padding: 0.7rem 0.85rem 0.7rem 2.35rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--yz-ink);
  border: 1.5px solid rgba(126, 200, 227, 0.45);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.yz-textarea {
  padding-left: 0.85rem;
  resize: vertical;
  min-height: 5rem;
}

.yz-input:focus,
.yz-textarea:focus {
  outline: none;
  border-color: var(--yz-sea);
  box-shadow: 0 0 0 3px rgba(126, 200, 227, 0.28);
}

.yz-input.is-valid {
  border-color: var(--yz-green-soft);
}

/* 3D seçim kartları */
.yz-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.55rem;
}

.yz-choice {
  position: relative;
  cursor: pointer;
}

.yz-choice input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.yz-choice__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
  border-radius: 0.85rem;
  border: 1.5px solid rgba(126, 200, 227, 0.35);
  background: rgba(255, 255, 255, 0.75);
  transition: all 0.28s var(--yz-ease);
  transform-style: preserve-3d;
}

.yz-choice__label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--yz-ink);
  line-height: 1.25;
}

.yz-choice--sube .yz-choice__box {
  padding-top: 0.55rem;
}

.yz-choice:hover .yz-choice__box {
  border-color: var(--yz-sea);
  transform: translateY(-3px) rotateX(3deg);
  box-shadow: 0 8px 20px rgba(74, 175, 212, 0.15);
}

.yz-choice input:checked + .yz-choice__box {
  border-color: var(--yz-green-soft);
  background: linear-gradient(175deg, #fff 0%, rgba(201, 232, 247, 0.5) 100%);
  box-shadow: 0 0 0 2px var(--yz-green-soft), 0 8px 22px rgba(61, 155, 110, 0.15);
  transform: translateY(-3px);
}

.yz-choice input:focus-visible + .yz-choice__box {
  outline: 2px solid var(--yz-sea-deep);
  outline-offset: 2px;
}

/* Butonlar */
.yz-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.4rem;
  align-items: center;
}

.yz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.45rem;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  border: none;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--yz-sea) 0%, var(--yz-sea-deep) 100%);
  box-shadow: 0 4px 0 rgba(74, 175, 212, 0.35), 0 8px 20px rgba(74, 175, 212, 0.25);
  cursor: pointer;
  transition: transform 0.15s var(--yz-ease), box-shadow 0.15s;
}

.yz-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(74, 175, 212, 0.3), 0 12px 28px rgba(74, 175, 212, 0.3);
}

.yz-btn:active {
  transform: translateY(1px);
}

.yz-btn:focus-visible {
  outline: 2px solid var(--yz-sun);
  outline-offset: 2px;
}

.yz-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.yz-btn--ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--yz-ink);
  border: 1.5px solid rgba(126, 200, 227, 0.5);
  box-shadow: none;
  font-weight: 700;
}

.yz-btn--submit {
  flex: 1;
  min-width: 10rem;
  background: linear-gradient(145deg, var(--yz-green-soft) 0%, var(--yz-green) 100%);
  box-shadow: 0 4px 0 rgba(61, 155, 110, 0.3), 0 8px 20px rgba(61, 155, 110, 0.2);
}

.yz-btn--submit:hover {
  box-shadow: 0 6px 0 rgba(61, 155, 110, 0.28), 0 12px 28px rgba(61, 155, 110, 0.28);
}

.yz-msg {
  min-height: 0;
  margin: 0 0 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #d45a3a;
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
}

.yz-msg:empty {
  display: none;
  margin: 0;
  padding: 0;
}

.yz-msg--ok {
  color: var(--yz-green);
  background: rgba(61, 155, 110, 0.1);
}

.yz-msg--err {
  background: rgba(212, 90, 58, 0.1);
}

.yz-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.yz-footer {
  text-align: center;
  margin-top: 1.65rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--yz-ink-soft);
}

.yz-footer a {
  color: var(--yz-sea-deep);
  font-weight: 700;
  text-decoration: none;
}

.yz-footer a:hover {
  text-decoration: underline;
}

/* Başarı */
.yz-success-card {
  text-align: center;
  max-width: 28rem;
  margin: 4rem auto;
  padding: 2rem 1.75rem;
  border-radius: 1.25rem;
  background: var(--yz-card);
  border: 2px solid rgba(126, 200, 227, 0.45);
  box-shadow: var(--yz-shadow-3d);
  animation: yz-rise 0.65s var(--yz-ease) both;
}

.yz-success-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--yz-green-soft), var(--yz-green));
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  box-shadow: var(--yz-shadow-3d);
}

.yz-success-card h1 {
  margin: 0 0 0.5rem;
  font-family: "Amiri", serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--yz-sea-deep);
}

.yz-success-card p {
  margin: 0 0 1.25rem;
  color: var(--yz-ink-soft);
}

.yz-success-card__note {
  margin: 0 0 1.25rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  color: #3d4a2a;
  background: rgba(255, 248, 220, 0.9);
  border: 1px solid rgba(232, 180, 74, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 480px) {
  .yz-scene {
    height: 6.5rem;
  }

  .yz-obj--mosque,
  .yz-obj--quran {
    transform: scale(0.85);
  }

  .yz-choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .yz-nav {
    flex-direction: column;
  }

  .yz-btn {
    width: 100%;
  }
}
