/* --- RESET & VARIABLES --- */
:root {
    --bg-color: #f5f5f4; /* Stone 100 */
    --nav-height: 85px; /*SPACING FOR NAV*/
    --player-height: 80px; /*MUSIC BAR*/
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    padding-bottom: var(--player-height);
}

/* --- UTILITIES --- */
.hidden { display: none !important; }
.uppercase { text-transform: uppercase; }
.bold { font-weight: 800; }
.flex { display: flex; }
.grid { display: grid; }
.center { display: flex; align-items: center; justify-content: center; }

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 85px;
    background: rgba(245, 245, 244, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    cursor: pointer;
}

.nav-links button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-left: 2rem;
    color: var(--muted-color);
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links button.active, .nav-links button:hover {
    color: black;
}

/* --- SECTIONS GENERAL --- */
main {
    padding-top: var(--nav-height);
    min-height: 100vh;
    animation: fadeIn 0.5s ease-in;
}

/* --- HERO --- */
.hero {
    background-color: #1c1917;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(images/banner.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 1rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero h2 {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.hero h2 span {
    color: #a8a29e;
}

.hero p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
}

/* --- DISCOGRAPHY GRID --- */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px); 
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem 2rem;
}

.album-card {
    background: white;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s, box-shadow 0.3s;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #d6d3d1;
}

.art-container {
    aspect-ratio: 1/1;
    width: 100%;
    position: relative;
    overflow: hidden;

}
.album-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    Object-fit: cover; 
    display: block;
}

.hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 25, 23, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.album-card:hover .hover-overlay {
    opacity: 1;
}

.listen-btn {
    background: white;
    color: black;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transform: scale(0.95);
    transition: transform 0.2s;
}

.listen-btn:hover {
    transform: scale(1);
}

.album-info {
    padding: 1.5rem;
}

.album-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
}

.album-title {
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    line-height: 1.1;
    padding-right: 10px;
}

.album-year {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--muted-color);
    border: 1px solid #e5e5e5;
    padding: 2px 4px;
}

.album-desc {
    font-size: 0.9rem;
    color: var(--muted-color);
}

#vision {
    background-color: #1c1917;
    color: #f5f5f4;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 4rem 2rem;
}

.vision-content {
    max-width: 900px;
    text-align: center;
}

.vision-quote {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.vision-text {
    font-size: 1.2rem;
    color: #a8a29e;
    line-height: 1.6;
    margin-bottom: 4rem;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
    border-top: 1px solid #44403c;
    padding-top: 2rem;
}

.vision-grid h3 {
    color: yellow;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

/* --- MERCH SECTION --- */
#merch {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.merch-item {
    display: flex;
    flex-direction: column; /* Fixed typo from flex-col-direction */
    cursor: pointer;
}

.merch-image {
    background: #e7e5e4;
    aspect-ratio: 3/4;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.merch-image span {
    position: absolute;
    font-family: monospace;
    opacity: 0.5;
}

.merch-info {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid black;
    padding-top: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- music bar --- */
.music-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--player-height);
    background: white;
    border-top: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
}


/* --- TOAST --- */
#toast {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #1c1917;
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-family: monospace;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 2000;
}

#toast.show { opacity: 1; }

.album-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    z-index: 5;
}

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

.filter-bar {
    text-align: center;
    margin-bottom: 1.5rem;
}

#sortSelect {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/*ICONS*/
footer {
    margin-bottom: 80px;
}

body {
    background: #D0D8DB;
    padding-top: 60px;
    padding-bottom: 40px;
}

textarea {
    resize: none;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  white-space: nowrap;
}

.svg-inline--fa {
  vertical-align: -0.200em;
}

.rounded-social-buttons {
  text-align: center;
}

.rounded-social-buttons .social-button {
  display: inline-block;
  position: relative;
  cursor: pointer;
  width: 3.125rem;
  height: 3.125rem;
  border: 0.125rem solid transparent;
  padding: 0;
  text-decoration: none;
  text-align: center;
  color: #fefefe;
  font-size: 1.5625rem;
  font-weight: normal;
  line-height: 2em;
  border-radius: 1.6875rem;
  transition: all 0.5s ease;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

.rounded-social-buttons .social-button:hover, .rounded-social-buttons .social-button:focus {
  -webkit-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
          transform: rotate(360deg);
}

.rounded-social-buttons .fa-x-twitter,
.rounded-social-buttons .fa-youtube,
.rounded-social-buttons .fa-instagram {
  font-size: 25px;
}

.rounded-social-buttons .fa-x-twitter,
.rounded-social-buttons .fa-youtube,
.rounded-social-buttons .fa-instagram {
  color: black !important;
}