/* ===== Crossway Camp — Custom Styles ===== */

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Header scrolled state */
#site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(15,28,82,0.08);
}
#site-header.scrolled nav a,
#site-header.scrolled #lang-btn,
#site-header.scrolled #menu-toggle {
  color: #0f1c52;
}

/* Hero pattern */
.hero-pattern {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.4) 1px, transparent 0);
  background-size: 30px 30px;
}

/* Floating animations */
.floating { animation: floating 6s ease-in-out infinite; }
.floating-delayed { animation: floating 6s ease-in-out 2s infinite; }
@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Program cards */
.program-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(58,99,236,0.08);
  box-shadow: 0 4px 20px rgba(15,28,82,0.04);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15,28,82,0.10);
  border-color: rgba(58,99,236,0.25);
}
.icon-bubble {
  width: 60px; height: 60px;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Value cards */
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid rgba(58,99,236,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15,28,82,0.08);
}

/* Gallery */
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.25rem;
  transition: transform .5s ease, filter .5s ease;
  cursor: pointer;
}
.gallery-img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* Forms */
.form-input {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid #e6e9f4;
  background: #f7f8fc;
  font: inherit;
  color: #0f1c52;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-input:focus {
  outline: none;
  border-color: #3a63ec;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(58,99,236,0.12);
}

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid rgba(58,99,236,0.10);
  border-radius: 1rem;
  padding: 0;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(58,99,236,0.3); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  transition: transform .3s ease;
  color: #3a63ec;
}
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: rgba(15,28,82,0.7);
  line-height: 1.7;
}

/* Contact items */
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(58,99,236,0.08);
  transition: transform .2s, box-shadow .2s;
}
.contact-item:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(15,28,82,0.06);
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 0.85rem;
  background: rgba(58,99,236,0.10);
  color: #3a63ec;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Socials */
.social-link, .social-link-dark {
  width: 42px; height: 42px;
  border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.social-link {
  background: #fff;
  color: #3a63ec;
  border: 1px solid rgba(58,99,236,0.15);
}
.social-link:hover {
  background: #3a63ec;
  color: #fff;
  transform: translateY(-3px);
}
.social-link-dark {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.10);
}
.social-link-dark:hover {
  background: #ffae1f;
  color: #0f1c52;
  transform: translateY(-3px);
}

/* Scroll to top visible state */
#scroll-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Selection */
::selection {
  background: #ffae1f;
  color: #0f1c52;
}

/* Smooth scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f5f8ff; }
::-webkit-scrollbar-thumb { background: #c4d8ff; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94b6ff; }

/* Mobile menu */
#mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  color: #0f1c52;
}

/* Status messages */
#form-status.success, #contact-status.success {
  color: #16a34a;
  display: block !important;
}
#form-status.error, #contact-status.error {
  color: #dc2626;
  display: block !important;
}
