/* Alapbeállítások */
html {
  font-size: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', 'Arial', sans-serif;
  background: #111;
  color: #f8f8f8;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  min-height: 100vh;
  background-image: url(bckg.png);
}

hr.album-divider {
  border: none;
  border-top: 4px solid #e50914;
  height: 0;
  margin: 3em auto;
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 2px 12px #e5091440;
  background: linear-gradient(90deg, #e50914 0%, #fff 50%, #e50914 100%);
  opacity: 0.95;
  transition: box-shadow 0.2s;
}
hr.album-divider:hover {
  box-shadow: 0 4px 24px #e50914cc;
  opacity: 1;
}


/* Fejléc és navigáció */
header {
  background: #181818;
  border-bottom: 4px solid #e50914;
  padding: 0;
}


nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0.5em 0;
  list-style: none;
  background: #181818;
}
nav ul li {
  margin: 0 1.5em;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 0.5em 1em;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
nav ul li a.active,
nav ul li a:focus,
nav ul li a:hover {
  background: #e50914;
  color: #fff;
}
nav ul li a:visited {
  color: #bbb;
}

/* Ugrás a tartalomra link (akadálymentesség) */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: #e50914;
  color: #fff;
  padding: 1em;
  z-index: 1000;
}

/* Fő tartalom */
main {
  max-width: 1000px;
  margin: 2em auto;
  background: rgba(24, 24, 24, 0.97);
  border-radius: 12px;
  box-shadow: 0 0 24px #0008;
  padding: 2em 1.5em;
}

/* Címsorok */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2.2rem;
  border-left: 8px solid #e50914;
  padding-left: 0.5em;
}
h2 {
  font-size: 1.5rem;
  color: #e50914;
}
h3.centered
{
  text-align:center;
}
h3, h4 {
  color: #fff;
}

/* Idézetek, blockquote */
blockquote {
  background: #222;
  color: #e50914;
  border-left: 6px solid #e50914;
  margin: 1.5em 0;
  padding: 1em 1.5em;
  font-style: italic;
  font-size: 1.1em;
}

/* Linkek */
a {
  color: #e50914;
  text-decoration: underline;
  transition: color 0.2s;
}
a:visited {
  color: #a70000;
}
a:hover, a:focus {
  color: #fff;
  background: #e50914;
  text-decoration: none;
  outline: none;
}
nav a, nav a:visited {
  text-decoration: none;
}
nav a:hover, nav a:focus {
  text-decoration: underline;
}

/* Listák */
ul, ol {
  margin-left: 1.5em;
  padding-left: 0.5em;
}
/* Listaelemek egyedi stílussal */
ul.links {
  list-style: none;
  padding-left: 0;
  margin: 1.5em 0;
}

ul li.links {
  position: relative;
  padding-left: 2em;
  margin-bottom: 1em;
  background: #1a1a1a;
  border-left: 4px solid #e50914;
  padding: 1em 1em 1em 2.5em;
  border-radius: 8px;
  box-shadow: 0 0 10px #0006;
  transition: background 0.2s, transform 0.2s;
}

ul li.links::before {
  content: "▶";
  position: absolute;
  left: 1em;
  top: 1.2em;
  color: #e50914;
  font-size: 0.9em;
  font-weight: bold;
}

ul li.links:hover {
  background: #222;
  transform: scale(1.02);
}




/* Táblázatok */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  background: #181818;
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
}
caption, summary {
  font-weight: bold;
  color: #e50914;
  padding: 0.5em;
  text-align: left;
}
th, td {
  border: 1px solid #333;
  padding: 0.7em 1em;
  text-align: left;
}
th {
  background: #222;
  color: #e50914;
}
tr:nth-child(even) {
  background: #222;
}
details {
  margin: 2em 0;
  border-radius: 10px;
  box-shadow: 0 2px 12px #0003;
  background: #181818;
  transition: box-shadow 0.2s;
}
details[open] {
  box-shadow: 0 4px 24px #e5091433;
}

details > summary {
  cursor: pointer;
  background: #222;
  color: #e50914;
  font-weight: bold;
  font-size: 1.15em;
  padding: 1em 1.5em 1em 3em;
  border-radius: 10px;
  border: 2px solid #e50914;
  box-shadow: 0 1px 8px #0002;
  outline: none;
  position: relative;
  user-select: none;
  transition: background 0.2s, color 0.2s;
  list-style: none;
}

/* Csak akkor legyen piros, ha nincs nyitva! */
details:not([open]) > summary:hover,
details:not([open]) > summary:focus {
  color: #fff;
  box-shadow: 0 4px 24px #e5091499;
  transform: scale(1.03);
  outline: 2px solid #fff;
}

/* Nyitott állapotban mindig sötétszürke marad */
details[open] > summary {
  background: #222;
  color: #e50914;
  box-shadow: 0 2px 12px #0003;
  transform: scale(1);
}

/* Nyitott állapotban legyen piros, ha fölé viszik az egeret */
details[open] > summary:hover
 {
  background: #222;
  color: #e50914;
  box-shadow: 0 4px 24px #e5091499;
  transform: scale(1.03);
  outline: 2px solid #fff;
}

/* Aktív állapot is csak zárt summary-nál legyen sötétpiros */
details:not([open]) > summary:active {
  background: #a70000;
  color: #fff;
}

/* Egyedi marker */
details > summary::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 1em;
  top: 50%;
  width: 1em;
  height: 1em;
  background: none;
  border-right: 3px solid #e50914;
  border-bottom: 3px solid #e50914;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s;
}
details[open] > summary::before {
  transform: translateY(-50%) rotate(135deg);
}
details > summary::-webkit-details-marker {
  display: none;
}


/* Képek és galéria */
figure {
  margin: 2em 0;
  text-align: center;
}
img, video {
  border-radius: 8px;
  box-shadow: 0 0 12px #000a;
  border-color: #a70000;
}
.thumbnail {
  width: 120px;
  cursor: pointer;
  border: 2px solid #e50914;
  margin: 0.5em;
  transition: transform 0.2s;
}

.albumcover {
  width: 500px;
  height: 500px;
  border-radius: 12px;
  box-shadow: 0 0 16px black;
}
.thumbnail:hover, .thumbnail:focus {
  transform: scale(1.08);
  border-color: #fff;
}

.carti-float-img {
  float: left;
  width: 300px;
  height: 300px;
  object-fit: cover;
  margin: 1em 1em 1em 1.5em;
  border-radius: 12px;
  box-shadow: 0 0 16px rgba(247, 2, 2, 0.533);
}

.img-header-right {
  aspect-ratio: 3 / 4;         /* 3:4 arány */
  height: 200%;                /* kitölti a header magasságát */
  max-height: 200px;           /* vagy amekkora neked tetszik */
  width: auto;                 /* arányosan méretezi a szélességet */
  float: right;                /* jobbra igazítás */
  box-shadow: 0 0 0px #000a;

}


/* Videó poszter és leírás */
video {
  background: #000;
  margin: 1em 0;
}
.video-desc {
  background: #222;
  color: #fff;
  padding: 1em;
  margin: 1em 0;
  border-left: 4px solid #e50914;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 arány */
  height: 0;
  overflow: hidden;
  margin: 1em 0;
  border-radius: 10px;
  box-shadow: 0 0 12px #0008;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Űrlapok */
form {
  background: #181818;
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 0 10px #0007;
  margin: 2em 0;
}
label {
  display: block;
  margin-bottom: 0.3em;
  font-weight: bold;
  color: #e50914;
}
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 0.7em;
  margin-bottom: 1.2em;
  border: 1.5px solid #e50914;
  border-radius: 6px;
  background: #222;
  color: #fff;
  font-size: 1em;
}
input[type="radio"], input[type="checkbox"] {
  accent-color: #e50914;
  margin-right: 0.5em;
  width: 1.2em;
  height: 1.2em;
}

input[type="submit"], button {
  background: #e50914;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8em 2em;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}
input[type="submit"]:hover, button:hover {
  background: #fff;
  color: #e50914;
}

fieldset {
  border: none;
  margin: 1em 0;
  padding: 0;
}

legend {
  font-weight: bold;
  color: #e50914;
  margin-bottom: 0.5em;
  font-size: 1.1em;
}

fieldset label {
  margin-right: 2em;
  font-size: 1.05em;
}

form label, form fieldset, form textarea, form input[type="text"], form input[type="email"] {
  margin-bottom: 1em;
}



/* Kiemelések, kulcsszavak */
strong, b {
  color: #e50914;
  font-weight: bold;
}
em, i {
  color: #fff;
  font-style: italic;
}

/* Footer */
footer {
  background: #181818;
  color: #bbb;
  text-align: center;
  padding: 1em 0;
  border-top: 2px solid #e50914;
  margin-top: 2em;
  font-size: 0.95em;
}

/* Reszponzivitás */
@media (max-width: 900px) {
  main {
    padding: 1em 0.5em;
  }
  nav ul {
    flex-direction: column;
    gap: 0.5em;
  }
}
@media (max-width: 600px) {
  main {
    max-width: 98vw;
    padding: 0.5em 0.2em;
  }
  h1 {
    font-size: 1.3rem;
    padding-left: 0.3em;
  }
  h2 {
    font-size: 1.1rem;
  }
  nav ul {
    flex-direction: column;
    gap: 0.2em;
  }
  table, th, td {
    font-size: 0.95em;
  }
  form {
    padding: 1em 0.3em;
  }
}

/* Nagy kontrasztú alternatív stílus (pl. JS-sel kapcsolható) */
body.high-contrast {
  background: #000 !important;
  color: #fff !important;
}
body.high-contrast h1, body.high-contrast h2, body.high-contrast h3, body.high-contrast h4 {
  color: #fff !important;
  border-color: #fff !important;
}
body.high-contrast a {
  color: #fff !important;
  background: #e50914 !important;
}
body.high-contrast input, body.high-contrast textarea {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}
body.high-contrast label {
  color: #fff !important;
}
body.high-contrast th {
  color: #fff !important;
  background: #000 !important;
}
body.high-contrast strong, body.high-contrast b {
  color: #fff !important;
}

/* Egyedi Playboi Carti-hangulatú részletek */
::-webkit-scrollbar {
  width: 12px;
  background: #181818;
}
::-webkit-scrollbar-thumb {
  background: #e50914;
  border-radius: 8px;
}

/* GYENGÉNLÁTÓ FUNKCIÓK */
body.high-contrast {
  background: #000 !important;
  color: #fff !important;
  letter-spacing: 0.03em;
}

body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast label,
body.high-contrast legend,
body.high-contrast th,
body.high-contrast td,
body.high-contrast p,
body.high-contrast a,
body.high-contrast li,
body.high-contrast input,
body.high-contrast textarea,
body.high-contrast button {
  color: #fff !important;
  background: #000 !important;
  border-color: #fff !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  letter-spacing: 0.05em;
}

body.high-contrast a, 
body.high-contrast a:visited {
  color: #ffd600 !important;
  background: #000 !important;
  text-decoration: underline !important;
}

body.high-contrast .album-divider {
  border-top: 5px solid #ffd600 !important;
  background: #ffd600 !important;
  box-shadow: none !important;
}

body.high-contrast .highlighted-song {
  background: #000 !important;
  border-left: 8px solid #ffd600 !important;
  color: #fff !important;
}

body.high-contrast input,
body.high-contrast textarea,
body.high-contrast select {
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}

body.high-contrast ::placeholder {
  color: #ffd600 !important;
  opacity: 1 !important;
}

body.high-contrast button,
body.high-contrast input[type="submit"] {
  background: #ffd600 !important;
  color: #000 !important;
  border: 2px solid #fff !important;
}

body.high-contrast .video-container {
  box-shadow: 0 0 0 4px #ffd600 !important;
  border-radius: 0 !important;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 10px;
  background: #e50914;
  color: #fff;
  padding: 10px 15px;
  border-radius: 0 0 5px 5px;
  font-weight: bold;
  transition: top 0.2s;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Biztosítja, hogy a main elem megfelelően fogadja a fókuszt */
#main:focus {
  outline: none;
}

@media print {
  header, nav, footer, .album-divider, .video-container, video, iframe {
    display: none !important;
  }
  main, section, article {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  img, .albumcover, .thumbnail {
    max-width: 80mm !important;
    height: auto !important;
    display: block;
    margin: 1em 0;
    box-shadow: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
    line-height: 1.4;
    margin: 0;
    padding: 0;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}

