@import url("tokens.css");

* { box-sizing: border-box; }

html { direction: rtl; }

body {
  margin: 0;
  background: var(--bg-page);
  color: #1A1A1A;
  font-family: 'Thmanyah Sans', system-ui, sans-serif;
  text-align: right;
}

img { max-width: 100%; }

a { cursor: pointer; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4,52,44,0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--coral-400);
}
.brand span {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 17px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.nav-links {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 15px;
  transition: color 140ms cubic-bezier(.4,0,.2,1);
}
.nav-link:hover, .nav-link.active { color: var(--teal-200); }
.nav-link.active { color: #FFFFFF; }

/* ============ MOBILE NAV ============ */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.site-nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  background: var(--teal-900);
}
.site-nav-mobile .nav-link {
  padding: 12px 4px;
  font-size: 16px;
  border-bottom: 1px solid rgba(159,225,203,0.14);
}
.site-nav-mobile .btn-cta {
  margin-top: 12px;
  text-align: center;
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .site-nav-mobile { display: flex; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 140ms cubic-bezier(.4,0,.2,1), transform 140ms cubic-bezier(.4,0,.2,1);
}
.btn-cta {
  background: var(--coral-400);
  color: #FFFFFF;
  font-size: 14px;
  padding: 10px 22px;
  box-shadow: 0 6px 18px rgba(216,90,48,0.28);
}
.btn-cta:hover { background: var(--coral-600); }
.btn-cta-lg {
  background: var(--coral-400);
  color: #FFFFFF;
  font-size: 17px;
  padding: 16px 40px;
  box-shadow: 0 6px 18px rgba(216,90,48,0.28);
}
.btn-cta-lg:hover { background: var(--coral-600); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--teal-600);
  color: var(--teal-900);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
}
.btn-outline:hover { background: var(--teal-50); }
.btn-white {
  background: #FFFFFF;
  color: var(--coral-400);
  font-size: 17px;
  padding: 16px 44px;
}
.btn-white:hover { transform: translateY(-2px); }
.btn-active:active { transform: scale(0.97); box-shadow: none; }

/* ============ FOOTER ============ */
.site-footer {
  direction: rtl;
  background: var(--teal-900);
  padding: 40px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-name {
  font-family: 'Thmanyah Serif Display', serif;
  font-weight: 500;
  font-size: 18px;
  color: #FFFFFF;
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.85;
  color: var(--teal-200);
  margin: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 480px;
}
.footer-link {
  color: var(--teal-200);
  text-decoration: none;
  font-size: 13px;
  transition: color 140ms cubic-bezier(.4,0,.2,1);
}
.footer-link:hover { color: #FFFFFF; }
.footer-dot {
  color: rgba(159,225,203,0.5);
  font-size: 13px;
}
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.footer-social a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 44px;
  min-height: 44px;
  color: var(--teal-200);
  text-decoration: none;
  font-size: 13px;
  transition: color 140ms cubic-bezier(.4,0,.2,1);
}
.footer-social a:hover { color: #FFFFFF; }
.footer-bottom {
  width: 100%;
  max-width: 1180px;
  padding-top: 20px;
  border-top: 1px solid var(--teal-600);
}
.footer-bottom span {
  font-size: 11px;
  color: rgba(159,225,203,0.6);
}

/* ============ FORM ============ */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--teal-900);
}
.field input,
.field textarea,
.field select {
  font-family: 'Thmanyah Sans', sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid rgba(15,110,86,0.3);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--teal-900);
  outline: none;
  transition: border-color 140ms, box-shadow 140ms;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--coral-400);
  box-shadow: 0 0 0 3px rgba(216,90,48,0.15);
}
.field textarea { resize: vertical; }
.radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--teal-900);
  cursor: pointer;
}
.radio-row input { accent-color: var(--coral-400); width: 18px; height: 18px; }
.form-section {
  background: #FFFFFF;
  border: 1px solid rgba(15,110,86,0.18);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(4,52,44,0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-section h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--teal-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-section h2 span { font-family: 'Poppins', sans-serif; color: var(--coral-400); }
.submit-btn {
  font-family: 'Thmanyah Sans', sans-serif;
  background: var(--coral-400);
  color: #FFFFFF;
  border: none;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 56px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(216,90,48,0.28);
  cursor: pointer;
  transition: background 140ms cubic-bezier(.4,0,.2,1);
}
.submit-btn:hover { background: var(--coral-600); }
.submit-btn:active { transform: scale(0.97); box-shadow: none; }

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

[hidden] { display: none !important; }
