:root {
  --navy: #0b1220;
  --navy-soft: rgba(11, 18, 32, 0.62);
  --gold: #d4b483;
  --gold-bright: #e8d3a4;
  --ink: #f4efe6;
  --muted: rgba(244, 239, 230, 0.78);
  --glass: rgba(12, 18, 32, 0.42);
  --stroke: rgba(212, 180, 131, 0.38);
  --sans: "Poppins", "Segoe UI", sans-serif;
  --arabic: "Amiri", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  background: var(--navy);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    url("../images/Ayasofya_cami.jpg") center 42% / cover no-repeat;
}

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(8, 14, 28, 0.42) 0%,
      rgba(8, 14, 28, 0.55) 38%,
      rgba(7, 11, 22, 0.88) 100%
    );
}

.ornament {
  position: fixed;
  width: 88px;
  height: 88px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  border: 1px solid rgba(212, 180, 131, 0.35);
}

.ornament::before,
.ornament::after {
  content: "";
  position: absolute;
  background: rgba(212, 180, 131, 0.55);
}

.ornament-tl {
  top: 18px;
  left: 18px;
  border-right: 0;
  border-bottom: 0;
}

.ornament-tl::before {
  top: -1px;
  left: 22px;
  width: 1px;
  height: 22px;
  transform: rotate(45deg);
  transform-origin: top;
}

.ornament-tl::after {
  top: 22px;
  left: -1px;
  width: 22px;
  height: 1px;
  transform: rotate(45deg);
  transform-origin: left;
}

.ornament-br {
  right: 18px;
  bottom: 18px;
  border-left: 0;
  border-top: 0;
}

.site-header {
  position: relative;
  z-index: 1;
  padding: 1.4rem 0 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--gold-bright);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--gold-bright);
}

.brand-ar {
  font-family: var(--arabic);
  font-size: 1.35rem;
  opacity: 0.9;
}

.brand-name {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}

.lead-line {
  margin: 0.85rem 0 1.1rem;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 400;
  color: var(--gold-bright);
}

.hero-copy {
  max-width: 36rem;
  margin: 0 auto 2.4rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 7.5rem));
  gap: 0.75rem;
  justify-content: center;
}

.count-box {
  padding: 1rem 0.6rem 0.85rem;
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.count-num {
  display: block;
  font-family: var(--sans);
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.count-label {
  display: block;
  margin-top: 0.4rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.live-message {
  margin: 1.6rem 0 0;
  font-family: var(--sans);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.launch-note {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.features,
.about,
.contact,
.articles-teaser,
.articles-hub,
.article-page {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 2.8rem;
}

.section-title {
  margin: 0 0 0.6rem;
  font-family: var(--sans);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 600;
  text-align: center;
  color: #fff;
}

.section-intro {
  max-width: 34rem;
  margin: 0 auto 1.8rem;
  text-align: center;
  color: var(--muted);
}

.feature-card,
.about-panel {
  height: 100%;
  padding: 1.35rem 1.25rem 1.2rem;
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.feature-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.feature-card p,
.about-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.about-panel a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.about-panel a:hover,
.about-panel a:focus-visible {
  color: #fff;
}

.about-panel p + p {
  margin-top: 0.9rem;
}

.about-panel {
  max-width: 46rem;
  margin: 0 auto;
}

.hero-figure {
  max-width: 22rem;
  margin: 2rem auto 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.faq {
  position: relative;
  z-index: 1;
  padding: 0.5rem 0 2.8rem;
}

.faq-list {
  max-width: 46rem;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  padding: 1.2rem 1.25rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact {
  text-align: center;
}

.mail-link {
  display: inline-block;
  color: var(--gold-bright);
  font-size: 1.08rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 180, 131, 0.45);
  padding-bottom: 0.12rem;
}

.mail-link:hover,
.mail-link:focus-visible,
.brand:hover,
.brand:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.2rem 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

.site-footer-links {
  margin: 0 0 0.55rem;
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

/* Breadcrumb */
.breadcrumb-nav {
  margin: 0 0 1.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb-nav ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
}

.breadcrumb-nav li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: rgba(212, 180, 131, 0.55);
}

.breadcrumb-nav a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumb-nav a:hover,
.breadcrumb-nav a:focus-visible {
  color: #fff;
}

.breadcrumb-nav [aria-current="page"] {
  color: var(--muted);
}

/* Hub / teaser cards */
.page-hero {
  text-align: center;
  padding-bottom: 0.5rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-hero .section-intro {
  margin-bottom: 0;
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.25rem 1.25rem;
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.article-card:hover,
.article-card:focus-visible {
  border-color: rgba(232, 211, 164, 0.65);
  background: rgba(12, 18, 32, 0.55);
  color: inherit;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-card h2,
.article-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1.35;
}

.article-card p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-card .read-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold-bright);
  font-size: 0.88rem;
  font-weight: 500;
}

.teaser-more {
  margin: 1.6rem 0 0;
  text-align: center;
}

.teaser-more a {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(212, 180, 131, 0.45);
  padding-bottom: 0.1rem;
}

.teaser-more a:hover,
.teaser-more a:focus-visible {
  color: #fff;
}

/* Article body */
.article-header {
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.article-header h1 {
  margin: 0 0 0.85rem;
  font-family: var(--sans);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
}

.article-lead {
  margin: 0;
  max-width: none;
  text-align: left;
  color: var(--muted);
  font-size: 1.02rem;
}

.article-body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.article-body h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body ul {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.article-body li {
  margin-bottom: 0.4rem;
}

.article-body a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.article-body a:hover,
.article-body a:focus-visible {
  color: #fff;
}

.article-body h3 {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.article-callout {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: rgba(212, 180, 131, 0.08);
}

.article-callout p {
  margin: 0;
  font-size: 0.95rem;
}

.article-faq {
  margin-top: 0.5rem;
}

.article-faq .faq-item {
  margin-bottom: 0.75rem;
}

.article-faq .faq-item:last-child {
  margin-bottom: 0;
}

.article-trust {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  padding: 1.1rem 1.25rem;
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.88rem;
  color: var(--muted);
}

.article-trust p {
  margin: 0 0 0.45rem;
}

.article-trust p:last-child {
  margin-bottom: 0;
}

.article-trust a {
  color: var(--gold-bright);
  text-decoration: none;
}

.article-trust a:hover,
.article-trust a:focus-visible {
  color: #fff;
}

.feature-card a.feature-more {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--gold-bright);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 180, 131, 0.4);
}

.feature-card a.feature-more:hover,
.feature-card a.feature-more:focus-visible {
  color: #fff;
}

.related-articles {
  max-width: 42rem;
  margin: 2.2rem auto 0;
  padding: 1.35rem 1.25rem 1.2rem;
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.related-articles h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.related-articles ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.related-articles a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.related-articles a:hover,
.related-articles a:focus-visible {
  color: var(--gold-bright);
}

@media (min-width: 768px) {
  .countdown {
    grid-template-columns: repeat(4, minmax(6.8rem, 8.4rem));
    gap: 1rem;
  }

  .count-box {
    padding: 1.15rem 0.75rem 1rem;
  }

  .hero {
    padding-top: 6.2rem;
  }
}

@media (max-width: 575.98px) {
  .ornament {
    display: none;
  }

  .hero {
    padding-top: 3.2rem;
  }
}
