/* Externalized styles previously inline in index.html */

.media-responsive {
  position: relative;
  aspect-ratio: 16/9;
}

.responsive-iframe {
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.hidden {
  display: none;
}

.button--spaced {
  margin: 30px 0 10px 0;
}

#customThumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* path is relative to this CSS file (styles/), so go up one level */
  background: url('../image/my-thumbnail.png') center center / contain no-repeat;
  background-color: #000;
  cursor: pointer;
  z-index: 1000; /* ensure thumbnail sits above the iframe */
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail-card {
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  text-align: center;
}

.lock-icon { font-size: 24px; margin-bottom: 8px; }

.muted-note {
  margin: 20px 0;
  font-size: 1.05rem;
  color: #a9a9a9;
}

.contact {
  font-size: 1.1rem;
  line-height: 1.8;
}

.link-green { color: #6ec023; text-decoration: none; }
.link-blue { color: #0e94d0; text-decoration: none; }

/* --- Moved from index.html <style> --- */
body {
  margin: 0;
  padding: 0;
  background-color: #000303d2;
  font-family: 'Helvetica Neue', sans-serif;
  color: #fdfefe;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
  text-align: center;
}
.logo {
  width: 120px;
  margin: 20px auto;
}
h1 {
  font-size: 2.5rem;
  color: #fdfefe;
}
h2 {
  font-size: 1.8rem;
  color: #0e94d0;
  margin-top: 30px;
}
p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 15px 0;
}
ul {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 800px;
  text-align: left;
}
li {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 12px 0;
  position: relative;
  padding-left: 30px;
}
li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #6ec023;
}
.video-section {
  margin-top: 50px;;
}
.video-info {
  font-size: 1rem;
  color: #a9a9a9;
  margin: 10px 0;
}
.iframe-fallback {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 12px;
  padding-bottom: 0px;
}
.button {
  background-color: #0e94d0;
  color: #fff;
  padding: 15px 30px;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  margin-top: 30px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}
.button:hover {
  background-color: #6ec023;
  color: #000;
}
.warning {
  color: #a4dcd7;
  margin-top: 40px;
  font-style: italic;
  font-size: 1rem;
}
.icon-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.icon-heading i {
  color: #6ec023;
}
html { scroll-behavior: smooth; }

/* --- end moved rules --- */

/* Non-responsive: keep original static sizing */
.logo { width: 120px; }

/* Accessibility: focus outline for keyboard users */
a:focus, button:focus { outline: 3px solid rgba(14,148,208,0.25); outline-offset: 3px; }

/* Text-only responsive tweaks (do not affect video/media) */
@media (max-width: 768px) {
  .container { padding: 22px 14px; }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.25rem; }
  p { font-size: 1.05rem; }
  .video-info { font-size: 1rem; }
  ul { max-width: 100%; padding: 0 8px; }
  li { font-size: 1.05rem; padding-left: 26px; }
  .button { padding: 12px 20px; font-size: 1.05rem; }
}

@media (max-width: 480px) {
  .container { padding: 18px 12px; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.15rem; }
  p { font-size: 1.05rem; }
  .button { padding: 10px 16px; font-size: 1.03rem; }
}
/* ===== SHARE SECTION STYLING ===== */
.share-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
  text-align: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #1e7f49; /* matches your button green tone */
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.share-btn:hover,
.share-btn:focus {
  background-color: #6ec023; /* darker hover tone */
  transform: translateY(-2px);
}

.share-btn i {
  font-size: 1rem;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .share-row {
    flex-direction: column;
    align-items: stretch;
  }

  .share-btn {
    justify-content: center;
    width: 100%;
  }
}
