/* ============================================================
   NA BRIGU DIDE BILAVERA - SHARED STYLES (v1.0)
   Geteilte Styles für index.html, kontakt.html, o-nama.html
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --color-bg: #0a0b0a;
  --color-card-bg: #181818;
  --color-card-bg-light: #1e1e1e;
  --color-border: #333330;
  --color-text: #efe7d2;
  --color-text-muted: rgba(245, 242, 234, 0.7);
  --color-accent: #dac5a7;
  --color-accent-bright: #d4af37;

  --font-heading: 'Forum', serif;
  --font-body: 'Inter', sans-serif;
  --font-script: 'Great Vibes', cursive;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ============================================================
   NAVIGATION (identisch zu o-nama.html)
   ============================================================ */
.nav-bar {
  position: fixed;
  top: 25px;
  left: 25px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0;
  background: #000;
  border-radius: 12px;
  padding: 8px 10px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 41px;
  height: 41px;
  padding: 14px 10.5px;
  border: 1px solid var(--color-border);
  background: var(--color-card-bg);
  border-radius: 8px;
  cursor: pointer;
  margin-right: 18px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: #efe6d2;
  transition: transform 0.3s;
}

.menu-toggle:hover span:nth-child(1) { transform: translateY(2px); }
.menu-toggle:hover span:nth-child(3) { transform: translateY(-2px); }

/* Hamburger → X Animation bei Hover */
.menu-toggle {
  position: relative;
}
.menu-toggle span {
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.menu-toggle:hover span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle:hover span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle:hover span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Sanftes Pulsieren um Aufmerksamkeit zu wecken */
@keyframes menuPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(218, 197, 167, 0); }
  50% { box-shadow: 0 0 0 4px rgba(218, 197, 167, 0.08); }
}
.menu-toggle {
  animation: menuPulse 3s ease-in-out infinite;
}
.menu-toggle:hover {
  animation: none;
}

/* ===== LOGO ===== */
.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 2px;
  padding-right: 8px;
  text-decoration: none;
}

.logo-name {
  font-family: var(--font-script);
  font-size: 26px;
  color: var(--color-accent-bright);
  font-weight: 400;
  line-height: 1;
}

.logo-sub {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

/* ===== NAV LINKS ===== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.3s;
}

.nav-link:hover { background: rgba(255,255,255,0.05); }
.nav-link.active { background: var(--color-card-bg); }

.whatsapp-btn {
  border: 1px solid rgba(239, 231, 210, 0.15);
  background: var(--color-card-bg-light);
  color: var(--color-accent);
  margin-left: 4px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: perspective(1200px) translateY(10px);
  animation: fadeIn 0.6s ease-out forwards;
}
.fade-in.delay-1 { animation-delay: 0.5s; }

@keyframes fadeIn {
  to { opacity: 1; transform: perspective(1200px) translateY(0); }
}

/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */
@media (min-width: 810px) and (max-width: 1199.98px) {
  .nav-bar {
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */
@media (max-width: 809.98px) {
  .nav-bar {
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    justify-content: space-between;
  }
  .nav-menu .nav-link:not(.whatsapp-btn) { display: none; }
  .logo-name { font-size: 22px; }
}
