/* ===========================
   Reset and base
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  color: #1a1a1a;
}

/* ===========================
   Navbar (desktop header)
   =========================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #0d0d0d;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 60px;
}

.logo-text {
  height: 28px;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffbad2;
}

/* ===========================
   Dropdown
   =========================== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0d0d0d;
  padding: 0.5rem 0;
  list-style: none;
  display: none;
  flex-direction: column;
  min-width: 180px;
  z-index: 999;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s;
}

.dropdown-menu li a:hover {
  background-color: #aa3f63;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

/* ===========================
   Top Banner
   =========================== */
.top-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fdfdfd;
  padding: 2rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.banner-top {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.banner-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Kato Pic / Hero
   =========================== */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.hero-banner {
  width: 50%;
  max-width: 600px;
  border: 6px solid #f4f4f4;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  object-fit: contain;
}

.banner-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.banner-frame img {
  display: block;
  width: 40%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
}

.hero-title {
  margin-top: 1.2rem;
  font-size: 2rem;
  font-weight: bold;
  color: #222;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

/* ===========================
   About Content
   =========================== */
.about {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem 2.5rem;
  background-color: #f9f9f9;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  line-height: 1.7;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: all 0.3s ease;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2d4059;
  border-bottom: 2px solid #ffbad2;
  padding-bottom: 0.5rem;
  text-align: center;
}

.about p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  color: #444;
}

.about strong {
  color: #d72638;
}

.about em {
  font-style: italic;
  color: #4f8a8b;
}

/* ===========================
   Value Cards
   =========================== */
.values {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 2rem;
  background-color: #fefefe;
}

.value-card {
  background: #fff;
  border-left: 6px solid #f267a1;
  padding: 2rem;
  border-radius: 12px;
  max-width: 280px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #aa3f63;
}

.value-card p {
  font-size: 0.95rem;
  color: #444;
}

/* ===========================
   Footer
   =========================== */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #0d0d0d;
  color: #fff;
  font-size: 0.9rem;
}

/* =========================================================
   MOBILE UI VISIBILITY FIX
   Hide mobile UI by default (desktop/tablet)
   ========================================================= */
.mobile-navbar,
.bottom-nav {
  display: none !important; /* critical: prevents spillover on desktop */
}

/* =========================================================
   MOBILE (<=768px): show mobile UI, hide desktop header
   ========================================================= */
@media screen and (max-width: 768px){
  /* Hide desktop header on mobile */
  .desktop-only { display: none !important; }

  /* Show mobile header wrapper */
  .mobile-navbar { display: block !important; }

  /* Fixed bottom icon bar */
  .bottom-nav {
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background-color: #0d0d0d;
    padding: 0.4rem 0;
    list-style: none;
    z-index: 1000;
    border-top: 2px solid #f267a1;
  }

  .bottom-nav li {
    flex: 1;
    text-align: center;
  }

  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s ease;
  }

  .bottom-nav a:hover {
    color: #ffbad2;
  }

  .nav-icon {
    width: 22px;
    height: 22px;
    margin-bottom: 0.2rem;
  }

  /* Responsive tweaks for content */
  .top-banner { padding: 1rem; }

  .banner-image {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
  }

  .hero { height: auto; }

  .banner-frame { padding: 1.5rem 1rem; }

  .banner-frame img { width: 90%; }

  .hero-title {
    font-size: 1.6rem;
    padding: 0.4rem 1rem;
  }

  .about {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .about h2 { font-size: 1.6rem; }
  .about p { font-size: 1rem; }

  .values {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .value-card {
    max-width: 100%;
    padding: 1.2rem;
  }

  .value-card h3 { font-size: 1.2rem; }
  .value-card p { font-size: 0.95rem; }

}

/* ===========================
   Kickstarter CTA (GLOBAL)
   =========================== */
.kickstarter-cta {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  color: #222;
}

.kickstarter-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #2d4059;
}

.kickstarter-cta p {
  margin-bottom: 1rem;
  color: #555;
}

.kickstarter-btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  font-weight: bold;
  font-size: 1rem;
  background: #05ce78;         /* recognizable Kickstarter-ish green */
  color: #0b1f17;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.kickstarter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
}

/* ===========================
   Mobile-only tweaks for CTA + safe space above bottom nav
   =========================== */
@media screen and (max-width: 768px) {
  .kickstarter-cta {
    margin: 1.5rem 1rem 5rem;  /* extra bottom margin so it clears fixed bottom nav */
    padding: 1.5rem;
  }

  /* keep footer content clear of fixed bottom bar */
  footer { padding-bottom: 60px; }

}