/* ===== Keju Unuy Shared Styles ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0b0a14;
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

/* Animated background blobs */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(168,85,247,0.55), transparent 70%);
  top: -200px; left: -150px;
}
.blob-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.5), transparent 70%);
  bottom: -250px; right: -100px;
}
.blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(234,179,8,0.35), transparent 70%);
  top: 40%; left: 60%;
}

/* Stars */
.stars { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.star {
  position: absolute; color: #facc15; font-size: 20px;
  animation: twinkle 2s ease-in-out infinite;
}
@keyframes twinkle {
  0%,100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Header */
header {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 60px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 28px; letter-spacing: 0.5px;
}
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
nav ul {
  display: flex; list-style: none; gap: 56px;
  background: rgba(255,255,255,0.08);
  padding: 16px 30px; border-radius: 50px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
}
nav a {
  color: #fff; font-weight: 700; font-size: 20px;
  opacity: 0.8; transition: 0.3s; letter-spacing: 0.5px;
}
nav a:hover, nav a.active { opacity: 1; }
nav a.active { color: #facc15; }

.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  padding: 14px 30px; border-radius: 50px; border: none;
  font-weight: 700; font-size: 13px; cursor: pointer;
  letter-spacing: 0.5px; transition: 0.3s; font-family: 'Poppins', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, #facc15, #f59e0b); color: #1a1a2e;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(250,204,21,0.35); }
.btn-outline {
  background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Page wrapper */
.page { position: relative; z-index: 10; padding: 30px 60px 80px; }

/* Page heading */
.page-head { margin-bottom: 50px; }
.page-head h1 {
  font-size: 60px; font-weight: 800; letter-spacing: -1px; line-height: 1.1;
}
.page-head h1 span {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-head p { margin-top: 14px; opacity: 0.75; font-size: 16px; max-width: 520px; line-height: 1.7; }

/* Cards grid */
.grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px; padding: 24px;
  backdrop-filter: blur(10px); transition: 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(250,204,21,0.4); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.card-img {
  width: 100%; height: 170px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 70px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(168,85,247,0.25), rgba(99,102,241,0.2));
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.card .muted { opacity: 0.65; font-size: 14px; line-height: 1.6; }
.badge {
  display: inline-block; margin-top: 12px; padding: 5px 14px;
  border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  background: rgba(250,204,21,0.15); color: #facc15;
}
.badge.blue { background: rgba(99,102,241,0.18); color: #a5b4fc; }
.badge.purple { background: rgba(168,85,247,0.18); color: #d8b4fe; }

/* About layout */
.about-wrap { display: flex; gap: 60px; flex-wrap: wrap; align-items: center; justify-content: center; }
.avatar-ring {
  position: relative; flex-shrink: 0; padding: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #facc15, #a855f7, #6366f1, #facc15);
  background-size: 300% 300%; animation: ringShift 6s ease infinite;
  box-shadow: 0 0 50px rgba(250,204,21,0.25);
}
.avatar-big {
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fcd34d, #f59e0b);
  display: flex; align-items: center; justify-content: center; font-size: 130px;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.2);
}
.avatar-big img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-badge {
  position: absolute; right: 6px; bottom: 6px;
  width: 54px; height: 54px; border-radius: 50%;
  background: #1a1a2e; border: 2px solid #facc15;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
@keyframes ringShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  padding: 6px 16px; border-radius: 50px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #facc15; background: rgba(250,204,21,0.12);
  border: 1px solid rgba(250,204,21,0.25);
}
.about-text { flex: 1; min-width: 300px; max-width: 600px; }
.about-text .lead { font-size: 18px; font-weight: 500; opacity: 0.95; line-height: 1.8; margin-bottom: 16px; }
.about-text p { opacity: 0.8; line-height: 1.8; margin-bottom: 16px; }
.about-stats { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.about-stat {
  flex: 1; min-width: 110px; padding: 18px 16px; border-radius: 18px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  backdrop-filter: blur(10px); transition: .3s;
}
.about-stat:hover { transform: translateY(-6px); border-color: rgba(250,204,21,0.45); box-shadow: 0 16px 32px rgba(0,0,0,0.3); }
.about-stat .ic { font-size: 24px; margin-bottom: 2px; }
.about-stat strong { font-size: 28px; color: #facc15; display: block; }
.about-stat span { font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }

/* Gallery — masonry photo grid */
.gallery {
  columns: 4 260px;
  column-gap: 18px;
}
.photo {
  position: relative;
  break-inside: avoid;
  margin: 0 0 18px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity .6s ease, transform .6s ease, box-shadow .35s ease, border-color .35s ease;
}
.photo.show { opacity: 1; transform: translateY(0) scale(1); }
.photo:hover {
  border-color: rgba(250,204,21,0.5);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
.photo img {
  width: 100%;
  display: block;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.photo:hover img { transform: scale(1.09); }
.photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(10,9,18,0.92), rgba(10,9,18,0));
  transform: translateY(18px);
  opacity: 0;
  transition: .35s ease;
}
.photo:hover figcaption { transform: translateY(0); opacity: 1; }
.photo figcaption h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.photo .ph-cat {
  display: inline-block;
  padding: 4px 12px; border-radius: 50px;
  font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  background: rgba(250,204,21,0.18); color: #facc15;
}
.photo[data-cat="hangout"] .ph-cat { background: rgba(99,102,241,0.2); color: #a5b4fc; }
.photo[data-cat="events"] .ph-cat { background: rgba(168,85,247,0.2); color: #d8b4fe; }
.photo.hide { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,7,14,0.92);
  backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90vw; max-height: 86vh; border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: scale(.92); transition: transform .3s ease;
}
.lightbox.open img { transform: scale(1); }
.lb-close, .lb-nav {
  position: absolute; cursor: pointer; border: none;
  background: rgba(255,255,255,0.1); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: .25s; backdrop-filter: blur(8px);
}
.lb-close { top: 24px; right: 24px; width: 48px; height: 48px; font-size: 20px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 32px; line-height: 1; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-close:hover, .lb-nav:hover { background: #facc15; color: #1a1a2e; }

@media (max-width: 640px) {
  .gallery { columns: 2 150px; column-gap: 12px; }
  .photo { margin-bottom: 12px; }
}
.filters { display: flex; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.filter {
  padding: 9px 20px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04); color: #fff; cursor: pointer; font-weight: 600;
  font-size: 12px; font-family: 'Poppins', sans-serif; transition: 0.3s;
}
.filter.active, .filter:hover { background: #facc15; color: #1a1a2e; border-color: #facc15; }

/* Contact */
.contact-wrap { display: flex; gap: 50px; flex-wrap: wrap; }
.contact-form { flex: 1; min-width: 320px; display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 15px 18px; border-radius: 14px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-family: 'Poppins', sans-serif; font-size: 14px; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: #facc15; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-info { min-width: 280px; display: flex; flex-direction: column; gap: 18px; }
.info-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  padding: 18px 22px; border-radius: 18px;
}
.info-card .ic { font-size: 30px; }
.info-card span { font-size: 12px; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; display: block; }
.info-card strong { font-size: 16px; }

/* Footer */
footer {
  position: relative; z-index: 10;
  text-align: center; padding: 30px; opacity: 0.5; font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.06); margin-top: 40px;
}

/* Timeline */
.timeline { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.tl-item { display: flex; gap: 20px; align-items: stretch; }
.tl-dot {
  width: 16px; height: 16px; border-radius: 50%; background: #facc15; flex-shrink: 0; margin-top: 24px;
  box-shadow: 0 0 0 5px rgba(250,204,21,0.15);
}
.tl-card {
  flex: 1; padding: 20px 24px; border-radius: 18px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px); transition: .3s;
}
.tl-card:hover { border-color: rgba(250,204,21,0.4); transform: translateX(6px); }
.tl-item h4 { font-size: 17px; margin-bottom: 6px; }
.tl-item p { opacity: 0.7; font-size: 14px; line-height: 1.6; }

/* Responsive */
@media (max-width: 1024px) {
  header, .page { padding-left: 30px; padding-right: 30px; }
  .page-head h1 { font-size: 44px; }
}
@media (max-width: 640px) {
  nav ul { display: none; }
  nav.nav-open ul {
    display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
    position: absolute; top: 86px; left: 20px; right: 20px; z-index: 20;
    background: rgba(18,16,30,0.97); backdrop-filter: blur(20px);
    padding: 26px 28px; border-radius: 22px; border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 50px rgba(0,0,0,0.5);
  }
  nav.nav-open a { font-size: 18px; }
  .page-head h1 { font-size: 36px; }
}

/* Custom bee cursor + trail */
.cursor-bee {
  position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none;
  font-size: 26px; will-change: transform; user-select: none;
}
.cursor-trail {
  position: fixed; z-index: 9997; pointer-events: none; font-size: 14px;
  transform: translate(-50%, -50%); animation: trailFade 0.8s ease-out forwards; will-change: transform, opacity;
}
@keyframes trailFade {
  0% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -170%) scale(0.4); }
}
@media (hover: none), (pointer: coarse) {
  .cursor-bee, .cursor-trail { display: none; }
}

/* Floating particles */
.fx-particles { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.fx-particle { position: absolute; bottom: -30px; opacity: 0; animation: floatUp linear forwards; will-change: transform, opacity; }
@keyframes floatUp {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  12% { opacity: 0.9; }
  100% { transform: translateY(-105vh) scale(1); opacity: 0; }
}

/* Accessibility: disable heavy motion for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Background music */
.music-toggle {
  position: fixed; bottom: 22px; right: 22px; z-index: 50;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 50px; cursor: pointer;
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(250,204,21,0.35); backdrop-filter: blur(12px);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.5px;
  transition: 0.3s;
}
.music-toggle:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.music-ic { font-size: 16px; }
.music-toggle[aria-pressed="true"] { background: linear-gradient(135deg, #facc15, #f59e0b); color: #1a1a2e; border-color: transparent; }
.music-toggle[aria-pressed="true"] .music-ic { animation: twinkle 1.4s ease-in-out infinite; }

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: #0b0a14;
  transition: opacity 0.5s ease;
}
.preloader.hidden { opacity: 0; pointer-events: none; }
.preloader-text {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 34px; letter-spacing: 0.5px;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: plPulse 1.4s ease-in-out infinite;
}
.preloader-text span { font-size: 24px; }
@keyframes plPulse { 0%,100% { opacity: 0.55; transform: scale(0.98); } 50% { opacity: 1; transform: scale(1.03); } }

/* Scroll to top */
.to-top {
  position: fixed; bottom: 22px; left: 22px; z-index: 50;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(250,204,21,0.35);
  backdrop-filter: blur(12px); font-size: 22px; line-height: 1;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: 0.3s;
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }

/* Scroll progress bar */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 9999;
  background: linear-gradient(90deg, #facc15, #f59e0b, #a855f7);
  transform: scaleX(0); transform-origin: left; transition: transform 0.1s linear;
}

/* Theme toggle */
.theme-toggle {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(250,204,21,0.35);
  backdrop-filter: blur(12px); font-size: 20px; line-height: 1; transition: 0.3s;
}
.theme-toggle:hover { background: rgba(255,255,255,0.14); transform: translateX(-50%) translateY(-2px); }

/* Testimonial marquee */
.marquee {
  position: relative; z-index: 10; overflow: hidden; padding: 16px 0;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: inline-flex; gap: 48px; white-space: nowrap;
  font-weight: 600; font-size: 15px; color: #facc15;
  animation: marquee 32s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Light theme */
body.light { background: #f4f1fb; color: #1a1a2e; }
body.light .bg-blob { opacity: 0.3; }
body.light nav a { color: #1a1a2e; }
body.light nav a.active { color: #b45309; }
body.light .hamburger span { background: #1a1a2e; }
body.light .btn-outline { color: #1a1a2e; border-color: rgba(0,0,0,0.2); }
body.light .btn-outline:hover { background: rgba(0,0,0,0.06); }
body.light .card, body.light .stat-item, body.light .about-stat, body.light .tl-card,
body.light .info-card, body.light .filter, body.light nav ul, body.light .photo {
  background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); color: #1a1a2e;
}
body.light .music-toggle, body.light .to-top, body.light .theme-toggle {
  color: #1a1a2e; border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.06);
}
body.light .music-toggle[aria-pressed="true"] { color: #1a1a2e; background: linear-gradient(135deg, #facc15, #f59e0b); border-color: transparent; }
body.light footer { color: #1a1a2e; border-color: rgba(0,0,0,0.1); }
body.light .nav-open ul { background: rgba(255,255,255,0.97); }
body.light .marquee { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
body.light .preloader { background: #f4f1fb; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; transform: none !important; }
}
