/*
Theme Name: DJ Wax
Theme URI: https://djwax.be
Author: DJ Wax
Author URI: https://djwax.be
Description: Dark atmospheric theme for DJ Wax. Sticky header, Mixes page with SoundCloud RSS, secure contact form, and full social integration.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: djwax
Tags: dark, music, dj, one-column, custom-menu, sticky-header
*/

/* ============================================
   DJ WAX THEME - Dark Atmospheric Design
   ============================================ */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --accent: #D8BD52;
  --accent-glow: rgba(216, 189, 82, 0.4);
  --text-primary: #f1f1f5;
  --text-secondary: #a1a1aa;
  --border: rgba(255, 255, 255, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 140px; /* space for fixed footer */
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #E8D07A; }

img { max-width: 100%; height: auto; display: block; }

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 80px;
  width: auto;
  max-height: none;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
  color: white;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  background: radial-gradient(ellipse at center, rgba(216, 189, 82, 0.15) 0%, transparent 70%),
              linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
  position: relative;
}

.hero-content h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 0.95;
  margin-bottom: 16px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #D8BD52, #E8D07A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Page background support */
.page-with-bg,
.hero {
  background-color: var(--bg-primary);
  background-repeat: no-repeat;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-text p {
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(216, 189, 82, 0.1);
}

/* ========== SECTIONS ========== */
.section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 48px;
  font-size: 1.1rem;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== MIXES ========== */
.mixes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.mix-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}

.mix-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.mix-card .content {
  padding: 20px;
}

.mix-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.mix-card .date {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.mix-card audio {
  width: 100%;
  margin-top: 12px;
  height: 36px;
}

/* ========== CONTACT FORM ========== */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.honeypot { position: absolute; left: -9999px; }

.form-success,
.form-error {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.form-success { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.form-error { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 20px 24px 16px;
  position: fixed !important;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.social-links a:hover {
  color: white;
  border-color: var(--accent);
  background: rgba(216, 189, 82, 0.15);
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.active { display: flex; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 3.2rem; }
}

/* Subtle fade-in */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
