/*
Arquivo: wp-content/themes/cancao-verdadeira/assets/css/main.css

Resumo:
Versão final com correções de UX:
- Logo sidebar ampliada e legível
- Botões com contraste correto (sem azul ilegível)
- Preparação para uso de ícones personalizados da marca
- Ajuste fino de tipografia e hierarquia visual
*/

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

body {
    background: #0d0d0d;
    color: #fff;
    font-family: Arial, sans-serif;
}

/* =========================
   LAYOUT
========================= */
.layout {
    display: flex;
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
    width: 240px; /* ligeiramente maior */
    background: #000;
    position: fixed;
    height: 100%;
    padding: 20px;
}

/* LOGO (OPÇÃO 1 - AMPLIADA) */
.sidebar-logo {
    text-align: center;
    margin-bottom: 25px;
}

.sidebar-logo img {
    max-width: 200px; /* AUMENTADA */
    width: 100%;
}

/* MENU */
.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 14px;
}

/* LINK LIMPO (SEM AZUL) */
.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 8px;
    border-radius: 6px;
    transition: 0.2s;
}

.sidebar-menu a:hover {
    background: #181818;
    color: #fff;
}

/* ÍCONES (PREPARADO PARA IMAGEM) */
.sidebar-menu img {
    width: 20px;
    height: 20px;
}

/* =========================
   MAIN
========================= */
.main-content {
    margin-left: 240px;
    padding: 20px;
}

/* =========================
   HERO AJUSTADO
========================= */
.hero {
    position: relative;
    height: 250px;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    filter: blur(18px) brightness(0.4);
}

.hero-content {
    position: relative;
    padding: 25px;
}

.hero-title {
    font-size: 22px;
    margin-bottom: 6px;
}

.hero-artist {
    font-size: 13px;
    color: #ccc;
}

/* BOTÃO (CORRIGIDO CONTRASTE) */
.btn-play {
    margin-top: 12px;
    padding: 8px 14px;
    font-size: 13px;
    background: #d4af37;
    color: #000; /* CONTRASTE FIXADO */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

/* =========================
   SEÇÕES
========================= */
.section {
    margin-bottom: 35px;
}

.section-header h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

/* =========================
   GRID
========================= */
.grid-musicas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

/* =========================
   CARD
========================= */
.card-musica {
    background: #181818;
    padding: 15px;
    border-radius: 10px;
    transition: 0.3s;
}

.card-musica:hover {
    background: #282828;
}

/* =========================
   CATEGORIAS
========================= */
.categorias {
    display: flex;
    gap: 12px;
}

.cat {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: #000; /* TEXTO LEGÍVEL */
    font-weight: bold;
}

.sertanejo { background: goldenrod; }
.gospel { background: #2ecc71; }
.romantico { background: #e74c3c; }

/* =========================
   PLAYER
========================= */
.player-fixed {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #181818;
    padding: 10px;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 768px) {

    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }

    .hero-title {
        font-size: 18px;
    }
}