/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #1a6b3c;
  --green-dark:  #134f2d;
  --green-light: #e8f5ee;
  --gold:        #c9943a;
  --gold-light:  #f5e6c8;
  --white:       #ffffff;
  --off-white:   #f8f9f7;
  --text:        #1a2218;
  --text-muted:  #5a6b5a;
  --border:      #d8e4d8;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.25s ease;
  --font-body:   'Inter', system-ui, sans-serif;
  --font-arabic: 'Amiri', serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }

img { max-width: 100%; display: block; }

/* ===== UTILITIES ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-alt { background: var(--off-white); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}
.divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 auto 20px;
}
.section-intro {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,107,60,.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  color: var(--white);
}
.btn-full { width: 100%; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.logo-img {
  height: 48px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.main-nav a {
  display: block;
  padding: 8px 16px;
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  border-radius: 6px;
  transition: all var(--transition);
}
.main-nav a:hover {
  background: var(--green-light);
  color: var(--green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d3d22 0%, #1a6b3c 50%, #2d8a55 100%);
  overflow: hidden;
  padding-top: 68px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201,148,58,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.05) 0%, transparent 50%);
}

/* geometric Islamic pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.1); }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 60px 0;
}

.hero-bismillah {
  font-family: var(--font-arabic);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: rgba(255,255,255,.75);
  margin-bottom: 28px;
  letter-spacing: .05em;
}

.hero-content h1 {
  font-size: clamp(1.6rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.85);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { top: 6px; opacity: 1; }
  80% { top: 20px; opacity: 0; }
}

/* ===== OM OS ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.col-text .lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--green-dark);
  margin-bottom: 18px;
  line-height: 1.6;
}
.col-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.fact-row {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fact strong {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
}
.fact span {
  font-size: .82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}

.section-img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.photo-strip img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.footer-logo {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
}

@media (max-width: 600px) {
  .photo-strip { grid-template-columns: 1fr; }
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }

.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.card p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* ===== INFO BOX ===== */
.info-box {
  background: linear-gradient(135deg, var(--green-light), #f0f8f3);
  border: 1px solid rgba(26,107,60,.15);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.info-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--green-dark);
}
.info-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.info-label { font-weight: 600; font-size: .9rem; white-space: nowrap; }
.info-value { color: var(--text-muted); font-size: .9rem; }

/* ===== ACTIVITIES ===== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.activity-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.activity-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.activity-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.activity-text h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.activity-text p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner p { color: rgba(255,255,255,.9); font-size: 1.05rem; flex: 1; }

/* ===== KONTAKT ===== */
.contact-grid {
  display: flex;
  justify-content: center;
}
.contact-form-wrap { width: 100%; max-width: 640px; }

.contact-info h3, .contact-form-wrap h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-list strong { display: block; font-weight: 600; font-size: .85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--text); font-size: .95rem; }
.contact-list a:hover { color: var(--green); }

/* Honeypot field: hidden from real visitors, left for bots to fill in */
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }

.social-links { display: flex; gap: 12px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ===== FORM ===== */
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-privacy-note {
  margin-top: 16px;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--text-light, #6b7280);
}
.form-privacy-note a { color: var(--green); text-decoration: underline; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,107,60,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aab5aa; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6b5a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.75);
  padding: 56px 0 36px;
}

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }

.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-tagline { font-size: .875rem; color: rgba(255,255,255,.55); }

.footer-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all var(--transition);
}
.footer-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-bottom p { font-size: .8rem; }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }
.footer-copy { color: rgba(255,255,255,.35); }

/* ===== FORM NOTICES ===== */
.form-notice {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.form-notice--ok    { background: var(--green-light); color: var(--green-dark); border: 1px solid rgba(26,107,60,.2); }
.form-notice--error { background: #fde8e8; color: #b91c1c; border: 1px solid rgba(185,28,28,.2); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .col-image { order: -1; }
  .cta-banner { text-align: center; justify-content: center; }
}

@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    transform: translateY(-110%);
    opacity: 0;
    transition: all var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { font-size: 1rem; padding: 12px 16px; }
  .activities-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 28px 24px; }
  .info-box { padding: 28px 20px; }
  .fact-row { gap: 20px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
  .cards-grid { grid-template-columns: 1fr; }
}
