/* GLOBAL */
.window {
  border: 2px solid white;
}

body {
  margin: 0;
  min-height: 100vh;

  background-image: url("background-image.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  font-family: 'Inter', sans-serif;
}



/* Header */
header {
  background: transparent;
  color: white;
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* Left side: title + nav */
.header-left {
  display: flex;
  flex-direction: column; /* keep this — nav should stay below title */
  align-items: center;
  gap: 0px;
}


.verse-title {
  width: 400px;   /* increase or decrease this number */
  height: auto;  /* keeps proportions correct */
  vertical-align: middle;
  margin: 0;
  padding: 0;
  margin-right: 0px; /* space between image and text */
  display: block;
  margin-bottom: -10px; /* pull the cat down slightly */
}

.title-row {
  width: 100%;
  background: rgba(0,0,0,0.7);
  padding: 20px 0 -5px 0; /* top | right | bottom | left */
  display: flex;
  line-height: 0;      /* kills any leftover inline spacing */
  justify-content: center; /* keeps title centered */
}

.title-row .title {
  display: flex;
  flex-direction: row;   /* stack cat title + logo vertically */
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.title-row a {
  text-decoration: none;
}

.title {
  position: relative;   /* logo will anchor to THIS */
  display: inline-block;
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* edit the position of the logo here */
.logo {
  position: absolute;
  top: 5px;     /* move UP (negative = up, positive = down) */
  right: -125px;    /* move LEFT (increase number = more left) */
  width: 75px;
  height: auto;
}


/* Navigation */
.nav-wrapper {
  background: rgba(0,0,0,0.7);   /* same as fact bar */
  padding: 10px 20px;            /* same padding */
  border: none;                  /* fact bar has no border */
  display: inline-block;
}

nav ul {
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 6px;
  display: block;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-block; /* allows scaling */
  line-height: 1.4;

}

nav a.active {
  color: #ffd27f;
#  background: rgba(255, 255, 255, 0.2); /* add this */
}

nav a:hover {
#  background: rgba(255, 255, 255, 0.2);
  font-weight: bold;
  transform: scale(1.1);
  color: #ffd27f; /* warm cat-like gold */
}


.hero {
  text-align: center;
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-out;
  position: relative;
  margin-top: 20px;
  border-radius: 20px;

}

.hero-title {
  font-family: 'Ephesis', sans-serif;
  font-size: 2.5rem;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}


.hero-cat {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 125px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* HOME CONTENT */
main {
  padding: 20px;
}

.content {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  padding: 20px;
  padding-right: 240px; /* space for the cat */
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  border-radius: 10px;
}

.home-cat {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 200px;
}
.jersey {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  padding: 20px;   /* normal padding */
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  border-radius: 10px;
}


/* BEHAVIOR CONTENT */
.behavior-content {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
}
/* COMMUNICATION CONTENT*/
.communication-content {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
}
/* TRUST CONTENT */
.trust-content {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
}
/* SIGNS CONTENT */
.signs-content {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
}
/* FACTS CONTENT */
.facts-content {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
}

/* JAVA FACTS */
.fact-box {
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 10px 0 5px 0; /* top | right | bottom | left */
  text-align: center;
  font-size: 1.1rem;
}


/* Day/Night Button */
.dark {
  filter: invert(1) hue-rotate(180deg);
}


/* Cat Wiggle */
.wiggle {
  animation: wiggle 0.4s ease-in-out;
}
@keyframes wiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}

/* Running Cat */
.running-cat {
  position: fixed;
  bottom: 20px;
  right: -200px;       /* start off-screen on the RIGHT */
  width: 150px;
  pointer-events: none;
  opacity: 0;
}

@keyframes run-across {
  0% {
    right: -200px;     /* start off-screen right */
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    right: 110%;       /* run all the way to the LEFT */
    opacity: 1;
  }
}

.run {
  animation: run-across 4s linear forwards;
}


/* Footer */
footer {
  text-align: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
}