/* 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 0 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);   
  padding: 10px 20px;            
  border: none;                  
  display: inline-block;
}

nav ul {
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

/* 💻 FIXED SELECTOR: Only styles your horizontal cat links! */
nav ul li a {
  color: white;
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-block; 
  line-height: 1.4;
}

/* 💻 FIXED SELECTOR */
nav ul li a.active {
  color: #ffd27f;
}

/* 💻 FIXED SELECTOR */
nav ul li a:hover {
  font-weight: bold;
  transform: scale(1.1);
  color: #ffd27f; 
}

/* ==========================================
   🧩 SIDEBAR SPACE ADJUSTMENT 
   ========================================== */
header, .hero, main, footer {
  margin-left: 240px !important; /* Pulls the entire page layout cleanly past your menu */
}

/* Keeps the page layout feeling perfectly natural on screens */
@media (max-width: 768px) {
  header, .hero, main, footer {
    margin-left: 0 !important;
  }
}

/* ==========================================
   🩹 RESTORE TEXT SPACING FROM GLOBAL COLLAPSE
   ========================================== */
/* Keep this for your local cat page boxes, but notice all the .side-menu hacks are completely gone! */
main, .hero, .content, .jersey, .fact-box, footer, p, h1, h2, h3 {
  line-height: 1.5 !important; 
}

/* Ensure the fact box behaves like a normal layout block and shifts past the menu */
.fact-box {
  display: block !important;
  margin-left: 240px !important; 
}

/* ==========================================
   💥 ELIMINATE HEADER GAP
   ========================================== */
/* Zeroes out the layout margins that are pushing the two bars apart */
.title-row, .title, .fact-box {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ==========================================
   💥 MAIN
   ========================================== */
/* Restores layout properties to the main wrapper block */
main {
  display: block !important; 
}

.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: -10px;
  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;
	z-index: 9000 !important;
}

@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;
}