/*
Theme Name: Dudes Acoustic Trio
Theme URI: https://dudes-band.de
Author: Dudes Band
Author URI: https://dudes-band.de
Description: Elegantes Einseiten-Theme für die Akustik-Band Dudes. Mit Sektionen für Über uns, Galerie und Booking.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dudes-theme
Tags: one-page, music, band, dark, custom-colors
*/

/* ─── ROOT VARIABLES ─── */
:root {
  --cream: #f5f0e8;
  --warm: #e8dcc8;
  --brown: #6b4f3a;
  --dark: #1a1410;
  --charcoal: #2d2520;
  --gold: #c9a84c;
  --text: #3a2e26;
  --muted: #8a7a6e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 4rem;
  background: transparent;
  transition: background .4s;
}
nav#site-nav.scrolled { background: rgba(26,20,16,.92); backdrop-filter: blur(8px); }
nav#site-nav.scrolled .nav-logo { color: var(--cream); }
nav#site-nav.scrolled .nav-links a { color: var(--cream); }
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; letter-spacing: .12em;
  color: var(--cream); text-decoration: none;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--cream); text-decoration: none;
  font-size: .85rem; letter-spacing: .14em;
  text-transform: uppercase; opacity: .85; transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }

/* ─── HERO ─── */
#hero {
  height: 100vh;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 0 4rem 6rem;
  position: relative;
  background: var(--dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, #3b2a1a 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, #2a1e14 0%, transparent 50%),
    var(--dark);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-lines { position: absolute; inset: 0; pointer-events: none; }
.hero-lines::before {
  content: '';
  position: absolute; top: 15%; right: 8%;
  width: 1px; height: 55%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: .25;
}
.hero-lines::after {
  content: '';
  position: absolute; bottom: 20%; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 40%, transparent);
  opacity: .12;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-label {
  font-size: .75rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
  opacity: 0; animation: fadeUp .8s .2s forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: .9; color: var(--cream); letter-spacing: -.02em;
  opacity: 0; animation: fadeUp .9s .4s forwards;
}
.hero-sub {
  margin-top: 1.8rem; font-size: 1rem;
  color: var(--muted); letter-spacing: .06em; font-style: italic;
  opacity: 0; animation: fadeUp .8s .6s forwards;
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; right: 4rem;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  opacity: 0; animation: fadeUp .8s 1s forwards;
}
.hero-scroll span { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollDrop 1.6s 1.2s ease-in-out infinite;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ─── SECTIONS COMMON ─── */
section { padding: 7rem 4rem; }
.section-label {
  font-size: .72rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1; color: var(--charcoal); margin-bottom: 2.5rem;
}

/* ─── ABOUT ─── */
#about {
  background: var(--dark); color: var(--cream);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
#about .section-title { color: var(--cream); }
.about-text p { font-size: 1.05rem; line-height: 1.85; color: #c0b09a; margin-bottom: 1.2rem; }
.about-instruments { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 2rem; }
.instrument-tag {
  padding: .4rem 1rem;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 2px; font-size: .75rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--gold);
}
.about-visual { position: relative; height: 500px; }
.about-card {
  position: absolute; background: var(--charcoal);
  border: 1px solid rgba(201,168,76,.15); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.about-card-main { inset: 0 0 60px 0; overflow: hidden; }
.about-card-main svg { opacity: .12; }
.member-list { position: absolute; bottom: 0; left: 0; right: 0; height: 52px; display: flex; }
.member-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,.1); gap: .2rem;
}
.member-name { font-family: 'Playfair Display', serif; font-size: .9rem; color: var(--cream); }
.member-role { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

/* ─── GALLERY ─── */
#gallery { background: var(--warm); }
#gallery .section-title { color: var(--charcoal); }
.gallery-intro { max-width: 520px; font-size: 1rem; line-height: 1.8; color: var(--muted); margin-bottom: 3.5rem; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 200px; gap: 1rem;
}
.gallery-item { border-radius: 3px; overflow: hidden; position: relative; background: var(--charcoal); cursor: pointer; }
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item .gallery-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
}
.gallery-placeholder svg { opacity: .15; }
.gallery-placeholder span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: .5; }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(26,20,16,.6);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); border-bottom: 1px solid var(--gold); padding-bottom: .2rem; }
.gallery-item:nth-child(1) { background: #2a1e14; }
.gallery-item:nth-child(2) { background: #1e1a16; }
.gallery-item:nth-child(3) { background: #251c15; }
.gallery-item:nth-child(4) { background: #302418; }
.gallery-item:nth-child(5) { background: #1a1510; }

/* ─── CONTACT ─── */
#contact {
  background: var(--charcoal); color: var(--cream);
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 6rem; align-items: start;
}
#contact .section-title { color: var(--cream); }
.contact-text { font-size: 1rem; line-height: 1.85; color: #a09080; margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(201,168,76,.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold);
}
.contact-info-label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.contact-info-value { font-size: .95rem; color: var(--cream); }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); border-radius: 3px;
  padding: .9rem 1.1rem; color: var(--cream);
  font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 300;
  outline: none; transition: border-color .2s; appearance: none; width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: rgba(201,168,76,.5); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--charcoal); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  padding: 1rem 2.5rem; background: transparent;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: 'DM Sans', sans-serif; font-size: .8rem;
  letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; border-radius: 2px; transition: all .25s; align-self: flex-start;
}
.btn-submit:hover { background: var(--gold); color: var(--dark); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--dark); padding: 2.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(201,168,76,.1);
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--cream); letter-spacing: .1em; }
.footer-copy { font-size: .75rem; color: var(--muted); letter-spacing: .06em; }
.footer-socials { display: flex; gap: 1.2rem; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: .75rem; transition: all .2s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── WORDPRESS ADMIN BAR FIX ─── */
.admin-bar nav#site-nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar nav#site-nav { top: 46px; } }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav#site-nav { padding: 1.2rem 2rem; }
  nav#site-nav .nav-links { display: none; }
  section { padding: 5rem 2rem; }
  #hero { padding: 0 2rem 5rem; }
  #about { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { height: 280px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-row: auto; }
  #contact { grid-template-columns: 1fr; gap: 3rem; }
  .site-footer { flex-direction: column; gap: 1.2rem; text-align: center; }
}
