/* --- MELHORIAS DE RESPONSIVIDADE --- */

@media (max-width: 1024px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 220px;
    transform: translateX(-100%);
    transition: transform 0.4s;
    z-index: 1000;
  }
  .sidebar.is-open {
    transform: translateX(0);
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
  }
  .main-wrapper {
    margin-left: 0;
  }
  .hamburger-menu, .close-menu {
    display: block;
  }
  .overlay {
    opacity: 0;
    pointer-events: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    transition: opacity 0.4s;
  }
  .overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .header { padding: 10px 8px; flex-direction: column; align-items: flex-start; }
  .main-content { padding: 10px; }
  .carousel-container { aspect-ratio: 4 / 3; }
  .carousel-slide {
    flex-direction: column-reverse;
    justify-content: flex-end;
    text-align: center;
    gap: 20px;
    padding: 10px;
  }
  .carousel-slide img, .carousel-text {
    width: 100%;
    position: relative;
  }
   .carousel-slide img {
    height: 50%;
    max-width: 95%;
  }
  .hero h1 { font-size: 2rem; }
  .hero h2 { font-size: 1rem; }
  .buttons button { padding: 10px 18px; width: 100%; margin: 6px 0; }
  .footer-content { flex-direction: column; gap: 18px; }
  .sidebar {
    width: 180px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 4px;
  }
  .header-nav a {
    font-size: 14px;
    padding: 6px 8px;
    margin-left: 8px;
  }
  .main-content {
    padding: 6px 2px;
  }
  .sidebar {
    width: 150px;
    padding: 6px;
  }
  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .highlight-card {
    padding: 12px;
    font-size: 0.95rem;
  }
  .footer {
    padding: 18px 0 10px 0;
  }
  .footer-content {
    gap: 10px;
  }
  .footer-links a {
    font-size: 12px;
    margin: 0 6px;
  }
  .social-icons a {
    font-size: 18px;
    margin: 0 6px;
  }
  .profile-menu img {
    width: 28px !important;
    height: 28px !important;
  }
}

@media (max-width: 350px) {
  .header-nav a, .footer-links a {
    font-size: 12px;
    padding: 4px 4px;
  }
  .profile-menu img {
    width: 20px !important;
    height: 20px !important;
  }
}
/*
 * Arquivo: css/style.css
 * Descrição: Folha de estilos principal do projeto.
 * Define variáveis globais de cores (CSS variables), estilos base para o corpo do site,
 * layout da sidebar, cabeçalho, rodapé, carrossel e regras de responsividade para o layout geral.
 */

/* --- GERAL E VARIÁVEIS --- */
:root {
  --bg-color: #1c1c1e;
  --text-color: #f0f0f0;
  --accent-color: #9775fa;
  --hover-color: #9775fa;
  --card-color: #2c2c2e;
  --sidebar-color: #2c2c2e;
  --shadow-color: rgba(0, 0, 0, 0.2);

  --rock-gradient: linear-gradient(to left, #d87f77, #e06969, #b10303);
  --pop-gradient: linear-gradient(to left, #FD00A7, #7749f9);
  --jazz-gradient: linear-gradient(to right, #f801cf, #410550, #ae3dc4);
  --hiphop-gradient: linear-gradient(to right, #000000, #F89401, #ffb546, #ff9900d2, #F89401, #F89401);
  --samba-gradient: linear-gradient(to left, #fab005, #4a997d);
}
   a{
      text-decoration: none;
      color: inherit;
    }
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #1e1c1e;
  background:  #1e1c1e url('https://static.vecteezy.com/system/resources/thumbnails/018/760/496/small/water-drop-texture-for-overlay-png.png');
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

}

.container {
  display: flex;
}

/* --- SIDEBAR (NAVEGAÇÃO) --- */
.sidebar {
  width: 250px;
  background-color: var(--sidebar-color);
  padding: 25px;
  position: fixed;
  height: 100%;
  overflow-y: auto;
  z-index: 1000;
  transition: background-color 0.4s ease, transform 0.4s ease-in-out;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
}

.logo span {
  color: var(--accent-color);
}

.close-menu {
  display: none; /* Escondido por padrão */
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
}

.menu {
  list-style: none;
}

.menu li {
  margin-bottom: 10px;
}

.menu a {
  color: var(--accent-color);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.menu a:hover, .menu a.active {
  background-color: var(--hover-color);
  color: #fff;
}

/* --- LAYOUT PRINCIPAL E HEADER --- */
.main-wrapper {
  margin-left: 250px; /* Espaço para a sidebar */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left 0.4s ease-in-out;
}


.header {
  background-color: var(--sidebar-color);
  padding: 12px 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 900;
  transition: background-color 0.4s ease;
  border-bottom: 1px solid var(--shadow-color);
  max-width: 100vw;
  box-sizing: border-box;
}

.main-wrapper {
  max-width: 100vw;
  overflow-x: hidden;
}

.hamburger-menu {
  display: none; /* Escondido por padrão */
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
  margin-right: auto;
}


.header-nav a {
  margin-left: 20px;
  color: var(--text-color);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  box-shadow: none;
}

.header-nav a[href*="detalhes-perfil"],
.header-nav a.meu-perfil {
  background: linear-gradient(90deg,#9775fa,#7b2ff2);
  color: #fff !important;
  box-shadow: 0 2px 12px #e5dbff;
  border-radius: 18px;
  font-weight: 700;
  padding: 6px 18px 6px 8px;
  letter-spacing: 0.5px;
  border: 2px solid #fff;
}
.header-nav a[href*="detalhes-perfil"]:hover,
.header-nav a.meu-perfil:hover {
  background: linear-gradient(90deg,#7b2ff2,#9775fa);
  color: #fff;
  box-shadow: 0 4px 24px #bbaaff;
  border: 2px solid #7b2ff2;
}







.header-nav a:hover {
    background-color: var(--hover-color);
  color: #fff;
}

/* --- CONTEÚDO PRINCIPAL --- */
.main-content {
  padding: 40px 16px;
  width: 100vw;
  flex-grow: 1;
}

/* --- CARROSSEL --- */
.banner-carousel {
  margin-bottom: 60px;
}

.carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6; /* Proporção para responsividade */
  border-radius: 20px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  padding: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 50%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.carousel-text {
  width: 45%;
}

.carousel-text h2 {
  font-size: 3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.carousel-text p {
  font-size: 1.1rem;
}

.carousel-slide.rock { background: var(--rock-gradient); }
.carousel-slide.pop { background: var(--pop-gradient); }
.carousel-slide.jazz { background: var(--jazz-gradient); }
.carousel-slide.hiphop { background: var(--hiphop-gradient); }
.carousel-slide.samba { background: var(--samba-gradient); }

.carousel-dots {
  text-align: center;
  margin-top: 20px;
}

.carousel-dots .dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #888;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: var(--accent-color);
}

/* --- OUTRAS SEÇÕES --- */
.hero {
  text-align: center;
  margin-bottom: 80px;
}

.hero h1 { font-size: 3rem; }
.hero h2 { font-size: 1.5rem; margin: 10px 0; font-weight: 400; }
.hero p { max-width: 700px; margin: 0 auto 30px; }

.buttons button {
  background: linear-gradient(to right, var(--accent-color), #5f3dc4);
  color: #fff;
  font-weight: bold;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  margin: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.buttons button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.highlights, .about, .favorites {
  margin: 80px 0;
}
.about, .favorites {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 700px;
}
h3 { font-size: 2rem; text-align: center; margin-bottom: 40px; }

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.highlight-card {
  background-color: var(--card-color);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px var(--shadow-color);
}

/* Card footer and details button */
.card { position: relative; display:flex; flex-direction:column; }
.card .card-content { flex: 1 1 auto; }
.card-footer { margin-top: 10px; display:flex; justify-content:center; }
.btn-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #9775fa 0%, #7b2ff2 100%);
  color: #fff;
  padding: 18px 36px; /* Aumentado */
  border-radius: 12px; /* Mais arredondado */
  text-decoration: none;
  font-weight: 800;
  font-size: 18px; /* Fonte maior */
  letter-spacing: 0.2px;
  box-shadow: 0 10px 28px rgba(123,47,242,0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-details:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(123,47,242,0.24); }

@media (max-width: 1024px) {
  .card-footer { width: 100%; }
  .btn-details { width: 100%; padding: 16px 20px; font-size: 17px; }
}

@media (max-width: 480px) {
  .card-footer { width: 100%; }
  .btn-details { width: 100%; padding: 14px 16px; font-size: 16px; }
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-color);
}

.highlight-card i {
  display: block;
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

/* --- FOOTER --- */
.footer {
  background-color: var(--sidebar-color);
  padding: 40px 0 20px 0;
  text-align: center;
  transition: background-color 0.4s ease;
  position: static;
  width: 100%;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 20px;
}

.footer-links a {
  color: var(--text-color);
  margin: 0 12px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover { text-decoration: underline; }
.social-icons a { color: var(--accent-color); margin: 0 10px; font-size: 22px; }
.footer-copy { font-size: 14px; margin-top: 20px; }

/* --- OVERLAY PARA MENU MOBILE --- */
.overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* --- BARRA DE FILTRO E PESQUISA --- */
.filter-bar {
  background-color: var(--card-color);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px var(--shadow-color);
  margin-bottom: 40px;
}

.filter-bar form {
    display: flex !important;
    flex-wrap: wrap; 
    gap: 10px 20px; /* Espaçamento vertical e horizontal */
    align-items: flex-end; 
}

.filter-group {
  flex: 1 1 180px; 
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--accent-color);
}

.filter-group input,
.filter-group select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--shadow-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
}

.filter-actions {
    flex-basis: 100%;
    display: flex;
    justify-content: flex-start; /* <<< A MUDANÇA FOI FEITA AQUI */
    gap: 10px;
}

.filter-bar button {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.filter-bar button:hover {
  background-color: var(--hover-color);
}

/* Regra para o botão de limpar filtro */
.filter-bar .btn-clear {
    background-color: #555;
}
.filter-bar .btn-clear:hover {
    background-color: #777;
}

/* --- MEDIA QUERIES (RESPONSIVIDADE) --- */
@media (max-width: 1024px) {
  /* Dentro de @media (max-width: 1024px) no arquivo style.css */

.sidebar {
  transform: translateX(-100%); /* Esconde a sidebar fora da tela */
  transition: transform 0.4s ease-in-out; /* Adiciona uma transição suave */
}

.sidebar.is-open {
  transform: translateX(0); /* Mostra a sidebar */
  box-shadow: 5px 0 15px rgba(0,0,0,0.2);
}

.main-wrapper {
  margin-left: 0;
}

.hamburger-menu, .close-menu {
  display: block;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
}

@media (max-width: 768px) {
  .header { padding: 10px 8px; }
  .main-content { padding: 10px; }
  .carousel-container { aspect-ratio: 4 / 3; }
  .carousel-slide {
    flex-direction: column-reverse;
    justify-content: flex-end;
    text-align: center;
    gap: 20px;
    padding: 10px;
  }
  .carousel-slide img, .carousel-text {
    width: 100%;
    position: relative;
  }
   .carousel-slide img {
    height: 50%;
    max-width: 95%;
  }
  .hero h1 { font-size: 2rem; }
  .hero h2 { font-size: 1rem; }
  .buttons button { padding: 10px 18px; width: 100%; margin: 6px 0; }
  .footer-content { flex-direction: column; gap: 18px; }
}
/* --- TELA DE CARREGAMENTO (LOADER) --- */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1c1c1e; /* Mesma cor de fundo do site */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.75s, visibility 0.75s;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #9775fa; /* Cor de destaque do site */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Classe para esconder o loader */
#loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}