/* Glory Sound Worship - Simple Static Site */

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #333333;
  --line: #d9d9d9;
  --accent: #f4cc4b;
  --accent-dark: #d7a917;
  --card-bg: #ffffff;
  --max-width: 1400px;
  --content-width: 1000px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  width: min(92%, var(--max-width));
  margin: 0 auto;
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-title {
  display: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 34px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  transition: color 0.16s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.mobile-menu-button {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 6px;
}

.main {
  width: min(92%, var(--max-width));
  margin: 0 auto;
  padding: 14px 0 70px;
}

.narrow {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

.hero {
  text-align: center;
  padding: 0 0 24px;
}

.home-logo {
  display: block;
  width: min(90%, 860px);
  height: auto;
  margin: 0 auto 0;
}

h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.1;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  margin: 40px 0 16px;
}

p {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 18px;
}

.button {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--bg);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 6px;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.button.secondary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--line);
}

/* This is the hover behavior for the rectangular buttons under the logo
   and the smaller buttons inside the content cards. */
.button:hover,
.button.secondary:hover,
.button:focus-visible,
.button.secondary:focus-visible {
  background: var(--accent);
  border-color: var(--accent-dark);
  color: #111111;
  transform: translateY(-1px);
}

.page-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 34px;
}

.video-widget {
  width: 100%;
  margin: 0 auto;
}

.youtube-fallback {
  width: 100%;
  max-width: 1200px;
  margin: 28px auto 0;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.card {
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 10px;
  background: var(--card-bg);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.card h2 {
  margin-top: 0;
}

.footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 30px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  color: var(--muted);
}

.contact-box {
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 10px;
  background: var(--card-bg);
}

.scripture-list {
  padding-left: 22px;
  color: var(--muted);
  font-size: 19px;
}

.scripture-list li {
  margin-bottom: 12px;
}

@media (max-width: 800px) {
  .header-inner {
    justify-content: center;
    padding: 14px 0;
  }

  .mobile-menu-button {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    padding-top: 16px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .nav.open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav a {
    font-size: 15px;
  }

  .main {
    width: min(94%, var(--max-width));
    padding-top: 10px;
  }

  .home-logo {
    width: min(100%, 680px);
    margin-bottom: 6px;
  }

  p,
  .scripture-list {
    font-size: 17px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}
.contact-simple { text-align: center; max-width: 760px; margin: 0 auto; }
.contact-email { margin: 10px 0 0; font-size: clamp(22px,3vw,34px); font-weight: 700; }
.contact-email a { color: var(--accent-dark); text-decoration: none; }
.contact-email a:hover { text-decoration: underline; }

.video-page-intro { margin-bottom: 10px; }
.video-page-intro p { margin-bottom: 0; }
.video-widget { margin-top: 12px; }
.youtube-fallback { border-radius: 10px; }

.about-page { padding-top: 10px; }
.about-hero { max-width: 1240px; margin: 0 auto 34px; display: grid; grid-template-columns: minmax(280px,430px) minmax(420px,1fr); gap: 42px; align-items: center; }
.about-photo-wrap { display: flex; justify-content: center; }
.about-photo { width: 100%; max-width: 430px; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.about-intro h1 { margin-bottom: 14px; }
.about-lead { font-size: clamp(21px,2.2vw,28px); color: var(--text); margin-bottom: 18px; }
.about-video-section { max-width: 1120px; margin: 34px auto 38px; text-align: center; }
.about-video-section h2 { margin: 0 0 16px; }
.youtube-single { max-width: 1120px; margin-top: 0; }
.narrow-about { max-width: 1000px; margin-left: auto; margin-right: auto; }
.video-placeholder { width: min(100%,1120px); min-height: 220px; margin: 0 auto; border: 1px dashed var(--line); border-radius: 10px; display: grid; place-items: center; background: #fafafa; }
.video-placeholder p { margin: 0; font-size: 21px; color: var(--muted); }
.about-closing { text-align: center; margin-top: 28px; }
.about-closing p { font-size: clamp(20px,2.2vw,27px); color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .about-hero { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .about-photo { max-width: 520px; }
  .contact-email { font-size: clamp(20px,6vw,30px); overflow-wrap: anywhere; }
}


.worship-coming-soon {
  max-width: 980px;
  min-height: 260px;
  margin: 24px auto 0;
}

.worship-coming-soon p {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text);
}




/* ---- Manual YouTube Thumbnail Grids ---- */
.manual-video-grid {
  max-width: 1320px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
}

.video-card {
  display: block;
  color: var(--text);
  text-decoration: none;
}

.video-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  background: #ededed;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.video-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 44px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  padding-left: 3px;
  border-radius: 14px;
  background: rgba(255, 0, 0, 0.92);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.video-title {
  margin-top: 10px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.video-card:hover .video-thumb,
.video-card:focus-visible .video-thumb {
  transform: scale(1.025);
  filter: brightness(0.96);
}

.video-card:hover .video-play-badge,
.video-card:focus-visible .video-play-badge {
  transform: translate(-50%, -50%) scale(1.05);
  background: rgba(231, 0, 0, 0.98);
}

.video-card:hover .video-title,
.video-card:focus-visible .video-title {
  color: var(--accent-dark);
}

.video-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 6px;
  border-radius: 4px;
}

@media (max-width: 980px) {
  .manual-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
}

@media (max-width: 620px) {
  .manual-video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 18px;
  }

  .video-title {
    font-size: 17px;
  }
}
