/* =========================================
   GLOBAL STYLES (apply across the site)
   ========================================= */

/* ==== Import fonts ==== */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap');

/* ==== Topbar + Footer base ==== */
.mini-topbar,
.mini-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  color: #fff;
  background: #222;
  z-index: 1000;
}

/* ==== Logo + Page name ==== */
.mini-topbar .logo-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  margin-bottom: 0;
}

.mini-topbar .logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.mini-topbar .page-name {
  font-family: 'Dancing Script', cursive;
  font-size: 1.2rem;
  font-weight: 600;
}

/* ==== Nav links container ==== */
.mini-nav {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex: 1;
  flex-wrap: wrap;
}

/* ==== Nav links as pill buttons ==== */
.mini-nav a {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin: 0.2rem 0.3rem;
  border-radius: 999px;
  background: #b4b4b4;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.mini-nav a:hover {
  background: #4f4e4e;
  color: #fff;
}

/* ==== Center footer links on wide screens ==== */
.mini-footer .mini-nav {
  justify-content: center;
}

/* ==== Responsive adjustments for nav ==== */
@media (max-width: 768px) {
  .mini-topbar {
    flex-direction: column;
    align-items: center;
  }

  .mini-topbar .logo-title {
    justify-content: center;
    margin-bottom: 0.8rem;
    flex: 1 1 100%;
  }

  .mini-nav {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .mini-nav a {
    width: 80%;
    text-align: center;
  }

  /* Hide footer on small screens */
  .mini-footer {
    display: none !important;
  }
}

/* ==== Floating Go-to-Top Button ==== */
#goTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

#goTopBtn:hover {
  background: rgba(0,0,0,0.8);
}

#goTopBtn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ==== Hero banner base (shared structure) ==== */
.hero-banner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 38vh;
  padding: 3rem 1rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
  border-radius: 8px;
}

.hero-banner .hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-banner h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin: 0 0 0.6rem 0;
  font-weight: 800;
}

.hero-banner p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 600;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .hero-banner {
    min-height: 30vh;
    padding: 2rem 1rem;
  }
  .hero-banner h1 { font-size: 1.8rem; }
  .hero-banner p { font-size: 1rem; }
}

@media (min-width: 1200px) {
  .hero-banner {
    min-height: 46vh;
  }
  .hero-banner h1 { font-size: 2.6rem; }
  .hero-banner p { font-size: 1.2rem; }
}

/* =========================================
   Package-specific color themes
   ========================================= */

/* Sunpower (richer solar gradient) */
body.alias-sunpower-order .mini-topbar,
body.alias-sunpower-order .mini-footer,
body.alias-sunpower-order .hero-banner,
body.alias-sunpower-order .square {
  background: linear-gradient(135deg, #ff6a00, #ffb347, #fff176);
  color: #000;
}

/* Partypack */
body.alias-partypack-order .mini-topbar,
body.alias-partypack-order .mini-footer,
body.alias-partypack-order .hero-banner {
  background: linear-gradient(135deg, #ff5f6d, #ffc371);
  color: #fff;
}

/* Superpack */
body.alias-superpack-order .mini-topbar,
body.alias-superpack-order .mini-footer,
body.alias-superpack-order .hero-banner {
  background: linear-gradient(135deg, #36d1dc, #5b86e5);
  color: #fff;
}

/* Recyclepack */
body.alias-recyclepack-order .mini-topbar,
body.alias-recyclepack-order .mini-footer,
body.alias-recyclepack-order .hero-banner {
  background: linear-gradient(135deg, #56ab2f, #a8e063);
  color: #fff;
}

/* Tailorpack */
body.alias-tailorpack-order .mini-topbar,
body.alias-tailorpack-order .mini-footer,
body.alias-tailorpack-order .hero-banner {
  background: linear-gradient(135deg, #444, #888);
  color: #fff;
}

/* Only on cassiopeia-information pages */
body.alias-partypack-order {
  padding-bottom: 96px; /* match .road-strip height */
}

@media (max-width: 480px) {
  body:not(.alias-partypack-order):not(.alias-recyclepack-order):not(.alias-tailorpack-order):not(.alias-superpack-order):not(.alias-sunpower-order) 
    .road-strip img[src*="tree1.png"] {
      display: none !important;
  }
}

/* ==== END OF SITE CSS FILE ==== */