
/*
Theme Name: Naga Dance School Website Theme
Author: David Bachmann
Version: 1.0
*/

/* =========================
 BASE & LAYOUT
========================= */
:root {
  --container-width: 1200px; /* gewünschte Inhaltsbreite auf Desktop */
  --container-padding: 24px; /* Innenabstand links/rechts für boxed Bereiche */
  --header-height: 80px;     /* feste Höhe deines fixen Headers */
  --footer-height: 60px;     /* feste Höhe deines fixen Footers */
}

/* Zentrierter Inhaltsbereich */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Reset & Baselines */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222;
  /* FIX: Kein zusätzlicher Weißraum über Hero */
  padding-top: var(--header-height);
  padding-bottom: calc(var(--footer-height) + 20px);
}

/* Admin-Bar Korrekturen */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body {
    padding-top: var(--header-height);
    padding-bottom: calc(var(--footer-height) + 30px);
  }
}

/* Bilder inline sauber darstellen */
img { display: block; max-width: 100%; height: auto; }


/* =========================
 HEADER
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  height: var(--header-height);
}

.header-row {
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.logo-container img {
  max-height: calc(var(--header-height) * 0.8);
  width: auto;
}

.main-navigation {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.primary-menu li a {
  text-transform: uppercase;
  text-decoration: none;
  color: #333;
  padding: 8px 12px;
}

.primary-menu li a:hover,
.primary-menu li.current-menu-item a {
  color: #C2185B;
}

.mobile-menu-toggle {
  display: none;
  font-size: 32px;
  background: none;
  border: 0;
  cursor: pointer;
}


/* =========================
 HERO
========================= */
.hero { width: 100%; }
.hero__media {
  background-size: cover;
  background-position: center;
  min-height: 380px;
}
@media (max-width: 1024px) { .hero__media { min-height: 320px; } }
@media (max-width: 768px)  { .hero__media { min-height: 240px; } }
@media (max-width: 480px)  { .hero__media { min-height: 200px; } }


/* =========================
 FOOTER
========================= */
.site-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #4a4a4a;
  color: #fff;
  border-top: 1px solid #333;
  height: var(--footer-height);
  display: flex;
  align-items: center;
}

.footer-menu {
  display: flex;
  gap: 16px;
  list-style: none;
}


/* =========================
 MOBILE NAVIGATION
========================= */
@media (max-width: 782px) {
  .header-row { justify-content: space-between; }
  .mobile-menu-toggle { display: inline-block; }
  .primary-menu { display: none; }
  body.is-open .primary-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
  }
  .primary-menu li a {
    padding: 12px 20px;
    border-top: 1px solid #eee;
  }
}


/* =========================
 TYPOGRAFIE: Überschriften
========================= */

h1 {
  text-transform: uppercase;
  font-size: 2.5rem;      /* ca. 40px */
  font-weight: 700;       /* fett */
  margin-bottom: 24px;
}

