/* assets/css/style.css */
:root {
    --primary: #d6001c; /* Vanilla Ninja Red */
    --primary-hover: #b00017;
    --dark: #111111;
    --darker: #000000;
    --light: #f4f4f4;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --card-bg: #1e1e1e;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    background-color: var(--dark);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header & Nav */
.main-header {
    background: var(--darker);
    border-bottom: 3px solid var(--primary);
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 3px;
    text-shadow: 2px 2px 0 var(--primary);
}

.logo span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.6;
    letter-spacing: 1px;
    margin-top: -5px;
    text-align: right;
    text-shadow: none;
}

nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 5px 0;
    position: relative;
}

nav a:hover, nav a.active {
    color: #fff;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* Main Content */
main {
    flex: 1;
    padding: 40px 0;
}

/* News Feed with Thumbnails */
.news-feed h2 {
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.news-item {
    background: var(--card-bg);
    margin-bottom: 25px;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    transition: transform 0.2s ease;
    display: flex;
    overflow: hidden;
}

.news-item:hover {
    transform: translateX(5px);
    background: #252525;
}

.news-thumb {
    flex: 0 0 220px;
    position: relative;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-thumb img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item .date {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: bold;
}

.news-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    line-height: 1.3;
}

.news-item h3 a {
    color: #fff;
}

.news-item h3 a:hover {
    color: var(--primary);
}

.news-item .source {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
    font-style: italic;
}

.news-item .read-more {
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--text-muted);
    align-self: flex-start;
}

.news-item .read-more:hover {
    color: #fff;
}

/* Discography Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-color: var(--primary);
}

.card-header {
    background: #2a2a2a;
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
}

.card-header .year {
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}

.card-body {
    padding: 20px;
    font-size: 0.95rem;
}

.card-body p {
    margin: 10px 0;
    color: var(--text-muted);
}

.card-body strong {
    color: #fff;
}

/* About Page & Members */
.about-page .lead {
    font-size: 1.2rem;
    margin-bottom: 40px;
    border-left: 2px solid var(--primary);
    padding-left: 20px;
}

.band-socials {
    background: #222;
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 50px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-social {
    background: #333;
    border: 1px solid #444;
}

.btn-ig:hover { background: #E1306C; border-color: #E1306C; }
.btn-fb:hover { background: #4267B2; border-color: #4267B2; }
.btn-yt:hover { background: #FF0000; border-color: #FF0000; }

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.member-card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 4px;
    padding: 30px;
    text-align: center;
    transition: transform 0.2s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    position: relative;
}

.member-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.photo-source {
    font-size: 0.65rem;
    color: #555;
    margin-top: 8px;
    line-height: 1.2;
}

.photo-source a {
    color: #777;
    text-decoration: underline;
}

.photo-source a:hover {
    color: var(--primary);
}

.member-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #fff;
}

.member-info .role {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.member-info .ig-link {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.85rem;
    border: 1px solid #444;
    padding: 8px 15px;
    border-radius: 20px;
}

.member-info .ig-link:hover {
    background: #fff;
    color: #000;
}

.past-members {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.past-members ul {
    list-style: none;
    padding: 0;
}

.past-members li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.past-members strong {
    color: #fff;
    margin-right: 5px;
}

/* Timeline (History) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #333;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    width: 80px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
    text-align: right;
    padding-right: 20px;
    flex-shrink: 0;
}

.timeline-content {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 4px;
    flex: 1;
    position: relative;
    border: 1px solid #333;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 15px;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

/* Music Page */
.media-links {
    margin: 30px 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn:hover {
    filter: brightness(110%);
    color: #fff;
}

.btn-youtube { background: #FF0000; }
.btn-spotify { background: #1DB954; }

.video-container {
    margin-top: 40px;
    background: #000;
    padding: 10px;
    border: 1px solid #333;
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

/* Footer & Ads */
footer {
    background: var(--darker);
    color: var(--text-muted);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    margin-top: auto;
}

.ad-slot {
    background: #222;
    padding: 30px;
    margin-top: 20px;
    border: 1px dashed #444;
    display: inline-block;
    min-width: 300px;
    min-height: 100px; /* Placeholder height */
}

.ad-label {
    font-size: 0.65rem;
    color: #555;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        margin-top: 20px;
        justify-content: center;
    }

    /* News Feed Mobile */
    .news-item {
        flex-direction: column;
    }
    
    .news-thumb {
        flex: auto;
        height: 200px;
        width: 100%;
    }

    .timeline::before {
        left: 0;
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-year {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }
    
    .timeline-content::before {
        display: none;
    }
}