/* rack.css - FINAL TWEAK for full-height sidebar + vertical border divider */

/* GLOBAL */
body {
    font-family: 'Poppins', Arial, sans-serif;
    background: url('/images/bgrackshack.png') repeat center top fixed;
    background-size: auto;
    color: #eee;
    margin: 0;
    padding: 0;
    text-align: left;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 { color: #c3dc7d; }
p { font-size: 18px; line-height: 1.6; margin-bottom: 20px; }

/* OUTER FRAME - two-column feel */
#outer-frame {
    background:
		linear-gradient(
            to bottom,
            rgba(0, 174, 239, 0.6) 0px,
            rgba(0, 174, 239, 0.4) 80px,
            rgba(0, 174, 239, 0.2) 150px,
            rgba(0, 174, 239, 0) 220px
        ),
        rgba(0, 0, 0, 0.65);

    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 150px;               /* Clears header */
    border: 1px solid #fefefe;   /* You can change these to #fefefe later */
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    gap: 0;                           /* Remove gap - use border for separation */
    overflow-x: hidden;
    position: relative;               /* For pseudo divider if needed */
}

/* TOP BAR + NAVBAR unchanged */
.top-bar {
    width: 90%;
    max-width: 1600px;
    height: 60px;
    background: radial-gradient(circle at center, #00aeef, #2e3192);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    border: 1px solid #fefefe;
}

.navbar {
    width: 90%;
    max-width: 1600px;
    height: 60px;
    background: #111;
    padding: 12px 0;
    position: fixed;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #fefefe;
    z-index: 2500;
}

/* Nav + buttons unchanged */
.nav-left { display: flex; align-items: center; gap: 15px; margin-left: 20px; }
.nav-title { display: flex; align-items: center; gap: 7px; }
.nav-logo { height: 50px; }
.nav-text { display: flex; flex-direction: column; line-height: 1.1; margin-top: 10px; }
.nav-line1, .nav-line2 { font-family: "Trebuchet MS", Arial, sans-serif; font-size: 20px; font-weight: bold; color: #fff; letter-spacing: 1px; }
.nav-right { margin-right: 20px; }
.nav-right a { margin: 0 8px; }

a.button {
    display: inline-block;
    padding: 10px 20px;
    background: #c3dc7d;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.2s;
}
a.button:hover { background: #d4e88f; box-shadow: 0 0 10px rgba(195, 220, 125, 0.6); }

/* BURGER + MOBILE MENU unchanged */
.burger { display: none; font-size: 30px; cursor: pointer; color: #fff; position: absolute; top: 70px; right: 20px; z-index: 2600; }
.mobile-menu { display: none; flex-direction: column; background: #111; position: absolute; top: 120px; right: 20px; padding: 15px; border: 2px solid #00aeef; z-index: 2400; }
.mobile-menu a { color: #c3dc7d; margin: 10px 0; text-decoration: none; }

/* NEW: Full-height sidebar column */
#sidebar-column {
    width: 260px;                     /* Slightly wider than sidebar for breathing room */
    flex-shrink: 0;
    position: relative;               /* Allows child to be sticky */
    min-height: 100%;                 /* Full height of outer-frame */
    border-right: 1px solid #fefefe;  /* ← The continuous vertical divider you want */
}

/* SIDEBAR - full height + divider border */
#sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 150px;
    height: calc(100vh - 150px);      /* Full viewport height minus header space */
    overflow-y: auto;
    background: transparent;
    padding: 20px 20px 40px;
    box-sizing: border-box;
    color: #fff;
    z-index: 10;
}

#sidebar h4 { color: #00aeef; margin-top: 20px; margin-bottom: 10px; }
#sidebar ul { list-style: none; padding: 0; margin: 0; }
#sidebar li { margin-bottom: 10px; }
#sidebar a { color: #c3dc7d; text-decoration: none; font-size: 16px; }
#sidebar a:hover { color: #fff; text-shadow: 0 0 6px #00aeef; }

/* MAIN CONTENT */
#main-content {
    flex: 1;
	padding: 20px;
    box-sizing: border-box;
	min-height: 100%;
}

/* GRID unchanged */
.rs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.rs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.rs-cell { padding: 20px; border-radius: 10px; display: flex; justify-content: center; align-items: center; text-align: center; box-sizing: border-box; }
.rs-cell.black { background: #000; color: #eee; }
.rs-cell.white { background: #fff; color: #111; }
/* HERO SECTION */
.hero-section {
    grid-column: 1 / -1;               /* Full width across the grid */
    display: flex;
    gap: 30px;
    background: #eee;
    padding: 25px;
    border-radius: 10px;
    align-items: center;
}

.hero-left {
    flex: 1;
}

.hero-left h1 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #111;
}

.hero-left p {
    margin-bottom: 15px;
    line-height: 1.5;
    color: #333;
}

.discord-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #c3dc7d;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.hero-right {
    flex: 1;
    text-align: center;
}

.hero-right video {
    max-width: 100%;
    width: 500px;
    height: auto;
    display: block;
}

.coming-up {
    font-weight: bold;
    margin-bottom: 5px;
}

.date-time {
    font-size: 14px;
    color: #666;
}

/* COLLABORATION BANNER */
.collab-banner {
    grid-column: 1 / -1;
    background: #e8e8e8;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

/* TRACK GRID */
.track-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.track-card {
    background: #939393;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.track-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.track-card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #111;
}

.track-card audio {
    width: 100%;
}


/* FOOTER */
.footer {
    width: 100%;
    padding: 20px;
    background: #111;
    text-align: center;
    border-top: 2px solid #2e3192;
    margin-top: 40px;
    color: #aaa;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .burger { display: block; }
    .nav-right { display: none; }
}
@media (max-width: 768px) {
    #sidebar {
        display: none;
    }

    html, body {
        overflow-x: hidden;
    }
}
@media (max-width: 768px) {
    #outer-frame {
        flex-direction: column;
        width: 95%;
        padding: 15px;
        padding-top: 150px;
    }
    #sidebar {
        position: relative;
        top: 0;
        height: auto;                 /* Collapse on mobile */
        border-right: none;
        border-bottom: 4px solid #fefefe;  /* Horizontal divider instead */
        box-shadow: none;
    }
    #main-content { padding: 15px; }
    .rs-grid, .rs-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-right,
    .hero-left {
        flex: none;
        width: 100%;
    }

    .hero-video {
        max-width: 100%;
        width: 100%;
    }
}