/* Kur’an Mektebi — kız öğrenci kayıt: İslami, feminen, Osmanlı motifleri */
@import url("https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;600;700&family=Great+Vibes&family=Scheherazade+New:wght@400;700&display=swap");

:root {
  --m-rose: #c9a0a8;
  --m-rose-deep: #8b5a62;
  --m-blush: #e8b4bc;
  --m-cream: #fff9f5;
  --m-cream-dark: #f5e6e0;
  --m-burgundy: #6b2d3d;
  --m-burgundy-soft: #8b3d52;
  --m-ink: #3d2430;
  --m-gold-soft: #d4a574;
  --m-shadow: 0 24px 64px rgba(107, 45, 61, 0.22);
  --m-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.m-body {
  margin: 0;
  min-height: 100vh;
  color: var(--m-ink);
  font-family: "El Messiri", Georgia, serif;
  line-height: 1.65;
  overflow-x: hidden;
  background: linear-gradient(125deg, #f0d0d8 0%, #fce8ec 25%, #fff9f5 50%, #f8e4e0 75%, #e8c4d4 100%);
  background-size: 240% 240%;
  animation: m-bg-flow 16s ease-in-out infinite;
}

.m-body--plain {
  animation-duration: 20s;
}

@keyframes m-bg-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.m-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%238b5a62' stroke-width='0.35' opacity='0.5'%3E%3Cpath d='M60 10 L110 60 L60 110 L10 60 Z'/%3E%3Ccircle cx='60' cy='60' r='48'/%3E%3Cpath d='M60 12v96M12 60h96'/%3E%3Cpath d='M30 30l60 60M90 30L30 90'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
}

.m-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    radial-gradient(ellipse 80% 50% at 0% 100%, rgba(139, 61, 82, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(232, 180, 188, 0.5) 0%, transparent 45%);
}

.m-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(255, 249, 245, 0.92) 0%, rgba(255, 249, 245, 0.65) 100%);
  border-bottom: 1px solid rgba(139, 90, 98, 0.2);
}

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

/* Afiş + şerit + kurs özeti (posterle uyumlu) */
.m-hero-poster {
  position: relative;
  z-index: 1;
  max-width: 32rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.m-hero-poster__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  box-shadow: 0 20px 56px rgba(107, 45, 61, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.35);
}

.m-cta-ribbon {
  position: relative;
  z-index: 1;
  max-width: 22rem;
  margin: 1rem auto 0;
  padding: 0.55rem 1.25rem;
  text-align: center;
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(110deg, #d77a92 0%, #c76b82 35%, #9c3d55 100%);
  box-shadow: 0 8px 28px rgba(107, 45, 61, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.m-kurs-panel {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 1.35rem auto 0;
  padding: 0 1.1rem 0.5rem;
}
.m-kurs-panel__title {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--m-burgundy);
}
.m-kurs-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
@media (max-width: 600px) {
  .m-kurs-panel__grid {
    grid-template-columns: 1fr;
  }
}
.m-kurs-panel__cell {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.7rem;
  font-size: 0.86rem;
  line-height: 1.4;
  color: #4a3540;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(200, 150, 165, 0.4);
  border-radius: 0.7rem;
}
.m-kurs-panel__ico {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--m-burgundy);
  background: linear-gradient(145deg, #f0c4cc, #e8a0b0);
  border-radius: 0.5rem;
}
.m-kurs-panel__tel {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: #4a3540;
}
.m-kurs-panel__tel a {
  color: var(--m-burgundy);
  font-weight: 800;
  text-decoration: none;
}
.m-kurs-panel__tel a:hover {
  text-decoration: underline;
}
.m-kurs-panel__tel-note {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--m-rose-deep);
  font-weight: 600;
}

.m-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--m-burgundy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s var(--m-ease);
}
.m-back:hover {
  color: var(--m-burgundy-soft);
  text-decoration: underline;
}

.m-wrap {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.1rem 3.5rem;
}

.m-wrap--center {
  padding-top: 3rem;
}

/* Mihrap hissi — üst kemer */
.m-arch-wrap {
  position: relative;
  padding-top: 0.5rem;
}

.m-arch {
  display: block;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto 0.25rem;
  height: auto;
  color: var(--m-rose-deep);
  opacity: 0.85;
  animation: m-float 6s ease-in-out infinite;
}

@keyframes m-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.m-floral {
  position: absolute;
  width: 4.5rem;
  height: 4.5rem;
  opacity: 0.28;
  color: var(--m-blush);
  pointer-events: none;
  animation: m-petal 8s ease-in-out infinite;
}
.m-floral--tl {
  top: -0.5rem;
  left: -0.25rem;
}
.m-floral--tr {
  top: -0.5rem;
  right: -0.25rem;
  animation-delay: -2s;
}
.m-floral--bl {
  bottom: 0.25rem;
  left: -0.15rem;
  animation-delay: -4s;
}
.m-floral--br {
  bottom: 0.25rem;
  right: -0.15rem;
  animation-delay: -1s;
}

@keyframes m-petal {
  0%,
  100% {
    opacity: 0.22;
    transform: rotate(0deg) scale(1);
  }
  50% {
    opacity: 0.38;
    transform: rotate(6deg) scale(1.05);
  }
}

.m-card {
  position: relative;
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.95) 0%, var(--m-cream) 42%, var(--m-cream-dark) 100%);
  border: 2px solid rgba(200, 150, 165, 0.55);
  border-radius: 1.5rem 1.5rem 1.25rem 1.25rem;
  box-shadow: var(--m-shadow), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  padding: clamp(1.35rem, 4vw, 2rem) clamp(1.05rem, 3vw, 1.75rem) clamp(1.5rem, 4vw, 2.1rem);
  overflow: hidden;
}

.m-card--form {
  margin-top: 0.25rem;
}
.m-card__deco {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 3.5rem;
  height: 4.25rem;
  color: var(--m-rose-deep);
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}
.m-card__hijab-ico {
  width: 100%;
  height: 100%;
}
@media (max-width: 400px) {
  .m-card__deco {
    width: 2.75rem;
    height: 3.35rem;
    opacity: 0.4;
  }
}

.m-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.m-card--success {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
}

.m-reveal {
  animation: m-reveal 0.85s var(--m-ease) both;
}

@keyframes m-reveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.m-bismillah {
  margin: 0 0 0.4rem;
  font-family: "Scheherazade New", "El Messiri", serif;
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  text-align: center;
  color: var(--m-burgundy);
  direction: rtl;
}

.m-title--script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.75rem, 8vw, 3.75rem);
  font-weight: 400;
  color: var(--m-burgundy);
  margin: 0 0 0.5rem;
  line-height: 1.1;
  text-align: center;
  background: linear-gradient(105deg, var(--m-burgundy) 0%, var(--m-burgundy-soft) 35%, #b85c72 70%, var(--m-burgundy) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: m-shimmer-text 5s linear infinite;
}

@keyframes m-shimmer-text {
  to {
    background-position: 200% center;
  }
}

.m-kicker {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--m-rose-deep);
  margin: 0 0 0.35rem;
  opacity: 0.9;
}

.m-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3.2vw, 1.65rem);
  font-weight: 700;
  text-align: center;
  color: var(--m-burgundy);
}

.m-lead {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 1.05rem;
  color: #4a3540;
}

.m-info-grid {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
  position: relative;
  z-index: 1;
}

.m-info {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(90deg, rgba(232, 180, 188, 0.22) 0%, rgba(255, 255, 255, 0.65) 100%);
  border: 1px solid rgba(200, 150, 165, 0.35);
  border-radius: 0.65rem;
  font-size: 0.92rem;
  color: #4a3540;
  animation: m-stagger 0.6s var(--m-ease) both;
}
.m-info:nth-child(1) {
  animation-delay: 0.05s;
}
.m-info:nth-child(2) {
  animation-delay: 0.12s;
}
.m-info:nth-child(3) {
  animation-delay: 0.19s;
}
.m-info:nth-child(4) {
  animation-delay: 0.26s;
}

@keyframes m-stagger {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.m-info__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f0c4cc 0%, #e8a0b0 100%);
  color: var(--m-burgundy);
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(107, 45, 61, 0.15);
}

.m-info strong {
  color: var(--m-burgundy);
}

.m-note {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4a3540;
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--m-blush);
  border-radius: 0 0.5rem 0.5rem 0;
  position: relative;
  z-index: 1;
}
.m-note--soft {
  background: linear-gradient(90deg, rgba(255, 240, 245, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-left-color: var(--m-rose-deep);
}

.m-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.m-fld {
  display: block;
  animation: m-fld-in 0.55s var(--m-ease) both;
}
.m-fld:nth-child(1) {
  animation-delay: 0.02s;
}
.m-fld:nth-child(2) {
  animation-delay: 0.06s;
}
.m-fld:nth-child(3) {
  animation-delay: 0.1s;
}
.m-fld:nth-child(4) {
  animation-delay: 0.14s;
}
.m-fld:nth-child(5) {
  animation-delay: 0.18s;
}
.m-fld:nth-child(6) {
  animation-delay: 0.22s;
}
.m-fld:nth-child(7) {
  animation-delay: 0.26s;
}
.m-fld:nth-child(8) {
  animation-delay: 0.3s;
}

@keyframes m-fld-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.m-fld__label {
  display: block;
  font-weight: 700;
  color: var(--m-burgundy);
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}
.m-fld__hint {
  display: block;
  font-size: 0.82rem;
  color: #6b5560;
  font-weight: 500;
  margin-top: 0.1rem;
}
.m-fld__req {
  color: #a03048;
  font-weight: 800;
}

select {
  width: 100%;
  padding: 0.68rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid rgba(180, 130, 150, 0.45);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--m-ink);
  transition: border-color 0.2s, box-shadow 0.25s var(--m-ease), transform 0.2s;
  cursor: pointer;
}
select:focus {
  outline: none;
  border-color: var(--m-burgundy-soft);
  box-shadow: 0 0 0 3px rgba(232, 180, 188, 0.45);
  transform: translateY(-1px);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
textarea {
  width: 100%;
  padding: 0.68rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid rgba(180, 130, 150, 0.45);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--m-ink);
  transition: border-color 0.2s, box-shadow 0.25s var(--m-ease), transform 0.2s;
}
textarea {
  min-height: 5.5rem;
  resize: vertical;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--m-burgundy-soft);
  box-shadow: 0 0 0 3px rgba(232, 180, 188, 0.45);
  transform: translateY(-1px);
}

.m-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.65rem;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #c76b82 0%, #8b3d52 40%, #6b2d3d 100%);
  background-size: 200% 100%;
  box-shadow: 0 6px 24px rgba(107, 45, 61, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s var(--m-ease), box-shadow 0.2s;
}
.m-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.25) 45%, transparent 55%);
  transform: translateX(-100%);
  transition: transform 0.5s var(--m-ease);
}
.m-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(107, 45, 61, 0.4);
  background-position: 100% 0;
  animation: m-btn-glow 2s ease-in-out infinite;
}
.m-btn:hover::after {
  transform: translateX(100%);
}

@keyframes m-btn-glow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

.m-btn:focus-visible {
  outline: 2px solid var(--m-gold-soft);
  outline-offset: 3px;
}
.m-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  animation: none;
}

.m-btn--ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--m-burgundy);
  border: 2px solid rgba(180, 130, 150, 0.55);
  box-shadow: none;
}
.m-btn--ghost:hover {
  background: #fff;
  animation: none;
}

.m-btn--primary {
  text-decoration: none;
  margin-top: 0.5rem;
}

.m-msg {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: #9a2040;
  font-weight: 700;
}
.m-msg--ok {
  color: #2d6b45;
}

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

.m-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: rgba(61, 36, 48, 0.65);
  position: relative;
  z-index: 1;
}
.m-footer a {
  color: var(--m-burgundy);
  font-weight: 700;
}

.m-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.m-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(232, 180, 188, 0.5), rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(180, 130, 150, 0.4);
  color: var(--m-burgundy);
}

@media (max-width: 480px) {
  .m-title {
    font-size: 1.25rem;
  }
}
