/* ----- RESET & BASE ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Force consistent scrollbar to prevent layout shifts */
html {
    overflow-y: scroll;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #B0D2D3 0%, #E1CEC2 100%);
    background-attachment: fixed;
    color: #1e2b2c;
    line-height: 1.5;
}

/* ----- WRAPPER ----- */
.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    width: 100%;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* ----- HEADER ----- */
.site-header {
    text-align: center;
    padding: 1.2rem 0 0.8rem 0;
    border-bottom: 1px solid rgba(30, 43, 44, 0.15);
    margin-bottom: 2rem;
}

.logo-link {
    display: inline-block;
    transition: opacity 0.2s ease;
}
.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* navigation */
.main-nav {
    margin-top: 1.1rem;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem 1.8rem;
    list-style: none;
}

.nav-list a {
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: #1e2b2c;
    padding: 0.4rem 0.2rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.nav-list a:hover {
    border-bottom-color: #3f6b6d;
    color: #0f1c1d;
}

/* ----- PAGE TITLE (centered) ----- */
.page-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    text-align: center;
}

/* ----- FEED (index) ----- */
.feed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0.5rem 0 1.5rem 0;
}

/* Responsive feed images - consistent sizing for all images */
.post-content .feed-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.post {
    background: rgba(255, 255, 255, 0.55);
    padding: 1.8rem 2rem 2rem 2rem;
    transition: none;
}

.post:hover {
    box-shadow: none;
    transform: none;
    background: rgba(255, 255, 255, 0.55);
}

.post-header {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.post-date {
    font-size: 0.8rem;
    font-weight: 500;
    color: #3a5a5b;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.4);
    padding: 0.15rem 1rem;
}

.post-content {
    margin-top: 0.6rem;
}

.post-content img,
.post-content iframe,
.post-content .soundcloud-embed {
    max-width: 100%;
    display: block;
    margin: 0.5rem 0 0.2rem 0;
}

.post-content iframe {
    border: none;
    width: 100%;
    height: 180px;
}

.soundcloud-embed {
    background: rgba(255, 255, 255, 0.4);
    padding: 1.2rem 1rem;
    text-align: center;
    color: #1e2b2c;
    font-weight: 400;
    font-size: 0.95rem;
}

.soundcloud-embed i {
    margin-right: 8px;
    color: #3f6b6d;
}

.post-text {
    margin-top: 0.6rem;
    font-size: 1rem;
    color: #1f2f30;
}

/* ----- SHOWS PAGE ----- */
.shows-section {
    margin-bottom: 2.5rem;
}

.shows-section h2 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(30, 43, 44, 0.15);
    padding-bottom: 0.3rem;
}

.show-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(30, 43, 44, 0.06);
}

.show-date {
    font-weight: 600;
    min-width: 80px;
    color: #1e2b2c;
}

.show-details a {
    color: #1e2b2c;
    text-decoration: none;
    border-bottom: 1px dotted rgba(30, 43, 44, 0.3);
    transition: border-color 0.2s, color 0.2s;
}

.show-details a:hover {
    border-bottom-color: #3f6b6d;
    color: #0f1c1d;
}

/* ----- MUSIC PAGE (album grid) ----- */
.section-title {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0 0 1.5rem 0;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Albums use grid layout */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    justify-items: center;
}

/* Singles use flex layout for centering */
.singles-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.album-card {
    width: 100%;
    max-width: 280px;
    background: transparent;
    overflow: visible;
    padding-bottom: 0;
    transition: none;
}

.album-card:hover {
    background: transparent;
}

.album-art {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* overlay links – appear on hover, two rows */
.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.8rem 0.5rem 0.6rem 0.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.overlay-row {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    flex-wrap: wrap;
}

.album-overlay a,
.album-overlay span {
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.15rem 0.4rem;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 500;
    font-size: 0.7rem;
}

.album-overlay a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.album-overlay a i {
    font-size: 0.95rem;
}

/* physical formats (CD, LP, 7") */
.format-link {
    font-size: 0.65rem !important;
    letter-spacing: 0.3px;
}

.format-link i {
    font-size: 0.8rem !important;
}

/* unavailable formats – grayed out + strikethrough, no pointer */
.format-unavailable {
    opacity: 0.35;
    text-decoration: line-through;
    pointer-events: none;
    cursor: default;
    filter: grayscale(1);
}

.album-info {
    padding: 0.8rem 0.5rem 0.2rem 0.5rem;
    text-align: center;
}

.album-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.album-release {
    font-size: 0.8rem;
    color: #3a5a5b;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    .singles-grid {
        gap: 1.5rem;
    }
    .album-card {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 1.2rem;
    }
    .singles-grid {
        gap: 1.2rem;
    }
    .album-card {
        max-width: 180px;
    }
    .album-overlay a,
    .album-overlay span {
        font-size: 0.6rem;
        padding: 0.1rem 0.3rem;
    }
    .album-overlay a i {
        font-size: 0.8rem;
    }
    .overlay-row {
        gap: 0.4rem;
    }
}

/* ----- VIDEOS PAGE ----- */
.videos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.video-item {
    width: 100%;
    max-width: 420px;
    background: transparent;
    overflow: visible;
    padding-bottom: 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-caption {
    padding: 0.6rem 0.5rem 0.2rem 0.5rem;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    color: #1e2b2c;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .videos-grid {
        gap: 2rem;
    }
    .video-item {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .videos-grid {
        gap: 1.5rem;
    }
    .video-caption {
        font-size: 0.85rem;
        padding: 0.4rem 0.3rem 0.1rem 0.3rem;
    }
}

/* ----- FOOTER ----- */
.site-footer {
    margin-top: 2rem;
    padding: 1.8rem 0 1rem 0;
    border-top: 1px solid rgba(30, 43, 44, 0.2);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    flex-wrap: wrap;
}

.social-links a {
    color: #1e2b2c;
    font-size: 2rem;
    transition: color 0.2s, transform 0.15s;
    display: inline-block;
    text-decoration: none;
}

.social-links a:hover {
    color: #3f6b6d;
    transform: scale(1.08);
}

.footer-note {
    margin-top: 1.2rem;
    font-size: 0.75rem;
    color: #2a4142;
    letter-spacing: 0.3px;
    opacity: 0.7;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 640px) {
    .wrapper {
        padding: 1rem 1.2rem;
    }
    .nav-list {
        gap: 0.2rem 1.2rem;
    }
    .nav-list a {
        font-size: 1rem;
    }
    .logo-img {
        max-width: 170px;
    }
    .post {
        padding: 1.5rem 1.2rem;
    }
    .social-links {
        gap: 1.5rem;
    }
    .social-links a {
        font-size: 1.8rem;
    }
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.2rem;
    }
    .show-item {
        flex-direction: column;
        gap: 0.2rem;
    }
    .page-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .nav-list {
        gap: 0.2rem 0.8rem;
    }
    .nav-list a {
        font-size: 0.9rem;
    }
    .post-content iframe {
        height: 150px;
    }
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    .page-title {
        font-size: 1.4rem;
    }
    .album-overlay a,
    .album-overlay span {
        font-size: 0.6rem;
        padding: 0.1rem 0.3rem;
    }
    .album-overlay a i {
        font-size: 0.8rem;
    }
    .overlay-row {
        gap: 0.4rem;
    }
}