/* =========================
   Reset & Base
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg: #0f0f0f;
    --bg-elevated: #15151f;
    --card: #181818;
    --border-subtle: #262626;
    --accent: #ff0050;
    --accent-soft: rgba(255, 0, 80, 0.15);
    --accent-strong: #e00045;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   Header
========================= */
header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    padding: 0.8rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-subtle);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0.75rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.logo span {
    color: #ffffff;
}

/* Meniu standard desktop */
nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
}

nav ul li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.2s, opacity 0.2s;
}
nav ul li a:hover {
    color: #ffffff;
    opacity: 0.9;
}

/* Buton meniu mobil */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1.2rem;
    padding: 4px 8px;
    cursor: pointer;
}

/* Contact button in header */
.contact-button {
    background: linear-gradient(90deg, #0f0f0f, var(--accent));
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 9px 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
}
.contact-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(255, 0, 80, 0.35);
}

/* =========================
   Buttons
========================= */
.btn {
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent), #ff8a00);
    color: white;
    box-shadow: 0 10px 35px rgba(255, 0, 80, 0.3);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(255, 0, 80, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* =========================
   Scroll to top button
========================= */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 16px;
    background: var(--accent);
    border-radius: 999px;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s ease;
    color: white;
    font-weight: bold;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 99;
}
.scroll-top.show {
    opacity: 1;
}

/* =========================
   Hero Section
========================= */
.hero {
    background: radial-gradient(circle at top left, rgba(255, 0, 80, 0.4), transparent 55%),
                radial-gradient(circle at bottom right, rgba(255, 138, 0, 0.26), transparent 55%),
                linear-gradient(rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.96)),
                url('/bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 4.5rem 1.5rem 3.5rem;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-content {
    max-width: 580px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--accent), #ff8a00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.85;
}

/* =========================
   Audio Player
========================= */
.audio-player {
    background-color: #101010;
    padding: 0.7rem 1.2rem;
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 64px;
    z-index: 90;
}

.player-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex: 1.3;
}

.track-image {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}
.track-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-title {
    font-weight: 600;
    font-size: 0.98rem;
}
.track-producer {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.control-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.control-btn:hover {
    background-color: #222;
}

.play-pause {
    background-color: var(--accent);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-pause:hover {
    background-color: var(--accent-strong);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex: 2;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background-color: #272727;
    border-radius: 999px;
    cursor: pointer;
    position: relative;
}
.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #ff8a00);
    border-radius: 999px;
    width: 0%;
    transition: width 0.1s;
}

.time {
    font-size: 0.75rem;
    color: var(--text-muted);
    min-width: 40px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 0.7;
    justify-content: flex-end;
}
.volume-icon {
    font-size: 0.9rem;
}
#volumeSlider {
    width: 90px;
    cursor: pointer;
}

/* =========================
   Beats Section
========================= */
.beats-section {
    padding: 3.5rem 1.5rem;
}
.beats-section > .section-header,
.beats-section > .beats-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.8rem;
    gap: 1.5rem;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
}
.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.section-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.filter-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.8rem;
}
.filter-btn.active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
}
.filter-btn:hover:not(.active) {
    border-color: var(--accent);
    color: var(--accent);
}

/* Search */
.search input {
    width: 260px;
    max-width: 100%;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(12, 12, 12, 0.85);
    color: var(--text-main);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.search input::placeholder {
    color: #555;
}
.search input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(255, 0, 80, 0.5);
    background: #050505;
}

/* Beats list (Beatstars-style rows) */
.beats-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.beat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01), rgba(0, 0, 0, 0.8));
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    padding: 0.7rem 0.9rem;
    display: flex;
    gap: 0.9rem;
    align-items: center;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
.beat-card:hover {
    background: radial-gradient(circle at top left, var(--accent-soft), transparent 60%),
                rgba(12, 12, 12, 0.98);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
    transform: translateY(-1px);
}

.beat-image {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background-color: #222;
}
.beat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Play button on cover */
.play-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s, transform 0.15s;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 0.9rem;
}
.beat-card:hover .play-btn {
    opacity: 1;
}
.play-btn:hover {
    transform: scale(1.03);
}

/* Beat info layout */
.beat-info {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr) auto;
    align-items: center;
    gap: 0.4rem 1.2rem;
    flex: 1;
}

.beat-title {
    font-size: 1rem;
    font-weight: 600;
}
.beat-producer {
    color: var(--text-muted);
    font-size: 0.81rem;
}

.beat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.2rem;
}
.tag {
    background-color: #222;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Price + Buy */
.beat-price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
}
.price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
}

.cart-btn {
    background: rgba(255, 255, 255, 0.04);
    color: white;
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s, transform 0.1s, box-shadow 0.2s;
}
.cart-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(255, 0, 80, 0.4);
}

/* =========================
   Pricing Section
========================= */
.pricing-section {
    padding: 2.5rem 1.5rem 3.5rem;
    border-top: 1px solid var(--border-subtle);
}
.pricing-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.pricing-inner h2 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}
.pricing-inner p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================
   Footer
========================= */
footer {
    background-color: #000000;
    padding: 3rem 1.5rem 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
    gap: 2.5rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-column p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 0.7rem;
}
.footer-column ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-column ul li a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    color: #666;
    font-size: 0.85rem;
}

/* =========================
   Contact Modal
========================= */
.contact-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.contact-modal.show { display: flex; }

.contact-modal-content {
  background: #181b27;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  color: #fff;
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,.4);
}
.contact-modal-content h2 {
    margin: 0 0 18px;
    text-align: center;
}

.contact-modal-content label {
    display:block;
    margin-top:10px;
    font-weight:600;
    font-size: 0.85rem;
}
.contact-modal-content input,
.contact-modal-content textarea {
  width:100%;
  margin-top:6px;
  padding:10px;
  border-radius:8px;
  border:none;
  background:#0f121a;
  color:#fff;
  font-size: 0.9rem;
}
.checkbox-group {
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
}

#contactSubmit {
  width:100%;
  margin-top:18px;
  padding:12px;
  background: linear-gradient(90deg, #0f0f0f, var(--accent));
  color:#fff;
  border:none;
  border-radius:8px;
  font-weight:600;
  cursor:pointer;
  transition:.2s;
}
#contactSubmit:hover { opacity:.85; }

.close-btn {
  position:absolute;
  top:12px;
  right:14px;
  font-size:24px;
  color:#aaa;
  background:none;
  border:none;
  cursor:pointer;
}
.close-btn:hover { color:#fff; }

.form-status.success { color:#5eea9b; }
.form-status.error   { color:#ff6b6b; }

/* =========================
   Responsive
========================= */

/* Sub 900px: rearanjare player + beat info */
@media (max-width: 900px) {
    .player-container {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-tools {
        width: 100%;
        align-items: flex-start;
    }
    .search {
        width: 100%;
    }
    .search input {
        width: 100%;
    }
    .beat-info {
        grid-template-columns: minmax(0, 2fr) auto;
        row-gap: 0.4rem;
    }
}

/* Sub 768px: versiune mobil */
@media (max-width: 768px) {
    header {
        padding: 0.6rem 1rem;
    }

    .header-container {
        flex-wrap: wrap;
        align-items: center;
    }

    /* hamburger vizibil */
    .menu-toggle {
        display: block;
    }

    nav {
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-subtle);
        display: none;           /* ascuns by default pe mobil */
    }

    nav ul.open {
        display: flex;           /* afișat când apăsăm butonul */
    }

    .contact-button {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 3.5rem 1.2rem 3rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-meta {
        flex-direction: column;
    }

    .audio-player {
        top: 56px;
        padding: 0.6rem 0.9rem;
    }

    .player-container {
        flex-direction: column;
        align-items: stretch;
    }

    .track-info {
        width: 100%;
    }

    .progress-container {
        width: 100%;
    }

    .volume-control {
        width: 100%;
        justify-content: flex-start;
    }

    .beats-section {
        padding: 2.8rem 1.2rem;
    }

    .beat-card {
        align-items: flex-start;
    }

    .beat-image {
        width: 64px;
        height: 64px;
    }

    .beat-info {
        grid-template-columns: minmax(0, 1.7fr);
    }

    .beat-price {
        justify-content: flex-start;
    }

    footer {
        padding: 2.5rem 1.2rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
}

/* Sub 480px: ajustări extra */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .audio-player {
        position: relative; /* pe telefoare foarte mici poate fi mai safe non-sticky */
        top: 0;
    }
}



/* © 2025 NeruoBeatz - Design custom. Reproducerea este interzisă fără acord. */
