/* ===========================
   musikbands.de – Main CSS
   Aesthetic: Bold Editorial / Musikmagazin
   Fonts: Anton (Display) + DM Sans (Body)
=========================== */

:root {
    --black:   #0a0a0a;
    --white:   #f5f0e8;
    --cream:   #ede8df;
    --accent:  #e8383d;
    --accent2: #f5a623;
    --mid:     #2a2a2a;
    --muted:   #6b6560;
    --border:  #d4cfc6;
    --card-bg: #ffffff;
    --radius:  4px;
    --font-display: 'Anton', sans-serif;
    --font-body:    'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--cream);
    color: var(--black);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

/* ── HEADER ── */
.site-header {
    background: var(--black);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--accent);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 40px;
    height: 64px;
}
.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}
.logo-main  { color: var(--white); }
.logo-accent { color: var(--accent); }
.logo-tld   { color: var(--muted); font-size: 1.1rem; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}
.main-nav a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.15s;
}
.main-nav a:hover { color: var(--accent); }
.main-nav .nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: var(--radius);
    transition: background 0.15s;
}
.main-nav .nav-cta:hover { background: #c62d32; color: var(--white); }

.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; margin-left: auto; }

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--black);
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 2px solid var(--accent);
}
.mobile-nav a { color: var(--white); font-weight: 500; padding: 6px 0; border-bottom: 1px solid #222; }
.mobile-nav.open { display: flex; }

/* ── HERO ── */
.hero {
    background: var(--black);
    color: var(--white);
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: 'MUSIK';
    position: absolute;
    font-family: var(--font-display);
    font-size: 22vw;
    color: rgba(255,255,255,0.04);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.02em;
}
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.0;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { font-size: 1.15rem; color: #b0a99e; max-width: 520px; margin-bottom: 36px; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: #c62d32; border-color: #c62d32; color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: #555; }
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--mid); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── SEARCH BAR ── */
.search-section {
    background: var(--black);
    padding: 0 24px 40px;
}
.search-bar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border);
}
.search-bar input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
    background: transparent;
    color: var(--black);
}
.search-bar select {
    padding: 14px 12px;
    border: none;
    border-left: 2px solid var(--border);
    outline: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--cream);
    color: var(--black);
    cursor: pointer;
}
.search-bar button {
    padding: 14px 24px;
    background: var(--accent);
    color: var(--white);
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s;
    font-family: var(--font-body);
}
.search-bar button:hover { background: #c62d32; }

/* ── SECTION ── */
.section { padding: 60px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}
.section-title span { color: var(--accent); }
.section-subtitle { color: var(--muted); margin-bottom: 40px; font-size: 1rem; }

/* ── BAND GRID ── */
.band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.band-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.band-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.band-card a { text-decoration: none; color: inherit; }
.band-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--mid);
    position: relative;
}
.band-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.band-card:hover .band-card-img img { transform: scale(1.04); }
.band-card-img .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 3rem;
    color: rgba(255,255,255,0.15);
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    letter-spacing: 0.05em;
}
.band-genre-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 2px;
}
.band-card-body { padding: 18px; }
.band-card-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}
.band-card-city { color: var(--muted); font-size: 0.85rem; margin-bottom: 10px; }
.band-card-desc {
    color: #555;
    font-size: 0.875rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}
.band-card-links { display: flex; gap: 8px; }
.platform-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s;
}
.platform-icon:hover { opacity: 0.8; }
.platform-spotify { background: #1DB954; color: white; }
.platform-youtube { background: #FF0000; color: white; }
.platform-soundcloud { background: #FF5500; color: white; }
.platform-bandcamp { background: #1da0c3; color: white; }

/* ── GENRE FILTER ── */
.genre-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}
.genre-pill {
    padding: 6px 16px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    background: var(--card-bg);
    color: var(--mid);
    text-decoration: none;
}
.genre-pill:hover, .genre-pill.active { background: var(--accent); border-color: var(--accent); color: white; }

/* ── BAND PROFILE ── */
.band-profile { max-width: 960px; margin: 0 auto; padding: 40px 24px; }
.band-profile-header { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 48px; align-items: start; }
.band-profile-gallery { display: grid; grid-template-columns: 1fr; gap: 8px; }
.band-profile-gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.band-profile-gallery .thumb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.band-profile-gallery .thumb-row img { aspect-ratio: 1; }
.band-profile-info h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.0;
    margin-bottom: 8px;
}
.band-meta { color: var(--muted); margin-bottom: 20px; font-size: 0.9rem; }
.band-meta span { margin-right: 16px; }
.band-description { color: var(--mid); line-height: 1.7; margin-bottom: 28px; white-space: pre-wrap; }
.band-platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
    color: white;
}
.platform-link:hover { opacity: 0.85; color: white; }
.platform-link.spotify { background: #1DB954; }
.platform-link.youtube { background: #FF0000; }
.platform-link.soundcloud { background: #FF5500; }
.platform-link.bandcamp { background: #1da0c3; }
.platform-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.platform-link.facebook { background: #1877F2; }
.platform-link.website { background: var(--mid); }

.contact-box {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.contact-box h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 12px; }
.contact-box a { color: var(--accent); }

/* ── FORMS ── */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 24px;
}
.form-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}
.form-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 6px;
}
.form-subtitle { color: var(--muted); margin-bottom: 32px; font-size: 0.95rem; }
.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 6px;
    color: var(--mid);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.form-group label .required { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--black);
    background: var(--white);
    transition: border-color 0.15s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group .hint { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.form-section-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 32px 0 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
    letter-spacing: 0.04em;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-actions { display: flex; gap: 12px; margin-top: 32px; }

/* ── IMAGE UPLOAD ── */
.image-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: var(--cream);
}
.image-upload-area:hover, .image-upload-area.dragover { border-color: var(--accent); background: #fff5f5; }
.image-upload-area input[type="file"] { display: none; }
.upload-icon { font-size: 2.5rem; margin-bottom: 12px; }
.upload-text { font-size: 0.9rem; color: var(--muted); }
.upload-text strong { color: var(--accent); cursor: pointer; }
.image-previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.image-preview-item { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.image-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── ALERTS ── */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    border-left: 4px solid;
}
.alert-success { background: #f0fdf4; border-color: #16a34a; color: #15803d; }
.alert-error   { background: #fef2f2; border-color: var(--accent); color: #b91c1c; }
.alert-info    { background: #eff6ff; border-color: #3b82f6; color: #1d4ed8; }
.alert-warning { background: #fffbeb; border-color: var(--accent2); color: #92400e; }

/* ── DASHBOARD ── */
.dashboard { max-width: 960px; margin: 0 auto; padding: 40px 24px; }
.dashboard-header { margin-bottom: 40px; }
.dashboard h1 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 8px; }
.dashboard-bands { display: flex; flex-direction: column; gap: 16px; }
.dashboard-band-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.dashboard-band-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius);
    object-fit: cover;
    background: var(--mid);
    flex-shrink: 0;
}
.dashboard-band-info { flex: 1; }
.dashboard-band-info h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 4px; }
.status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.status-pending  { background: #fef3c7; color: #92400e; }
.status-approved { background: #d1fae5; color: #065f46; }
.status-rejected { background: #fee2e2; color: #991b1b; }
.dashboard-band-actions { display: flex; gap: 8px; }

/* ── FOOTER ── */
.site-footer {
    background: var(--black);
    color: var(--white);
    margin-top: auto;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 40px;
    flex-wrap: wrap;
}
.footer-brand p { color: #666; font-size: 0.875rem; margin-top: 8px; max-width: 240px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #999; font-size: 0.875rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid #1e1e1e;
    padding: 16px 24px;
    text-align: center;
    color: #555;
    font-size: 0.8rem;
}

/* ── PAGINATION ── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s;
    background: var(--card-bg);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: white; }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }

/* ── STATS BAR ── */
.stats-bar {
    background: var(--black);
    border-top: 1px solid #1e1e1e;
    padding: 16px 24px;
    display: flex;
    justify-content: center;
    gap: 60px;
}
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 1.8rem; color: var(--accent); }
.stat-label { font-size: 0.75rem; color: #666; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── ADMIN ── */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 64px); }
.admin-sidebar { background: var(--black); padding: 32px 16px; }
.admin-sidebar a {
    display: block;
    color: #999;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 4px;
    transition: all 0.15s;
}
.admin-sidebar a:hover, .admin-sidebar a.active { background: #1e1e1e; color: var(--white); }
.admin-sidebar a.active { border-left: 3px solid var(--accent); }
.admin-content { padding: 40px; background: var(--cream); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--card-bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.admin-table th { background: var(--black); color: var(--white); padding: 12px 16px; text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--cream); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .nav-toggle { display: block; }
    .band-profile-header { grid-template-columns: 1fr; }
    .form-card { padding: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .stats-bar { gap: 32px; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .dashboard-band-card { flex-wrap: wrap; }
    .footer-inner { flex-direction: column; gap: 24px; }
    .search-bar { flex-wrap: wrap; }
    .search-bar select { border-left: none; border-top: 1px solid var(--border); width: 100%; }
}

@media (max-width: 480px) {
    .hero { padding: 48px 24px 40px; }
    .band-grid { grid-template-columns: 1fr; }
    .image-previews { grid-template-columns: repeat(2, 1fr); }
}
