/* ========================================
   Rikki Band Site - Stylesheet
   Dark modern theme inspired by foxandbones.com
   ======================================== */

/* Treasure Map font */
@font-face {
    font-family: 'TreasureMap';
    src: url('/fonts/treasure-map.woff2?v=4') format('woff2'),
         url('/fonts/Treamd.ttf?v=4') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: rgba(8, 8, 8, 0.7);
    --bg-darker: rgba(4, 4, 4, 0.75);
    --bg-section: rgba(12, 12, 12, 0.65);
    --bg-card: rgba(20, 20, 20, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --accent: hsl(0, 72%, 25%);
    --accent-light: hsl(0, 72%, 35%);
    --accent-glow: hsla(0, 72%, 25%, 0.3);
    --border: rgba(255, 255, 255, 0.1);
    --font-display: 'TreasureMap', 'Bebas Neue', sans-serif;
    --font-heading: 'TreasureMap', 'Playfair Display', serif;
    --font-body: 'Crimson Pro', serif;
    --nav-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    background-image: url('/images/weathered-wood.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-light);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(4, 4, 4, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 34px;
    letter-spacing: 0.25em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.nav-logo:hover {
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-icon {
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-darker);
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(8, 8, 8, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(60px, 12vw, 160px);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(16px, 2.5vw, 24px);
    color: var(--text-secondary);
    letter-spacing: 0.15em;
}

/* ========================================
   Sections (General)
   ======================================== */
.section {
    padding: 100px 0;
}

.section:nth-child(even) {
    background: var(--bg-section);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: 16px auto 0;
}

/* ========================================
   Music Section
   ======================================== */
.music-featured {
    margin-bottom: 60px;
}

.album-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.album-art {
    width: 200px;
    height: 200px;
    min-width: 200px;
    object-fit: cover;
    border-radius: 2px;
    transition: opacity 0.3s ease;
}

.album-art:hover {
    opacity: 0.85;
}

.album-art-small {
    width: 140px;
    height: 140px;
    min-width: 140px;
    object-fit: cover;
    border-radius: 2px;
    transition: opacity 0.3s ease;
}

.album-art-small:hover {
    opacity: 0.85;
}

.album-art-placeholder {
    width: 200px;
    height: 200px;
    min-width: 200px;
    background: linear-gradient(135deg, var(--accent), var(--bg-darker));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.1em;
    border-radius: 2px;
}

.album-art-placeholder.small {
    width: 180px;
    height: 180px;
    min-width: 180px;
}

.album-info h3 {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.album-info .album-title {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 4px;
}

.album-info .album-artist {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 4px;
}

.album-info .album-genre {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
    font-style: italic;
}

.tracklist {
    max-width: 600px;
    margin: 24px auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding: 24px 32px;
}

.tracklist h4 {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.tracklist ol {
    list-style: none;
    counter-reset: track;
}

.tracklist ol li {
    counter-increment: track;
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 15px;
    color: var(--text-secondary);
}

.tracklist ol li::before {
    content: counter(track) ".";
    min-width: 28px;
    color: var(--text-muted);
    font-size: 13px;
}

.tracklist ol li:last-child {
    border-bottom: none;
}

.track-name {
    flex: 1;
}

.track-time {
    color: var(--text-muted);
    font-size: 13px;
    font-family: var(--font-display);
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.album-card-full {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 24px;
    display: flex;
    gap: 20px;
}

.album-card-full .album-art-placeholder.small {
    width: 140px;
    height: 140px;
    min-width: 140px;
    flex-shrink: 0;
}

.album-card-full a {
    flex-shrink: 0;
}

.album-card-details {
    flex: 1;
    min-width: 0;
}

.album-card-details .album-title {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 2px;
}

.album-card-details .album-year {
    color: var(--accent-light);
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.tracklist-compact {
    list-style: none;
    counter-reset: track;
    margin-bottom: 16px;
    padding: 0;
}

.tracklist-compact li {
    counter-increment: track;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 3px 0;
    display: flex;
    align-items: center;
}

.tracklist-compact li::before {
    content: counter(track) ".";
    min-width: 22px;
    color: var(--text-muted);
    font-size: 12px;
}

.tracklist-compact li span {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 12px;
    font-family: var(--font-display);
}

.album-card-small {
    text-align: center;
}

.album-card-small .album-title {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-top: 12px;
    color: var(--text-secondary);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.btn-outline {
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
}

.btn-solid {
    border: 1px solid var(--accent);
    color: var(--text-primary);
    background: var(--accent);
}

.btn-solid:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}

.btn-small {
    padding: 8px 20px;
    font-size: 11px;
}

/* ========================================
   Shows Section
   ======================================== */
.shows-list {
    max-width: 700px;
    margin: 0 auto;
}

.show-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.show-date {
    text-align: center;
    min-width: 60px;
}

.show-date .month {
    display: block;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-light);
}

.show-date .day {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
}

.show-details {
    flex: 1;
}

.show-details h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 2px;
}

.show-details p {
    color: var(--text-secondary);
    font-size: 14px;
}

.shows-placeholder {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 32px;
}

/* ========================================
   Video Section
   ======================================== */
.video-grid {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
}

.play-button {
    width: 64px;
    height: 64px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.video-placeholder:hover .play-button {
    border-color: var(--accent-light);
    color: var(--accent-light);
}

.video-caption {
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 15px;
    margin-top: 16px;
    font-style: italic;
}

/* ========================================
   Bio Section
   ======================================== */
.bio-content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.bio-image-placeholder {
    width: 350px;
    min-width: 300px;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--bg-card), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.1em;
    border-radius: 2px;
}

.bio-text {
    flex: 1;
}

.bio-text .section-title {
    text-align: left;
}

.bio-text .section-title::after {
    margin: 16px 0 0;
}

.bio-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ========================================
   Mailing List Section
   ======================================== */
.mailing-section {
    text-align: center;
    background: var(--bg-darker);
}

.mailing-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 16px;
}

.mailing-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.mailing-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.3s ease;
}

.mailing-form input[type="email"]:focus {
    border-color: var(--accent);
}

.mailing-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-item h3 {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.contact-item a {
    color: var(--text-secondary);
    font-size: 15px;
}

.contact-item a:hover {
    color: var(--text-primary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 13px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(4, 4, 4, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 32px 0;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-social {
        display: none;
    }

    .album-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .album-art-placeholder {
        width: 160px;
        height: 160px;
        min-width: 160px;
    }

    .bio-content {
        flex-direction: column;
    }

    .bio-image-placeholder {
        width: 100%;
        min-width: unset;
        max-width: 350px;
        margin: 0 auto;
    }

    .bio-text .section-title {
        text-align: center;
    }

    .bio-text .section-title::after {
        margin: 16px auto 0;
    }

    .mailing-form {
        flex-direction: column;
    }

    .show-item {
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        letter-spacing: 0.2em;
    }

    .section {
        padding: 64px 0;
    }

    .music-grid {
        grid-template-columns: 1fr 1fr;
    }

    .album-art-placeholder.small {
        width: 140px;
        height: 140px;
        min-width: 140px;
    }
}
