/* Global visual polish for Seventh Trumpet */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo { letter-spacing: 0.01em; }
.logo:hover { opacity: 0.92; }

/* Brand row: logo + social side by side */
.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 1;
  min-width: 0;
}

/* Social icons next to logo — no auto margins (those caused overlap) */
.header-social {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  margin: 0;
}
.header-social a {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.header-social a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.header-social a svg {
  width: 0.95rem;
  height: 0.95rem;
}

.btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { box-shadow: 0 4px 14px rgba(10, 37, 64, 0.18); }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(10, 37, 64, 0.22); }

/* Fixed background — sharper framing + readable text, no blue wash */
.hero-bg-image {
  position: fixed !important;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #050a14;
}
.hero-bg-image img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center 22%;
  filter: contrast(1.06) saturate(1.08) brightness(0.92);
  -webkit-filter: contrast(1.06) saturate(1.08) brightness(0.92);
}
.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 55% at 50% 42%, rgba(0, 0, 0, 0.28) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(5, 10, 20, 0.15) 0%, transparent 25%, transparent 55%, rgba(7, 18, 32, 0.55) 82%, #f7f5f0 100%);
  z-index: 1;
}
body.dark .hero-bg-image::after {
  background:
    radial-gradient(ellipse 75% 55% at 50% 42%, rgba(0, 0, 0, 0.35) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(5, 10, 20, 0.2) 0%, transparent 25%, transparent 50%, rgba(7, 18, 32, 0.7) 80%, #0d1520 100%);
}
@media (max-width: 700px) {
  .hero-bg-image img {
    object-position: center 28%;
    width: 115%;
    height: 115%;
    filter: contrast(1.05) saturate(1.06) brightness(0.9);
    -webkit-filter: contrast(1.05) saturate(1.06) brightness(0.9);
  }
  .hero-bg-image::after {
    background:
      radial-gradient(ellipse 90% 50% at 50% 40%, rgba(0, 0, 0, 0.32) 0%, transparent 72%),
      linear-gradient(to bottom, rgba(5, 10, 20, 0.2) 0%, transparent 30%, transparent 58%, rgba(7, 18, 32, 0.5) 85%, #f7f5f0 100%);
  }
}
@media (min-width: 701px) {
  .hero-bg-image img {
    object-position: center 16%;
    width: 105%;
    height: 105%;
  }
}
@media (min-width: 1200px) {
  .hero-bg-image img {
    width: 110%;
    height: 110%;
    object-position: center 14%;
  }
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 2.25rem;
  background: transparent !important;
  overflow: hidden;
}
.hero::before,
.hero.has-image-bg::before,
.hero.has-video-bg::before {
  display: none !important;
  content: none !important;
  background: none !important;
}
.hero .hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 900px) {
  .header .header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.25rem;
  }
  .hero {
    min-height: 92vh;
    padding-top: 0.5rem;
  }
  .hero .hero-inner {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
  }
  .angels-row {
    max-width: 720px !important;
    gap: 1rem !important;
  }
  .angels-row .angel-card {
    max-width: 220px !important;
    padding: 1.1rem 0.85rem !important;
  }
  .home-cta {
    gap: 1rem;
    margin-top: 2.5rem;
  }
  .home-cta .btn {
    min-width: 160px;
    padding: 0.8rem 1.4rem;
  }
  .daily-verse-inner,
  .mission-section {
    max-width: 760px;
  }
  .container {
    max-width: 1100px;
  }
}

.hero h1 {
  letter-spacing: -0.02em;
  color: #fff !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 20px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(0, 0, 0, 0.45);
}
.hero-sub {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 1;
  color: #fff !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 2px 16px rgba(0, 0, 0, 0.65);
}

.angels-heading-title,
.angels-heading-hint {
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}
.angel-card {
  background: rgba(8, 18, 32, 0.55) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 162, 39, 0.55) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  color: #fff !important;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.angel-card:hover,
.angel-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(232, 212, 139, 0.95) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 162, 39, 0.4);
}
.angel-num { color: var(--accent, #c9a227) !important; }
.angel-cta {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-soft, #e8d48b);
  opacity: 0.95;
}

.home-cta .btn-primary {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.home-cta .btn-outline {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.home-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.daily-verse,
.mission-section,
main.container,
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg, #f7f5f0);
}
body.dark .daily-verse,
body.dark .mission-section,
body.dark main.container {
  background: var(--bg, #0d1520);
}
.daily-verse { margin-top: -1.5rem; }
.daily-verse-inner {
  border-radius: 18px;
  box-shadow: 0 10px 36px rgba(10, 37, 64, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.28);
  background: var(--bg-card, #fff);
}
body.dark .daily-verse-inner {
  background: var(--bg-card, #152535);
}

.mission-section { margin-top: 0.5rem; }
.mission-card { transition: box-shadow 0.2s ease; }
.mission-card:hover { box-shadow: 0 10px 32px rgba(10, 37, 64, 0.1); }

.contact-card { border-radius: 16px; overflow: hidden; }
.contact-item { transition: background 0.15s ease; }
.contact-item:hover { background: rgba(10, 37, 64, 0.03); }
body.dark .contact-item:hover { background: rgba(255, 255, 255, 0.04); }

.footer {
  padding: 2.25rem 1.25rem 2rem;
  background: linear-gradient(180deg, #0a2540 0%, #071a2e 100%) !important;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-brand { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.35rem; color: #fff; }
.footer-tag { font-size: 0.85rem; opacity: 0.75; margin-bottom: 1.1rem; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin-bottom: 1.15rem;
}
.footer-nav a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--accent-soft, #e8d48b); }
.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}
.footer-social a {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}
.footer-social a svg { width: 1.15rem; height: 1.15rem; }
.footer-legal { font-size: 0.78rem; opacity: 0.65; margin-top: 0.5rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.8); text-decoration: none; margin: 0 0.35rem; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

.scroll-top { border-radius: 50%; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); }

body {
  background-image: radial-gradient(ellipse at top, rgba(201, 162, 39, 0.04), transparent 55%);
}
body.dark {
  background-image: radial-gradient(ellipse at top, rgba(201, 162, 39, 0.06), transparent 50%);
}

.media-card { border: 1px solid var(--border); }
.lang-toggle { border-radius: 999px !important; font-weight: 700 !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover,
  .angel-card:hover {
    transform: none;
  }
}

::selection {
  background: rgba(201, 162, 39, 0.35);
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent, #c9a227);
  outline-offset: 2px;
}
