/*
  Author: Olli Hall
  Date: Oct 23, 2025
  File Name: styles.css
*/

/* ================================
   FONT IMPORTS
================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Serif+Display:ital@1&family=Shrikhand&display=swap');

/* ================================
   GLOBAL RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

/* ================================
   GLOBAL BRAND STYLES
================================ */
body {
    background-color: #F7F7FF;
    color: #3C3C3C;
    font-family: 'DM Serif Display', serif;
}

h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

/* ================================
   HEADER
================================ */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #000;
    width: 100%;
    height: 200px;
}

.branding {
    padding: 1rem;
}

.logo-button {
    font-family: 'Shrikhand', cursive;
    font-size: 2.2rem;
    color: #F7F7FF;
    text-decoration: none;
    background-color: #DA600F;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.logo-button:hover {
    background-color: #FFD449;
    color: #3C3C3C;
}

.header-image {
    flex-grow: 1;
    height: 100%;
    overflow: hidden;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================
   NAVIGATION
================================ */
nav {
    background-color: #DA600F;
    width: 100%;
}

nav ul {
    list-style: none;
    text-align: center;
    padding: 0.75rem 0;
}

nav li {
    display: inline-block;
    margin: 0 0.3rem;
}

nav a {
    color: #F7F7FF;
    font-size: 1.4rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-family: 'Bebas Neue', sans-serif;
}

nav a:hover {
    background-color: #FFD449;
    color: #3C3C3C;
    border-radius: 4px;
}

/* ================================
   MAIN BASE STYLES
================================ */
main {
    padding: 2rem 5%;
}

main p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* ================================
   GENRES PAGE
================================ */
.genres-page {
    text-align: center;
    padding: 2rem 5%;
}

.genres-title {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
}

/* GRID */
.genres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* BUTTON BASE */
.genre-btn {
    position: relative;
    height: 220px;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: center;
    background-size: cover;
    background-position: center;
    transition: 0.3s ease;
}

/* TITLE */
.genre-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.6rem;
    letter-spacing: 2px;
    z-index: 3;
    transition: opacity 0.3s ease;
}

/* DESCRIPTION */
.genre-desc {
    position: absolute;
    width: 80%;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.4;
    color: #fff;
    opacity: 0;
    z-index: 4;
    transition: opacity 0.3s ease;
}

/* HOVER OVERLAY */
.genre-btn:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    border-radius: 12px;
    z-index: 2;
}

.genre-btn:hover .genre-title {
    opacity: 0;
}

.genre-btn:hover .genre-desc {
    opacity: 1;
}

/* COLORS */
#hiphop { background-color: #000; color: #FFF; }
#rnb { background-color: #FFF; border: 3px solid #DA600F; }
#jazz { background-color: #000; color: #FFF; }
#soul { background-color: #FFF; border: 3px solid #3C3C3C; }
#holiday { background-color: #DA600F; color: #FFF; }
#pop { background-color: #FFF; border: 3px solid #FFD449; }

/* Force white text on dark */
#hiphop .genre-title,
#jazz .genre-title,
#holiday .genre-title {
    color: #FFF;
}

/* HOVER IMAGES */
#hiphop:hover { background-image: url("../images/hiphophover.jpg"); }
#rnb:hover { background-image: url("../images/rnbhover.jpeg"); }
#jazz:hover { background-image: url("../images/jazzhover.webp"); }
#soul:hover { background-image: url("../images/soulhover.jpg"); }
#holiday:hover { background-image: url("../images/holidayhover.jpg"); }
#pop:hover { background-image: url("../images/pophover.jpg"); }

/* Responsive */
@media (max-width: 900px) {
    .genres-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .genres-grid { grid-template-columns: 1fr; }
}

/* ================================
   ARTISTS PAGE
================================ */
.artists-page {
    padding: 2rem 5%;
}

.artists-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.artist-group {
    margin-bottom: 4rem;
}

.group-title {
    text-align: center;
    font-size: 2.4rem;
    background-color: #EDEDF5;
    padding: 0.75rem 0;
    border-radius: 6px;
    margin: 3rem 0 2rem;
}

/* Artist Grid */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    justify-items: center;
}

.artist-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #DA600F;
    transition: 0.25s ease;
}

.artist-card img:hover {
    transform: scale(1.07);
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
}

.artist-card p {
    margin-top: 0.75rem;
    font-size: 1.2rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.more-wrapper { text-align: right; }

.more-btn {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background-color: #DA600F;
    color: #FFF;
    font-family: 'Bebas Neue', sans-serif;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.25s ease;
}

.more-btn:hover {
    background-color: #FFD449;
    color: #3C3C3C;
}

/* Artist responsive */
@media (max-width: 900px) {
    .artist-grid { grid-template-columns: repeat(2, 1fr); }
    .artist-card img { width: 100px; height: 100px; }
}
@media (max-width: 600px) {
    .artist-grid { grid-template-columns: 1fr; }
    .artist-card img { width: 90px; height: 90px; }
}

/* ================================
   ARCHIVE GALLERY
================================ */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 0 1rem;
}

.archive-item {
    background: #FFF;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: 0.25s ease;
}

.archive-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.archive-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
}

.archive-item figcaption {
    margin-top: 0.85rem;
    font-size: 1.05rem;
    font-weight: bold;
}

/* Archive responsive */
@media (max-width: 1000px) {
    .archive-grid { grid-template-columns: repeat(2, 1fr); }
    .archive-item img { height: 240px; }
}

@media (max-width: 650px) {
    .archive-grid { grid-template-columns: 1fr; }
    .archive-item img { height: 250px; }
}

/* Featured video */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* ================================
   LIGHTBOX
================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 3rem;
    color: #FFF;
    cursor: pointer;
}

/* ================================
   CONTACT PAGE
================================ */
.contact-page {
    padding: 2rem 5%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #555;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.9rem;
    border-radius: 8px;
    border: 2px solid #ddd;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #DA600F;
}

.contact-btn {
    background-color: #DA600F;
    color: #FFF;
    padding: 0.8rem 1.4rem;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-family: 'Bebas Neue', sans-serif;
    cursor: pointer;
    margin-top: 1rem;
    transition: 0.3s ease;
}

.contact-btn:hover {
    background-color: #FFD449;
    color: #3C3C3C;
}

/* ================================
   FOOTER
================================ */
footer {
    text-align: center;
    font-size: 0.8rem;
    padding: 1rem 0;
    background-color: #000;
    color: #FFF;
    margin-top: 3rem;
}

footer a {
    color: #FFD449;
}

/* ================================
   SITE MAP 
================================ */

.site-map-page {
    padding: 3rem 6%;
    max-width: 1000px;
    margin: 0 auto;
}

/* subtle texture background */
.site-map-section {
    background: radial-gradient(circle at top left, #ffffff 60%, #faf7f2);
    padding: 2.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* title */
.site-map-page h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 1rem;
}

/* intro */
.site-map-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* LIST WRAPPER */
.site-map-list {
    columns: 2;     
    column-gap: 4rem;
    list-style: none;
    padding-left: 0;
}

/* MAIN SECTIONS */
.site-map-list > li {
    break-inside: avoid;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #d2c5b8;
}

/* MAIN LINK */
.site-map-list > li > a {
    font-size: 1.7rem;
    font-family: 'Bebas Neue', sans-serif;
    text-decoration: none;
    color: #DA600F;
    letter-spacing: 1px;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.site-map-list > li > a:hover {
    color: #FFD449;
    text-shadow: 0 0 6px rgba(255,212,73,0.6);
}

/* SUBLIST */
.site-map-sublist {
    margin-top: 0.7rem;
    padding-left: 1.5rem;
    list-style-type: square;
}

.site-map-sublist li {
    margin-bottom: 0.35rem;
}

.site-map-sublist a {
    text-decoration: none;
    font-size: 1.05rem;
    color: #3C3C3C;
    transition: color 0.25s ease;
}

.site-map-sublist a:hover {
    color: #DA600F;
}