/* =======================
   BASIC RESET & GLOBALS
   ======================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {

}

.full_opacity {
    opacity: 0.8;
    transition: opacity 0.5s ease-in-out;
}

.full_opacity:hover {
    opacity: 1;
}



body {
    background: black url('/img/bg_aftermath.png') no-repeat center center fixed;
    transition: background-image 1s ease-in-out, opacity 1s ease-in-out;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    color: white;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    width: 100vw;
    min-width: 100vw;
    padding: 2em;
    overflow-x: none;
    overflow-y: scroll;
}

/* =======================
   SKIP LINK (ACCESSIBILITY)
   ======================= */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #f39c12;
    color: black;
    padding: 8px;
    z-index: 10000;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

/* =======================
   MAIN PAGE FLEX LAYOUT
   ======================= */
.main-layout {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    width: 100%;
}

/* =======================
   LEFT COLUMN (SONGS/LINKS)
   ======================= */
.left-column {
    width: 30%;
    padding: 20px;
    margin-right: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}
.left-column a { color: white; text-decoration: none; }
.left-column a:not(.normal_link) {
    font-size: 18px; margin: 10px 0; display: block;
    transition: color 0.3s;
}
.left-column a:hover { color: #f39c12; }

/* =======================
   MEDIA WRAPPER (SLIDESHOW + VIDEO)
   ======================= */
.media-wrapper {
    width: 70%;
    display: flex;
    flex-direction: row;
    padding: 0;
}
.slideshow {
    flex: 1;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /* background: black; */
	background: transparent;
    margin-bottom: 1em;
}
.slideshow img {
    position: absolute; width: 100%; height: 100%;
    object-fit: contain; opacity: 0;
    transition: opacity 1.5s ease-in-out;
	border-radius: 10px; /* Rounded corners */
}
.slideshow img.active { opacity: 1; }
.video-container {
    flex: 1;
    height: 100vh;
    padding: 1em;
    /* background: black; */
	background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;	
}
.video-container video {
    width: 100%;
    height: auto;
    max-height: 90vh;
	border-radius: 10px; /* Rounded corners */
}

/* =======================
   MUSIC TRANSPORT (MODAL)
   ======================= */
.music-transport {
    position: fixed;
    top: 20px;
    left: 50%;
    width: 80%; max-width: 500px;
    background: rgba(0,0,0,0.8); padding: 10px;
    border-radius: 10px; display: none;
    flex-direction: column; transition: top 0.3s, left 0.3s;
    z-index: 1000;
    box-shadow: 0 0 25px rgba(255,255,255,0.9);
    border: 2px solid #f39c12;
    cursor: move;
}
.music-transport.visible { display: flex; }
.transport-header {
    display: flex; justify-content: space-between;
    align-items: center; width: 100%;
    padding-bottom: 5px; cursor: move;
}
.close-btn {
    cursor: pointer; font-size: 16px;
    background: none; border: none;
    color: white; padding: 5px; margin-top: -1em;
}
.close-btn:hover { color: #f39c12; }
.song-title {
    flex: 1; text-align: center; font-size: 20px;
    color: white; font-weight: bold;
}
.song_time {
    font-size: 80%; font-style: italic;
    font-weight: bold; color: #f39c12;
}
#audio-player { width: 100%; height: 32px; background: black; color: white; }

/* =======================
   HEAVY-METAL + METALLIC BUTTON
   ======================= */
.heavy-metal-button {
    display: inline-block;
    padding: 5px 0px 10px 0px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    color: #f39c12;
    background: linear-gradient(to bottom, #505050 0%, #2f2f2f 100%);
    border: 2px solid #aaa;
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),
                0 0 10px rgba(0,0,0,0.7);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, text-shadow 0.2s ease;
	width: 90%;
}
.heavy-metal-button:hover,
.heavy-metal-button:focus {
    transform: scale(1.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.2),
                0 0 14px rgba(0,0,0,0.8);
    text-shadow: 0 0 5px #f39c12, 0 0 10px #f39c12;
    outline: 2px solid #f39c12;
}
.heavy-metal-button:active {
    background: linear-gradient(to bottom, #2f2f2f 0%, #505050 100%);
    transform: scale(1.0);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.4),
                0 0 6px rgba(0,0,0,0.6);
    text-shadow: 0 0 3px #f39c12, 0 0 6px #f39c12;
}

/* =======================
   HELP CURSOR
   ======================= */
.help_cursor_hover:hover {
    cursor: help;
    color: #f39c12;
}

/* =======================
   FOOTER (SHARED)
   ======================= */

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 80%;
    padding: .5em;
    background: linear-gradient(to bottom, #1a1a1a, black);
    color: white;
    z-index: 10;
}
.footer a {
    color: white;
}
.footer a:hover {
    color: #f39c12;
}
.footer-link {
    color: #f39c12;
    text-decoration: underline;
    margin: 2em 0 0 0;
    display: inline-block;
    font-size: 90%;
    letter-spacing: 1px;
    text-align: center;
}

.footer-wrapper {
  background-color: #111;
  color: #FFA500;
}

.footer-toggle {
  display: none;
  cursor: pointer;
  padding: 0.75em;
  font-size: 1.5em;
  background: #111;
  color: #FFA500;
  text-align: left;
  padding-right: 2em;
}

/* =======================
   GUESTBOOK TWO-COLUMN LAYOUT (NEW)
   ======================= */
.guestbook-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100vw;         /* full width */
    min-height: 80vh;
    gap: 2em;
    position: relative;
    justify-content: flex-start; /* left-justify columns */
    margin: 0;            /* no centering margin */
    max-width: none;      /* allow to stretch full width */
}
/* Sticky signup panel, flush to the left with padding */
.guestbook-signup {
    position: sticky;
    top: 2em;
    left: 0;
    align-self: flex-start;
    /* width: 600px;*/
    max-width: 95vw;
    margin-left: 0;
    padding: 2em 1.5em 2.5em 1.5em;
    background: rgba(20,20,20,0.95);
    border-radius: 12px;
    box-shadow: 0 0 30px #111, 0 0 2px #f39c12;
    border: 2px solid #f39c12;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-shrink: 0;
    z-index: 2;
}
.guestbook-signup h1 {
    font-size: 2em;
    letter-spacing: 2px;
    margin-bottom: 0.5em;
    text-align: center;
}
.guestbook-signup .desc {
    color: #f39c12;
    font-size: 1.1em;
    margin-bottom: 1.8em;
    text-align: center;
}
.guestbook-signup form label {
    display: block;
    margin-bottom: 1em;
}
.guestbook-signup input, 
.guestbook-signup textarea {
    width: 100%;
    background: #242424;
    color: white;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 0.75em 1em;
    font-size: 1em;
    box-sizing: border-box;
    margin-top: 0.3em;
}
.guestbook-signup textarea {
    min-height: 80px;
    resize: vertical;
}
.guestbook-signup button.heavy-metal-button {
    margin-top: 0.5em;
}

/* Messages column (right) */
.guestbook-messages {
    flex: 1 1 0;
    min-width: 0;
    padding: 1.5em 1em 1.5em 0;
    display: flex;
    flex-direction: column;
    z-index: 1;
    /* Let content wrap/flow next to the sticky panel */
}
.guestbook_entries_list {
    width: 100%;
}

/* Entry/message styles */
.entry {
    border-bottom: 1px solid #333;
    padding: 0.7em 0;
    margin-bottom: 0.2em;
    line-height: 1.45em;
}
.entry .meta { color: #f39c12; font-size: 90%; font-style: italic; }
.entry .name { font-weight: bold; color: #fff; }
.entry .message { display: block; margin-top: .3em; color: #ddd; }
.no-entries {
    text-align: center;
    color: #f39c12;
    margin-top: 2em;
    font-style: italic;
}


.streaming-icons {
	text-align: center;
	margin: 1em auto 2em auto;
}

.stream-icon {
	display: inline-block;
	margin: 0 1em;
	transition: transform 0.2s ease;
}

.stream-icon img {
	width: 48px;
	height: 48px;
	vertical-align: middle;
	filter: brightness(1) drop-shadow(0 0 4px rgba(255,255,255,0.3));
}

.stream-icon:hover {
	transform: scale(1.1);
}

/* =======================
   RESPONSIVE DESIGN
   ======================= */
@media (max-width: 1200px) {
    .main-layout { flex-direction: column; }
    .left-column { width: 100%; text-align: center; padding: 15px; margin-right: 0; }
    .media-wrapper { width: 100%; flex-direction: column; }
    .slideshow, .video-container { flex: 0 0 auto; width: 100%; height: 50vh; margin-top: 20px; }
}
/* Responsive: stack vertically and remove stickiness on small screens */
@media (max-width: 900px) {
    .guestbook-layout {
        flex-direction: column;
        gap: 1em;
        max-width: 85vw;
    }
    .guestbook-signup, .guestbook-messages {
        width: 100%;
        max-width: 100vw;
        /* padding: 1em 0.4em; */
        min-width: 0;
        position: static !important;
        top: unset !important;
    }
}
@media (max-width: 600px) {
    .guestbook-signup h1 { font-size: 1.3em; }
}

@media screen and (max-width: 1400px) {
  .footer-toggle {
    display: block;
  }
  .footer-content {
    display: none !important; /* forcibly hide in small screens */
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .footer-content.expanded {
    display: flex !important;
  }
  .footer-content > div {
    width: 100%;
    /* margin-bottom: 1em; */
    text-align: left !important;
  }
  .footer-content a {
    display: block;
    margin: 0.75em 0;
  }
}



