/* =======================================================
   BASE.CSS – Globale Grundlagen für Yorks-Fotos Website 2.0
   ======================================================= */

/* ============================================= */
/* FONT-FACE: Sofortige Einbindung + Swap        */
/* ============================================= */
@font-face {
  font-family: 'Gonestone';
  src: url('../fonts/gonestone.ttf') format('truetype');
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Rionaldo';
  src: url('../fonts/rionaldo_angelo.ttf') format('truetype');
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}

/* Standard-Schriftzuweisung */
body {
  font-family: 'Gonestone', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

h1, h2, h3, .title {
  font-family: 'Rionaldo', 'Gonestone', serif;
}

/* ============================================= */
/* BASISLAYOUT                                   */
/* ============================================= */
html, body {
  margin: 0;
  padding: 0;
  color: #fff;
  background-color: #000;
  font-family: 'Gonestone', sans-serif;
  text-align: center;
  min-height: 100vh;
  overflow-x: hidden;
  animation: fadeBody 1.5s ease-in forwards;
}

/* ============================================= */
/* Animationen                                   */
/* ============================================= */
@keyframes fadeBody {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================= */
/* Z-Index-Ordnung                              */
/* ============================================= */
body, .main-header, .creative-menu, footer {
  position: relative;
  z-index: 1;
}

/* ============================================= */
/* Links                                         */
/* ============================================= */
a {
  color: #a0d0ff;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 10px #70b8ff, 0 0 25px #a0e0ff;
}

/* ============================================= */
/* Textausrichtung & Lesbarkeit                  */
/* ============================================= */
p, h1, h2, h3 {
  margin: 0;
  padding: 0.5em 0;
}

/* ============================================= */
/* Responsive Basis                              */
/* ============================================= */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
    line-height: 1.4;
  }
}
