
/* ── Preloader ── */
#preloader {
    position: fixed;
    inset: 0;
    z-index: var(--z-preloader);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a0a00, #2d1500);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.preloader-logo {
    width: clamp(120px, 25vw, 220px);
    height: auto;
    animation: preloader-pulse 1.2s ease-in-out infinite alternate;
}
@keyframes preloader-pulse {
    0% { transform: scale(0.92); opacity: 0.6; filter: brightness(0.8); }
  100% { transform: scale(1.08); opacity: 1; filter: brightness(1.2); }
}
.preloader-bar {
    width: 160px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
}
.preloader-bar span {
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, #ff6a00, #ffcc00);
    border-radius: 4px;
    animation: preloader-slide 1.4s ease-in-out infinite;
}
@keyframes preloader-slide {
    0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

:root {
  --z-bg: -1;
  --z-splash: 0;
  --z-content: 1;
  --z-balloon: 10;
  --z-nav: 100;
  --z-preloader: 9999;
}

/* ── Urukan Navigation ── */
#urukan-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  box-sizing: border-box;
  /* starts transparent; JS adds .scrolled */
  background: transparent;
 /* transition: background 0.4s ease, backdrop-filter 0.4s ease;*/
}

#urukan-nav .nav-logo {
  font-family: "Boogaloo", sans-serif;
  font-size: 1.4rem;
  color: hsl(29, 100%, 50%);
  text-decoration: none;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.75);
}
/* hamburger – visible on mobile */
#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background-color: rgba(255, 123, 0, 0.342);
  border-radius: 10px;
  border-color: #f7f7f700;
}

#nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: hsl(0, 0%, 0%);
  border-radius: 20px;
  transition: transform 0.3s, opacity 0.3s;
  z-index: calc(var(--z-nav) + 1);
}

#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav-links li a {
  font-family: "Boogaloo", sans-serif;
  font-size: 1rem;
  color: hsl(39, 100%, 55%);
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.75);
  text-decoration: none;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s;
}

#nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: hwb(0 0% 100%);
  transition: width 0.3s ease;
}

#nav-links li a:hover { color: #fff; }
#nav-links li a:hover::after,
#nav-links li a.active::after { width: 100%; }
#nav-links li a.active { color: #fff; }

/* ── mobile overlay ── */
@media (max-width: 700px) {
  #nav-toggle { display: flex; }

  #nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    background: rgba(255, 136, 0, 0.568);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  #nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }
  #nav-links li a { font-size: 1.6rem; }
}
/*--------*/
/*----------------------------------------*/
img{
    width: 80svw;
    height:auto;
}
/*------------*/
.text-content-1 {
    display: flex;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    z-index: var(--z-balloon);
    height: 100svh;
    width: 100svw;
}

.text-content-2 {
    display: flex;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    z-index: var(--z-balloon);
    height: 100svh;
    width: 100svw;
}
.text-content-3 {
    display: flex;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    z-index: var(--z-content);
    height: 100svh;
    width: 100svw;
}
.text-content-4 {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: absolute;
    opacity: 0;
    z-index: var(--z-content);
    height: 100svh;
    width: 100svw;
}
.text-content-5 {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: absolute;
    opacity: 0;
    height: 100svh;
    width: 100svw;
    z-index: var(--z-balloon);
}
.text-content-6 {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: absolute;
    opacity: 0;
    z-index: var(--z-content);
    height: 100svh;
    width: 100svw;
}
.text-content-7 {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: absolute;
    opacity: 1;
    z-index: var(--z-content);
    height: 100svh;
    width: 100svw;
    padding-top: 3rem;
}

.description {
    font-family: "Boogaloo", sans-serif;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-self: center;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.75);
}

.urukan-logo-image {
    width: 32vw;
    height: auto;
    align-self: center;
    flex-direction: column;
    margin: 3rem;
    padding: 1rem;
    border-radius: 20px;
    background-color: rgba(255, 230, 0, 0.705);
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.75);
    z-index: var(--z-content);
}

.splatter-container {
    height: min-content;
    width: fit-content;
    position: absolute;
    justify-content: left;
    bottom: 0;
}

.splatter-1 {
    display: flex;
    width: 80vw;
    height: auto;
    position: relative;
    opacity: 0;
}

.splatter-2 {
    display: flex;
    width: 80vw;
    height: auto;
    position: relative;
    opacity: 0;
}

.splatter-3 {
    display: flex;
    width: 80vw;
    height: auto;
    position: relative;
    opacity: 0;
}

.splatter-4 {
    display: flex;
    width: 80vw;
    height: auto;
    position: relative;
    opacity: 0;
}

.splatter-5 {
    display: flex;
    width: 100vw;
    height: auto;
    position: relative;
    opacity: 0;
}

.barbushe-image {
    display: flex;
    width: 80vw;
    height: auto;
    position: relative;
    opacity: 0;
}

.splash-1 {
    opacity: 0;
    width: 100vw;
    height: 100vh;
    z-index: var(--z-splash);
}
.splash-1 img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 700px) {
    .panel-1-splashes {
        bottom: auto !important;
        top: 50px;
    }
    .splash-1 {
        width: 100%;
        height: auto;
    }
}
/*----dont mess with this----*/
.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    z-index: var(--z-splash);
}
.balloon-title {
    display: flex;
    align-items: center;
    max-width: fit-content;
    height: fit-content;
    font-size: 1.5rem;
    padding: 0.2rem;
    margin: 0.5rem;
    margin-bottom: 0.8rem;
    z-index: var(--z-content);
}
.balloon-front-page {
    display: flex;
    align-self: center;
    max-width: 570px;   
    height: 100vh;
    padding: 0.5rem;
    margin: 0.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.75);
    z-index: var(--z-content);
    opacity: 0;
    transform: translateY(40px);
}
.balloon {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-width: 770px;   
    height: auto;
    padding: 0.5rem;
    margin: 0.5rem;
    background-color: rgba(255, 187, 0, 0.795);
    border-radius: 10px;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.75);
    margin-bottom: 0.8rem;
    z-index: var(--z-content);
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 196, 0, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    width: min(480px, 90vw);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    z-index: var(--z-balloon);
}
.contact-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.contact-header h2 {
    font-size: 2rem;
    margin: 0;
    color: #1a1a1a;
}
.contact-header p {
    font-size: 0.95rem;
    margin: 0.5rem 0 0;
    color: #3a3a3a;
    line-height: 1.4;
}
.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2a1a00;
    letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea {
    font-family: "Boogaloo", sans-serif;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff6a00;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.25);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
    opacity: 0.7;
}
.form-group textarea {
    resize: vertical;
    min-height: 80px;
}
.contact-submit {
    font-family: "Boogaloo", sans-serif;
    font-size: 1.2rem;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff6a00, #ee3e00);
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}
.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.55);
}
.contact-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.35);
}

/*--------------art panel ------------*/
.img-container{
    display: flex;
    width:80svw;
    height:auto;
    border: #f7f7f700;
}

.nakuru4mask{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height:auto;
    opacity: 0;
    z-index: var(--z-content);
}
.youth-wrap{
    z-index: var(--z-content);
}
.what-we-do-image img {
    opacity: 0;
    transform: translateX(-60px) scale(0.9);
}
.youth-image img {
    opacity: 0;
    transform: translateX(60px) scale(0.9) rotate(3deg);
}

.panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    flex: 0 0 100%;
    z-index: var(--z-splash);
}

.panel-0 {
    width: 100svw;
    height: 100vh;
    display: flex;
    flex-basis: auto;
    flex-shrink: 2;
    align-content: center;
    flex: 0 0 100%;
    z-index: var(--z-content);
}

.panel-0-splashes{
    position: absolute;
    opacity: 0;
    z-index: var(--z-splash);
}

.panel-1-splashes{
    position: absolute;
    opacity: 0;
    z-index: var(--z-splash);
}

.panel-2-splashes{
    position: absolute;
    opacity: 0;
    bottom: -50px;
    z-index: var(--z-splash);
}

.panel-3-splashes{
    position: absolute;
    opacity: 0;
    bottom: -150px;
    z-index: var(--z-splash);
}

.barbushe-sitting{
    position: absolute;
    opacity: 0;
    bottom: -800px;
    z-index: var(--z-content);
}

.panel-4-splashes{
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    z-index: var(--z-splash);
}
.panel-4-splashes img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.panel-5-splashes{
    position: absolute;
    opacity: 0;
    bottom: -250px;
    z-index: var(--z-splash);
}
@media (max-width: 700px) {
    .panel-5-splashes {
        bottom: -80px;
    }
}
.panel-6-splashes{
    position: absolute;
    opacity: 0;
    z-index: var(--z-splash);
}
/*----panel-1---*/
.panel-1 {
    width: 100svw;
    height: 100vh;
    display: flex;
    flex-basis: auto;
    align-content: center;
    flex: 0 0 100%;
    z-index: var(--z-splash);
}
/*----barbushe-paint-nakuru---*/
.pano-wrap{
    display:flex;
    opacity: 0;
    position: relative;
    align-self: center;
    bottom: -100px;
    z-index: var(--z-content);
 }
/*----panel-2---*/
.panel-2 {
    width: 100svw;
    height: 100vh;
    display: flex;
    flex-basis: auto;
    align-content: center;
    flex: 0 0 100%;
    z-index: var(--z-content);
}
/*----panel-3---*/
.panel-3 {
    width: 100svw;
    height: 100vh;
    display: flex;
    flex-basis: auto;
    align-content: center;
    flex: 0 0 100%;
    z-index: var(--z-content);
}
/*----panel-4---*/
.panel-4 {
    width: 100svw;
    height: 100vh;
    display: flex;
    position: relative;
    flex-basis: auto;
    align-content: center;
    flex: 0 0 100%;
    z-index: var(--z-content);
}
/*----panel-5---*/
.panel-5 {
    width: 100svw;
    height: 100vh;
    display: flex;
    flex-basis: auto;
    align-content: center;
    flex: 0 0 100%;
    z-index: var(--z-splash);
}
.panel-6 {
    width: 100svw;
    height: 100vh;
    display: flex;
    flex-basis: auto;
    align-content: center;
    flex: 0 0 100%;
    z-index: var(--z-content);
}
.media-iframe-wrapper {
    width: clamp(280px, 50vw, 720px) !important;
}
.media-iframe-wrapper .media-iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}
.media-iframe-wrapper:last-child .media-iframe {
    aspect-ratio: 4 / 3;
}
@media (max-width: 700px) {
    .media-iframe-wrapper {
        width: 90vw !important;
    }
}
/*-----------*/
.final {
    display: flex;
    width: 100svw;
    height: 100vh;
    flex-basis: auto;
    justify-content: center;
    align-items: center;
    flex: 0 0 100%;
    z-index: var(--z-splash);
}
.final > .text-content-7 {
    position: static;
    padding-top: 0;
    width: auto;
    height: auto;
}
