/*
Theme Name: Audivent
Theme URI: https://example.com
Author: Jan Schulz-Nigmann
Description: Audivent Portfolio Theme
Version: 1.2
*/

:root {
  --bg-dark: #0b0b0e;
  --bg-light: #111218;
  --primary: #6c63ff;
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --glass: rgba(255,255,255,0.06);
}

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

ul {
  margin: 0;
  padding: 0;
}

ul > li > ul {
  margin-left: 20px;   /* restore indent for nested lists */
  padding-left: 20px;
}

body {
  font-family: "Roboto Condensed", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #14162b, #06060a);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Background EQ */
.eq-bg {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.eq-bar {
  width: 100%;
  max-width: 24px;
  background: var(--primary);
  border-radius: 4px 4px 0 0;
  animation: eq 1.2s infinite ease-in-out;
}

@keyframes eq {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* Layout */
.site-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1600px;
  margin: auto;
  padding: 0 2rem;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  width: 100%;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: lowercase;
}

.logo a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: lowercase;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  text-transform: lowercase;
}

.nav a:hover {
  color: #ffffff;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  padding: 6rem 0;
  align-items: start;
}

.hero h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: lowercase;
}

.hero h2 span {
  background: linear-gradient(90deg, #fff, #999);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 480px;
  color: var(--text-muted);
  margin-top: 2rem;
  font-size: 1.1rem;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 2.5rem;
}

.btn:hover {
  transform: scale(1.05);
}

/* About Card */
.about-card {
  background: var(--glass);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.about-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  filter: grayscale(1);
  transition: filter 0.6s ease; 
}

.about-card:hover img {
  filter: grayscale(0);
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
}

.footer-inner {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-inner a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-inner a:hover {
  color: #fff;
}


/* ================================
   PAGE LAYOUT
================================ */

.page-layout {
  padding: 4rem 0;
}

.page-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 4rem;
}

@media (max-width: 1024px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
}

/* Page Header */
.page-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 2rem;
  margin-bottom: 3rem;
}

.page-meta {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-intro {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
}

/* Featured Image */
.page-featured img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 3rem 0;
}

/* Content */
.page-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

.page-body h2,
.page-body h3 {
  color: #fff;
  margin: 3rem 0 1rem;
}

.page-body p {
  margin-bottom: 1.5rem;
}

/* Page body links */
.page-body a,
.page-body a:visited {
  color: #c7c7c7; /* light grey */
  text-decoration: underline;
  transition: color 0.2s ease;
}

.page-body a:hover,
.page-body a:focus {
  color: #ffffff; /* brighter on hover */
}

.page-body a:active {
  color: #e5e5e5;
}


/* Sidebar */
.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Widgets */
.widget {
  background: var(--glass);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.widget-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #fff;
  border-left: 4px solid var(--primary);
  padding-left: 0.75rem;
}

/* Author Widget */
.widget-author {
  text-align: center;
}

.author-avatar img {
  border-radius: 999px;
  border: 2px solid var(--primary);
  padding: 4px;
  margin-bottom: 1rem;
}

.author-name {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.author-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Widget Lists */
.widget ul {
  list-style: none;
  padding: 0;
}

.widget li {
  margin-bottom: 0.75rem;
}

.widget a {
  color: var(--text-muted);
  text-decoration: none;
}

.widget a:hover {
  color: var(--primary);
}

/* ================================
   WIDE PAGE LAYOUT
================================ */

.wide-layout {
  padding: 5rem 0;
}

.wide-content {
  max-width: 1200px;
  min-width: 950px;
  margin: 0 auto;
}

/* Optional: truly edge-to-edge content */
.wide-layout.full-bleed .wide-content {
  max-width: 100%;
}

/* Better reading width for text-heavy pages */
.page-body {
  max-width: 900px;
  margin: 0 auto;
}

/* ================================
   BURGER BUTTON
================================ */

.menu-toggle {
  display: none;
  width: 32px;
  height: 22px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.menu-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

body.menu-open {
  overflow: hidden;
}


/* ================================
   MOBILE 
================================ */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Tablet & down */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .header-inner{
    margin: 0 2rem;
  }

  .site-header.menu-open {
    background: rgba(0,0,0,0.6);
  }

  .nav {
    position: absolute;
    top: 100%; /* now aligns perfectly */
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    display: none;
  }

  .nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav a {
    font-size: 1rem;
  }

  /* Active state (JS will toggle this later) */
  .nav.is-open {
    display: block;
    width: 100%;
    padding: 2rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero aside {
    margin-top: 2rem;
  }

  .wide-layout {
    padding: 0 1rem;
  }

  .footer-inner {
    padding: 2rem 1rem;
  }
	
	 .wide-content {
    min-width: auto;
  }
}
