/* =========================================================
   core.css
   The Flying Birds — shared site styles
   Safe shared layer: fonts, navigation, footer, utility bits.
   Page-specific layout/design belongs in Home.css, News.css, Music.css, etc.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&family=Inter:wght@400;500;600;700;800;900&display=swap');

@font-face {
  font-family: "NoelFont";
  src: url('/Fonts/NoelFont.otf') format('opentype'),
       url('../Fonts/NoelFont.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: "LyricFont";
  src: url('/Fonts/LyricFont.otf') format('opentype'),
       url('../Fonts/LyricFont.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: "OasisFont";
  src: url('/Fonts/Oasisfont.otf') format('opentype'),
       url('/Fonts/OasisFont.otf') format('opentype'),
       url('../Fonts/Oasisfont.otf') format('opentype'),
       url('../Fonts/OasisFont.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: "ReenieBeanie";
  src: url('/Fonts/ReenieBeanie.otf') format('opentype'),
       url('../Fonts/ReenieBeanie.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: "Rock&Roll";
  src: url('/Fonts/Rock&Roll.ttf') format('truetype'),
       url('../Fonts/Rock&Roll.ttf') format('truetype');
  font-display: swap;
}

:root {
  --fb-nav-bg: hsl(0, 1%, 25%);
  --fb-nav-bg-hover: hsl(0, 1%, 18%);
  --fb-gold: #c8a24a;
  --fb-gold-bright: #f0cf77;
  --fb-ink: #111;
  --fb-soft: #f6f3ee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background: #fff;
}

img,
svg,
video {
  max-width: 100%;
}

img {
  height: auto;
}

/* Global links should never paint random blue blocks.
   Page files can style their own links/buttons. */
a {
  color: inherit;
  text-decoration: none;
  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

a:hover,
a:focus {
  color: inherit;
  background-color: transparent;
  text-decoration: none;
}

/* =========================================================
   Navigation
   ========================================================= */

.navbar {
  background-color: var(--fb-nav-bg);
  color: #fff;
  position: relative;
  z-index: 1000;
  width: 100%;
  min-height: 58px;
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.navbar li {
  margin: 0;
  padding: 0;
}

.navbar ul .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--fb-nav-bg);
  padding: 0;
  margin: 0;
  list-style-type: none;
  text-align: center;
  z-index: 1000;
  width: 220px;
}

.navbar .nav-toggle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.navbar a {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: .85rem 1rem;
  font-family: "NoelFont", Inter, system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1;
  letter-spacing: .02em;
  color: #fff;
  text-decoration: none;
}

.navbar a.home {
  background-color: rgba(200, 162, 74, .22);
  color: #fff;
}

.navbar a:hover,
.navbar a:focus {
  background-color: var(--fb-nav-bg-hover);
  color: var(--fb-gold-bright);
  text-decoration: none;
}

.navbar .hamburger {
  display: none;
  position: absolute;
  top: .65rem;
  right: .75rem;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: .35rem;
}

.navbar .hamburger svg {
  stroke: currentColor;
}

.navbar .hamburger .icon-close {
  display: none;
}

/* =========================================================
   Shared buttons
   ========================================================= */

.btn {
  font-family: inherit;
  letter-spacing: normal;
}

.donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .7rem 1.1rem;
  background-color: #0070ba;
  color: #fff;
  font-family: "NoelFont", Inter, system-ui, sans-serif;
  font-size: 1.1rem;
  border-radius: 999px;
  margin-left: .5rem;
  text-align: center;
  transition: background-color .2s ease, transform .2s ease;
}

.donate-btn:hover,
.donate-btn:focus {
  background-color: #005c97;
  color: #fff;
  transform: translateY(-1px);
}

/* Do not style every Bootstrap .card globally.
   Individual page CSS controls card typography and spacing. */

/* =========================================================
   Footer
   ========================================================= */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background-color: var(--fb-nav-bg);
  padding: 20px;
  margin-top: auto;
  flex-wrap: wrap;
  color: #fff;
}

.footer-links {
  font-family: "OasisFont", Inter, system-ui, sans-serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 10px;
}

.footer-links a {
  margin-right: 15px;
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--fb-gold-bright);
  background-color: transparent;
  text-decoration: none;
}

.footer-social img {
  max-width: 40px;
  max-height: 40px;
  margin: 0 5px;
}

.footer img {
  max-width: 50px;
  max-height: 50px;
  margin: 0 10px;
}

.footer p,
#Copyright {
  font-family: "OasisFont", Inter, system-ui, sans-serif;
  font-size: 1rem;
  color: #ccc;
}

.footer p {
  margin: 0 10px 0 auto;
}

#Copyright {
  width: 100%;
  text-align: center;
  margin: 15px 0 0;
}

/* =========================================================
   Responsive nav / footer
   ========================================================= */

@media screen and (max-width: 768px) {
  .navbar {
    min-height: 56px;
  }

  .navbar .hamburger {
    display: block;
  }

  .navbar .nav-toggle {
    display: none;
    width: 100%;
  }

  .navbar.open ul,
  .navbar.open .nav-toggle {
    display: block;
  }

  .navbar.open a {
    display: flex;
    width: 100%;
    min-height: 46px;
    font-size: 1rem;
    justify-content: flex-start;
  }

  .navbar.open .hamburger .icon-open {
    display: none;
  }

  .navbar.open .hamburger .icon-close {
    display: block;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    text-align: center;
    margin-bottom: 10px;
  }

  .footer-social {
    margin-bottom: 10px;
  }

  .footer p {
    margin: 0;
  }

  #Copyright {
    margin-top: 10px;
  }
}
