@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');

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

body {
  font-family: 'Manrope', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #f5fbee;
  color: #0f3b23;
  text-align: center;
}

/* Form ve admin paneli sol hizalı kalır */
.rs-form-card,
.rs-form-card *,
input, textarea, select,
.rs-check-label,
.rs-radio-label { text-align: left; }

.font-display {
  font-family: 'Poppins', 'Manrope', sans-serif;
  letter-spacing: -0.01em;
}

/* ── Dot background ── */
.rs-dot-bg {
  background-color: #f5fbee;
  background-image: radial-gradient(rgba(20, 93, 58, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ── Highlight badge (lime) ── */
.rs-highlight {
  display: inline-block;
  background: linear-gradient(180deg, #cef26a 0%, #b6e83c 100%);
  color: #0f3b23;
  padding: 0.02em 0.5em 0.08em;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(150, 200, 60, 0.35);
  transform: rotate(-1deg);
  font-weight: 800;
}

/* ── Underline decoration ── */
.rs-underline {
  position: relative;
  display: inline-block;
  font-weight: 700;
}
.rs-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: #0f3b23;
  border-radius: 2px;
}

/* ── CTA shadow ── */
.rs-cta-shadow { box-shadow: 0 22px 40px -20px rgba(15, 59, 35, 0.55); }

/* ── CTA Block button ── */
.rs-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
  border-radius: 1.5rem;
  background: #0f5433;
  color: white;
  padding: 1.5rem 2.5rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 22px 40px -20px rgba(15, 59, 35, 0.55);
}
.rs-cta-block:hover { background: #0f6a3d; transform: translateY(-2px); color: white; }

.rs-cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}
.rs-cta-sub {
  margin-top: 0.25rem;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-align: center;
}
.rs-cta-arrow {
  margin-top: 0.75rem;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.rs-cta-block:hover .rs-cta-arrow { transform: translateX(4px); }

/* ── Video Player ── */
.rs-video-wrap {
  position: relative;
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  /* Şeffaf: PNG'nin alpha kanalı sayfanın bg rengiyle (#f5fbee) harmanlanır */
  background: #f5fbee;
  box-shadow: 0 20px 60px -20px rgba(15,59,35,0.45);
}
/* Video oynatılırken (iframe/video eklendikten sonra) siyah bg */
.rs-video-wrap.playing { background: #000; }
.rs-video-wrap.aspect-16-9 { aspect-ratio: 16/9; }
.rs-video-wrap.aspect-4-5  { aspect-ratio: 4/5; }
.rs-video-wrap iframe,
.rs-video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.rs-video-thumb-btn {
  position: absolute; inset: 0;
  background: none; border: none; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.rs-video-thumb-btn img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  /* contain: görselin tamamı görünür, kırpılmaz, PNG şeffaflığı korunur */
  object-fit: contain;
}
.rs-video-thumb-btn .overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.1);
  transition: background 0.2s;
}
.rs-video-thumb-btn:hover .overlay { background: rgba(0,0,0,0.05); }
.rs-play-circle {
  position: relative; z-index: 1;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.rs-video-thumb-btn:hover .rs-play-circle { transform: scale(1.1); }
.rs-play-circle svg { margin-left: 4px; }

/* ── Testimonial name tag ── */
.rs-name-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 10;
  background: #b6e83c;
  color: #0f3b23;
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.rs-name-tag .name  { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.rs-name-tag .role  { font-size: 0.75rem; margin-top: 2px; }

/* ── FAQ Accordion ── */
.rs-faq-item {
  background: #eaf5d5;
  border-radius: 1rem;
  border: 1px solid #dbeeb5;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.rs-faq-btn {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 600; font-size: 0.975rem;
  color: #0f3b23;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.rs-faq-btn:hover { color: #0f5433; }
.rs-faq-icon { flex-shrink: 0; transition: transform 0.25s; }
.rs-faq-item.open .rs-faq-icon { transform: rotate(180deg); }
.rs-faq-body { display: none; padding: 0 1.25rem 1.1rem; color: #295a3b; line-height: 1.7; font-size: 0.95rem; }
.rs-faq-item.open .rs-faq-body { display: block; }

/* ── Form ── */
.rs-form-card {
  background: white;
  border-radius: 1.75rem;
  border: 1px solid #e6f0d6;
  box-shadow: 0 25px 50px -25px rgba(15,59,35,0.35);
  padding: 2.5rem;
}
@media (max-width: 600px) { .rs-form-card { padding: 1.5rem; } }

.rs-form-label {
  display: block;
  font-weight: 600;
  color: #0f3b23;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.rs-input, .rs-textarea {
  width: 100%;
  border: 1px solid #e6f0d6;
  border-radius: 0.6rem;
  padding: 0.65rem 0.875rem;
  font-family: inherit; font-size: 0.95rem;
  color: #0f3b23;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.rs-input:focus, .rs-textarea:focus {
  border-color: #22a457;
  box-shadow: 0 0 0 3px rgba(34,164,87,0.15);
}
.rs-textarea { resize: vertical; min-height: 96px; }
.rs-input-group { position: relative; }
.rs-input-group .rs-icon {
  position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%);
  color: #5b7a63; pointer-events: none;
}
.rs-input-group .rs-input { padding-left: 2.25rem; }
.rs-input-group.top .rs-icon { top: 1rem; transform: none; }
.rs-input-group.top .rs-textarea { padding-left: 2.25rem; }

.rs-check-label, .rs-radio-label {
  display: flex; align-items: center; gap: 0.6rem;
  cursor: pointer; color: #295a3b; margin-bottom: 0.6rem;
}
.rs-check-label input, .rs-radio-label input { width: 1rem; height: 1rem; accent-color: #22a457; cursor: pointer; }

.rs-submit-btn {
  width: 100%; padding: 1rem;
  border: none; border-radius: 1rem;
  background: #22a457; color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 800; font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 15px 30px -15px rgba(34,164,87,0.7);
}
.rs-submit-btn:hover { background: #1a8a48; }
.rs-submit-btn:disabled { background: #aaa; box-shadow: none; cursor: not-allowed; }

/* ── Toast ── */
#rs-toast {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  background: #0f3b23; color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 2rem;
  font-weight: 600; font-size: 0.9rem;
  z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  white-space: nowrap;
}
#rs-toast.show { opacity: 1; }

/* ── Animations ── */
@keyframes pulseSoft {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.9; }
}
.animate-pulse-soft { animation: pulseSoft 2.5s ease-in-out infinite; }

/* ── Utilities ── */
.container { width: 100%; padding-inline: 1rem; margin-inline: auto; }
.container-sm  { max-width: 700px; }
.container-md  { max-width: 900px; }
.container-lg  { max-width: 1100px; }
.container-xl  { max-width: 1200px; }

section { width: 100%; }

/* ── Spacing helpers ── */
.py-16 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-20 { padding-top: 3rem; padding-bottom: 3rem; }
.py-24 { padding-top: 4rem; padding-bottom: 4rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mb-0  { margin-bottom: 0; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.grid { display: grid; }
.grid-1 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .py-16 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .py-20 { padding-top: 2rem; padding-bottom: 2rem; }
  .py-24 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .rs-cta-block { padding: 1.1rem 1.5rem; }
}

/* ── Modal ── */
.rs-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.55);
}
.rs-modal-overlay.open {
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; overflow-y: auto;
}
.rs-modal-box {
  background: white; width: 100%; max-width: 680px;
  border-radius: 1.5rem; padding: 2rem; position: relative;
  max-height: 90vh; overflow-y: auto;
}
.rs-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: #f5fbee; border: 1px solid #e6f0d6; border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.rs-modal-close:hover { background: #e6f0d6; }
.rs-modal-title { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.2rem; color: #0f3b23; margin-bottom: 1rem; }
.rs-modal-body { color: #295a3b; line-height: 1.75; font-size: .9rem; }
@media (max-width: 600px) {
  .rs-modal-box { padding: 1.25rem; border-radius: 1rem; }
  .rs-modal-title { font-size: 1rem; }
  .rs-modal-body { font-size: .78rem; line-height: 1.65; }
}
