/* ===================================== */
/*           GENERAL STYLING             */
/* ===================================== */
:root { --accent: #ffb800; --bg: #121212; --card: #1f1f1f; --muted: #cfcfcf; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: var(--bg);
  color: #fff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* ===================================== */
/*           HAMBURGER HEADER            */
/* ===================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.45);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  color: #fff;
}
.hamburger:focus { outline: 2px solid rgba(255,184,0,0.25); }
.hamburger-box { display:inline-block; width:24px; height:16px; position:relative; }
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  display:block; background: #fff; height:2px; border-radius:2px; position:absolute; left:0; right:0;
}
.hamburger-inner { top:50%; transform:translateY(-50%); }
.hamburger-inner::before { content:""; top:-7px; }
.hamburger-inner::after { content:""; top:7px; }

.logo { color: var(--accent); font-weight:800; font-size:1.05rem; margin-left:4px; }

/* main nav (desktop) */
.main-nav { display:flex; gap:18px; align-items:center; margin-left:12px; }
.main-nav a { color:#fff; text-decoration:none; font-weight:700; padding:6px 8px; border-radius:6px; }
.main-nav a:hover { color:var(--accent); background: rgba(255,184,0,0.04); }

/* controls (search + currency) */
.nav-controls { margin-left:auto; display:flex; gap:10px; align-items:center; }
.search-wrap {
  display:flex; align-items:center; gap:8px;
  background:#0f0f0f; padding:6px 10px; border-radius:999px;
}
.search-wrap .search-icon { color:#fff; opacity:0.8; flex:0 0 16px; }
.search-wrap input#beat-search {
  background:transparent; border:0; color:#fff; outline:none; width:220px; font-size:0.95rem;
}
#currency-select {
  background:#0f0f0f; color:#fff; border-radius:8px; padding:6px 8px; border:none; font-weight:700;
}

/* HERO */
.hero {
  height: 480px;
  padding-top: 120px;
  background: url("beats/images/hero.jpg") no-repeat center center / cover; /* FIXED */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 0;
}
.hero h1, .hero p { position: relative; z-index: 2; }
.hero h1 { font-size: 2rem; margin: 0 0 8px 0; color:#fff; }
.hero p { margin: 0; color:#ddd; }

/* BEATS GRID */
.beats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  margin-top: 30px;
}

/* BEAT CARD */
.beat-card {
  background: var(--card);
  border-radius: 15px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
  transition: transform .22s ease, box-shadow .22s ease;
  position: relative;
  overflow: hidden;
}
.beat-card:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,0.7); }
.beat-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; }

/* meta row */
.beat-meta { display:flex; justify-content:center; gap:12px; margin-top:8px; color:var(--muted); font-size:0.95em; }

/* buttons */
.buy-btn, .play-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background .18s ease, transform .12s ease;
  margin-top: 10px;
}
.buy-btn { background: var(--accent); color:#000; width:90%; display:block; margin-left:auto; margin-right:auto; }
.buy-btn:hover { background:#ffcd48; transform: translateY(-2px); }
.play-btn { background:#ff0055; color:#fff; width:60%; }
.play-btn:hover { background:#ff4f7a; transform: translateY(-2px); }

/* slider */
input[type=range] { width:90%; margin-top:10px; }

/* about/contact/footer */
.about { padding:50px 20px; text-align:center; background:#181818; }
.about h2 { color: var(--accent); margin-bottom:10px; }
.about p { font-size:1.1em; max-width:700px; margin:auto; line-height:1.7em; }
.contact { background:#101010; padding:60px 20px; text-align:center; }
.contact h2 { color: var(--accent); }
footer { text-align:center; padding:20px; background:#000; color:#bbb; }

/* waveform */
.waveform { width:100%; height:64px; background:#0b0b0b; border-radius:6px; margin:8px 0; position:relative; overflow:hidden; }
.waveform canvas { display:block; width:100%; height:100%; }
.waveform .playhead { position:absolute; top:0; bottom:0; width:2px; background:rgba(255,255,255,0.9); left:0; pointer-events:none; }

/* mobile menu */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.95), rgba(0,0,0,0.98));
  padding: 12px 20px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 995;
}
.mobile-menu a { color:#fff; text-decoration:none; font-weight:700; padding:10px 8px; border-radius:8px; }
.mobile-menu a:hover { background: rgba(255,184,0,0.04); color:var(--accent); }
.mobile-menu.open { display:flex; animation: slideDown .18s ease; }
@keyframes slideDown { from { transform: translateY(-6px); opacity:0 } to { transform: translateY(0); opacity:1 } }

/* responsive */
@media (max-width: 920px) {
  .main-nav { display:none; }
  .search-wrap input#beat-search { width:140px; }
}
@media (max-width: 520px) {
  .search-wrap input#beat-search { width:110px; font-size:0.9rem; }
  .nav-controls { gap:8px; }
  .hero { height:300px; padding-top:70px; }
}
