﻿/* ============================================================
   Sajdah Silent -- shared stylesheet
   Brand colours: #2E7D32 (primary green), #1B5E20 (dark green)
   ============================================================ */

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

:root {
  --green:      #2E7D32;
  --green-dark: #1B5E20;
  --green-light:#E8F5E9;
  --text:       #212121;
  --muted:      #616161;
  --white:      #ffffff;
  --radius:     8px;
  --max-w:      860px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

/* Navigation */
nav {
  background: var(--green-dark);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

nav .brand {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: .3px;
}

nav ul { list-style: none; display: flex; gap: 1.5rem; }

nav ul a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
}

nav ul a:hover { color: var(--white); }

/* Hero */
.hero {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}

.hero .icon {
  width: 96px;
  height: 96px;
  background: var(--green-dark);
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 3rem;
}

.hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: .5rem; }
.hero p  { font-size: 1.1rem; opacity: .9; max-width: 540px; margin: 0 auto 1.75rem; }

.btn {
  display: inline-block;
  padding: .7rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: .95rem;
  transition: opacity .2s, transform .15s;
}

.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-white   { background: var(--white); color: var(--green-dark); }
.btn-outline { border: 2px solid var(--white); color: var(--white); margin-left: .75rem; }

/* Generic page header */
.page-header {
  background: var(--green);
  color: var(--white);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}

.page-header h1 { font-size: 2rem; font-weight: 800; }
.page-header p  { opacity: .85; margin-top: .4rem; font-size: 1rem; }

/* Main content */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.feature-card {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature-card .emoji { font-size: 1.8rem; margin-bottom: .6rem; }
.feature-card h3     { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.feature-card p      { font-size: .9rem; color: var(--muted); }

/* Prayer list */
.prayer-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }

.prayer-chip {
  background: var(--green);
  color: var(--white);
  border-radius: 50px;
  padding: .35rem 1rem;
  font-size: .88rem;
  font-weight: 600;
}

/* Sections */
section { margin-bottom: 2.5rem; }
section h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: .75rem; color: var(--green-dark); }

/* Prose */
.prose h2 { font-size: 1.2rem; font-weight: 700; color: var(--green-dark); margin: 2rem 0 .5rem; }
.prose h3 { font-size: 1rem;   font-weight: 700; margin: 1.25rem 0 .4rem; }
.prose p  { margin-bottom: .85rem; }
.prose ul { margin: .5rem 0 .85rem 1.4rem; }
.prose ul li { margin-bottom: .35rem; }
.prose a  { color: var(--green); }

/* Contact box */
.contact-box {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 560px;
}

.contact-box p  { margin-bottom: 1rem; color: var(--muted); }
.contact-box a  { color: var(--green-dark); font-weight: 600; word-break: break-all; }

/* Footer */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.75);
  text-align: center;
  padding: 1.5rem;
  font-size: .85rem;
}

footer a { color: rgba(255,255,255,.85); text-decoration: none; margin: 0 .5rem; }
footer a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 600px) {
  .hero h1     { font-size: 1.8rem; }
  .btn-outline { display: none; }
  nav ul       { gap: 1rem; }
}
