/* ==========================================================
   Shared styles: reset, page background, header + nav.
   Loaded by every page, before that page's own stylesheet.
   ========================================================== */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  overflow-y: scroll; /* keep scrollbar consistent across pages */
}

/* Inner-page background (Bio, Tour, ...).
   Drawn on a fixed layer so it always fills the screen, including on phones. */
body.page {
  background-color: #111;
  color: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; /* column layout keeps the footer at the bottom of short pages */
  flex-direction: column;
}

body.page > * {
  flex-shrink: 0;
}

body.page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('../assets/images/iks.jpg') no-repeat center center / cover;
}

/* Site Header */
.site-header {
  width: 100%;
  background-color: #000; /* solid, so scrolling content never shows through */
  padding: 30px 0;
  position: sticky; /* stays pinned to the top while the page scrolls */
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 222, 89, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Nav Bar: logo left, links right */
.nav-bar {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: inline-block;
  text-decoration: none;
}

.nav-logo-img {
  width: 200px;
  max-width: 100%;
  height: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  display: inline-block;
  text-decoration: none;
  color: #ffde59;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  background-color: rgba(255, 222, 89, 0.1);
  color: #ffde59;
}

.nav-links li a:focus-visible,
.nav-logo:focus-visible {
  outline: 2px solid #ffde59;
  outline-offset: 2px;
}

/* Mobile: stack the logo above the links, centered */
@media (max-width: 600px) {
  .site-header {
    padding: 14px 0;
  }

  .nav-bar {
    flex-direction: column;
    gap: 10px;
  }

  .nav-logo-img {
    width: 160px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .nav-links li a {
    padding: 10px 14px; /* comfortable tap target */
  }
}

/* ==========================================================
   Shared "black card" layout (Contact, EPK, ...)
   ========================================================== */
.content-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

.content-box {
  background-color: #000;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.content-box + .content-box {
  margin-top: 24px;
}

.content-box h1 {
  font-size: 2rem;
  color: #ffde59;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.content-box h2 {
  font-size: 1.3rem;
  color: #ffde59;
  margin-bottom: 14px;
}

.content-box p {
  line-height: 1.7;
  color: #ddd;
  margin-bottom: 1.2rem;
}

.content-box p:last-child {
  margin-bottom: 0;
}

.content-box a {
  color: #ffde59;
}

.content-box a:focus-visible {
  outline: 2px solid #ffde59;
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .content-container {
    padding: 24px 0 40px;
  }

  .content-box {
    padding: 20px;
  }

  .content-box h1 {
    font-size: 1.6rem;
  }
}

/* ---------- Standard social buttons (home + contact) ----------
   Markup:  <ul class="social-links"><li><a class="social-btn" href="..." target="_blank" rel="noopener noreferrer">Facebook</a></li>...</ul>
   To add an icon later, put <img src="..." alt="" width="22" height="22"> before the label text. */
.social-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  min-height: 44px;
  border: 2px solid #ffde59;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffde59;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.social-btn:hover {
  background: #aa2222;
  border-color: #aa2222;
  color: #fff;
  transform: scale(1.06);
}

.social-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ---------- Site footer (added by js/nav.js) ---------- */
.site-footer {
  margin-top: auto;
  width: 100%;
  padding: 22px 20px;
  background-color: #000;
  border-top: 1px solid rgba(255, 222, 89, 0.5);
  text-align: center;
  color: #ddd;
  font-size: 0.95rem;
}

.site-footer a {
  color: #ffde59;
  font-weight: bold;
  text-decoration: none;
}

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

.site-footer a:focus-visible {
  outline: 2px solid #ffde59;
  outline-offset: 2px;
}

.footer-copy {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #bbb;
}

@media print {
  .site-footer { display: none; }
}

/* Icon inside a social button (the image is removed automatically if its file is missing) */
.social-btn img {
  width: 22px;
  height: 22px;
  display: block;
}

/* Icon-only style (home page): the brand icons in a row, no border.
   Each link keeps its text label for screen readers; the label only shows when the icon file is missing. */
.social-links--icons {
  gap: 24px;
  align-items: center;
}

.social-links--icons .social-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
  border: none;
  border-radius: 10px;
  background: none;
  justify-content: center;
  transition: transform 0.25s ease;
}

.social-links--icons .social-btn:hover {
  background: none;
  transform: scale(1.2); /* slight enlarge on hover */
}

.social-links--icons .social-btn img {
  width: auto;
  height: 32px;
  display: block;
}

.social-links--icons .social-btn:has(img) span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Smaller icon row (footer) */
.social-links--small {
  gap: 14px;
  margin: 6px 0 10px;
}

.social-links--small .social-btn img {
  height: 24px;
}

.site-footer .social-btn:hover {
  text-decoration: none;
}
