/* ------------------------------
   Global Background - Inter Flag
------------------------------ */
html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  background:
    url("images/inter-flag.webp") center / cover fixed no-repeat,
    linear-gradient(135deg, #0b0b45 0%, #000 100%);
}

/* ------------------------------
   Header
------------------------------ */
header {
  text-align: center;
  background-color: rgba(11, 11, 69, 0.85);
  color: white;
  padding: 1rem 0;
  border-bottom: 3px solid #00b0ff;
}

header img {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
}

/* ------------------------------
   Navigation
------------------------------ */
nav {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 0.6rem;
}

nav a {
  color: #00b0ff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

nav a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ------------------------------
   Main Content (Black & Blue Background)
------------------------------ */
main {
  max-width: 900px;
  margin: 20px auto;
  background: linear-gradient(135deg, #000000 0%, #0033cc 100%);
  color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  border: 1px solid rgba(0,176,255,0.3);
}

/* ------------------------------
   Text Styles
------------------------------ */
h1, h2 {
  text-align: center;
  color: #00b0ff;
  text-shadow: 0 0 8px rgba(0,176,255,0.4);
}

p {
  color: #f5f5f5;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
}

figcaption {
  color: #e0e0e0;
  font-style: italic;
  text-align: center;
}

/* ------------------------------
   Images
------------------------------ */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
  border-radius: 8px;
  border: 2px solid #00b0ff;
}

/* ------------------------------
   Responsive Video Embed (Homepage Hymn)
------------------------------ */
.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  z-index: 1;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  text-align: center;
  margin-top: 8px;
}

.video-fallback a {
  color: #00b0ff;
  text-decoration: underline;
}

/* ------------------------------
   Footer
------------------------------ */
footer {
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
  font-size: 0.9rem;
}

footer a {
  color: #00b0ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ------------------------------
   Responsive Design
------------------------------ */
@media screen and (max-width: 600px) {
  header img { width: 90px; }
  main { width: 95%; padding: 15px; }
  nav a { display: inline-block; margin: 5px; }
}
