/* =========================================================
   Peba Sports Management — Global Stylesheet
   Theme: Sports + Professional + Premium
   Colors: Dark Blue/Black base, Neon Blue + Gold accents
   ========================================================= */

:root {
  --bg-dark: #05080f;
  --bg-dark-2: #0a1020;
  --bg-card: #0e1628;
  --navy: #0c1a3a;
  --neon: #00b4ff;
  --neon-soft: #2bd4ff;
  --gold: #f4b526;
  --gold-soft: #ffd56b;
  --text: #e7edf7;
  --text-mute: #9fb0c8;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1240px;
  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; }

.container { width: 92%; max-width: var(--max); margin: 0 auto; }

.accent { color: var(--neon); }
.accent-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--neon), #0072ff);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 180, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 180, 255, 0.55); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e09e0b);
  color: #1a1300;
  box-shadow: 0 10px 30px rgba(244, 181, 38, 0.3);
}
.btn-gold:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(244, 181, 38, 0.5); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.btn-outline:hover { border-color: var(--neon); color: var(--neon); transform: translateY(-4px); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35); }
.btn-wa:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.navbar.scrolled {
  background: rgba(5, 8, 15, 0.92);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 180, 255, 0.15);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--neon), var(--gold));
  display: grid; place-items: center; color: #03060d; font-size: 1.2rem;
  box-shadow: 0 6px 18px rgba(0, 180, 255, 0.4);
}
.logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--text-mute);
  position: relative; transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--neon), var(--gold)); transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: -2;
  transform: scale(1.1);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, rgba(5, 8, 15, 0.95) 30%, rgba(5, 8, 15, 0.55) 70%, rgba(0, 180, 255, 0.25));
}
.hero-content { max-width: 760px; padding: 120px 0 60px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0, 180, 255, 0.12); border: 1px solid rgba(0, 180, 255, 0.3);
  color: var(--neon-soft); padding: 8px 18px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--neon), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 1.12rem; color: var(--text-mute); max-width: 580px; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .num { font-size: 2.2rem; font-weight: 800; color: var(--gold); }
.hero-stats .lbl { font-size: 0.85rem; color: var(--text-mute); }

/* ---------- Section base ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head .kicker {
  color: var(--neon); font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  font-size: 0.8rem; display: block; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-head p { color: var(--text-mute); }
.bg-alt { background: var(--bg-dark-2); }

/* ---------- Cards / Services ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 180, 255, 0.4);
}
.service-card .img-wrap { height: 210px; overflow: hidden; position: relative; }
.service-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .img-wrap img { transform: scale(1.12); }
.service-card .icon {
  position: absolute; bottom: -24px; left: 24px;
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--neon), var(--gold));
  display: grid; place-items: center; color: #03060d; font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.service-card .body { padding: 38px 24px 28px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card p { color: var(--text-mute); font-size: 0.95rem; }
.service-card .more { color: var(--neon); font-weight: 600; font-size: 0.9rem; display: inline-flex; gap: 8px; margin-top: 16px; }
.service-card .more i { transition: transform 0.3s; }
.service-card:hover .more i { transform: translateX(6px); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-imgs { position: relative; }
.about-imgs img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-imgs .img-2 {
  position: absolute; bottom: -40px; right: -20px; width: 55%;
  border: 5px solid var(--bg-dark);
}
.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 20px; }
.about-text p { color: var(--text-mute); margin-bottom: 18px; }
.about-list { display: grid; gap: 14px; margin: 24px 0; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.about-list i { color: var(--gold); margin-top: 4px; }

/* ---------- Feature/Value boxes ---------- */
.feature-box {
  background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius); padding: 36px 28px; transition: 0.4s; text-align: center;
}
.feature-box:hover { transform: translateY(-8px); border-color: rgba(244, 181, 38, 0.4); box-shadow: var(--shadow); }
.feature-box .fi {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 20px;
  display: grid; place-items: center; font-size: 1.6rem; color: #03060d;
  background: linear-gradient(135deg, var(--neon), var(--gold));
}
.feature-box h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-box p { color: var(--text-mute); font-size: 0.93rem; }

/* ---------- Testimonials ---------- */
.testi-card {
  background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius); padding: 32px 28px; transition: 0.4s;
}
.testi-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(0,180,255,0.3); }
.testi-card .stars { color: var(--gold); margin-bottom: 16px; }
.testi-card p { color: var(--text); font-style: italic; margin-bottom: 22px; }
.testi-person { display: flex; align-items: center; gap: 14px; }
.testi-person .av {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--neon), var(--gold));
  display: grid; place-items: center; font-weight: 700; color: #03060d;
}
.testi-person .name { font-weight: 600; }
.testi-person .role { font-size: 0.82rem; color: var(--text-mute); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: 14px; cursor: pointer; height: 260px;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.15); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: linear-gradient(transparent, rgba(5,8,15,0.85));
  display: flex; align-items: flex-end; padding: 18px; opacity: 0; transition: 0.4s;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { font-weight: 600; }
.gallery-item .overlay i { color: var(--neon); margin-right: 8px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.show { display: flex; animation: fade 0.3s ease; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox .close { position: absolute; top: 24px; right: 32px; font-size: 2rem; color: #fff; cursor: pointer; }
.lightbox .nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); font-size: 2rem; color: #fff;
  cursor: pointer; background: rgba(255,255,255,0.1); width: 54px; height: 54px;
  border-radius: 50%; display: grid; place-items: center; transition: 0.3s;
}
.lightbox .nav-arrow:hover { background: var(--neon); }
.lightbox .prev { left: 24px; } .lightbox .next { right: 24px; }

/* ---------- Events ---------- */
.event-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); overflow: hidden; transition: 0.4s; display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(0,180,255,0.3); }
.event-card .img-wrap { height: 220px; overflow: hidden; position: relative; }
.event-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.event-card:hover img { transform: scale(1.1); }
.event-tag {
  position: absolute; top: 16px; left: 16px; padding: 6px 16px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.event-tag.up { background: var(--neon); color: #03060d; }
.event-tag.past { background: var(--gold); color: #1a1300; }
.event-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.event-meta { display: flex; gap: 18px; color: var(--text-mute); font-size: 0.85rem; margin-bottom: 12px; flex-wrap: wrap; }
.event-meta i { color: var(--neon); margin-right: 6px; }
.event-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.event-card p { color: var(--text-mute); font-size: 0.93rem; flex: 1; }

/* ---------- Shop ---------- */
.product-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); overflow: hidden; transition: 0.4s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(244,181,38,0.4); }
.product-card .img-wrap { height: 280px; overflow: hidden; background: #fff; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.product-card:hover img { transform: scale(1.08); }
.product-card .body { padding: 22px; }
.product-card .cat { font-size: 0.75rem; color: var(--neon); text-transform: uppercase; letter-spacing: 1px; }
.product-card h3 { font-size: 1.1rem; margin: 8px 0; }
.product-card .price { color: var(--gold); font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; }
.product-card .btn { width: 100%; justify-content: center; font-size: 0.9rem; padding: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact-info-list { display: grid; gap: 24px; margin: 30px 0; }
.contact-info-list li { display: flex; gap: 18px; align-items: flex-start; }
.contact-info-list .ci {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--neon), var(--gold));
  display: grid; place-items: center; color: #03060d; font-size: 1.2rem;
}
.contact-info-list h4 { font-size: 1rem; margin-bottom: 2px; }
.contact-info-list p { color: var(--text-mute); font-size: 0.93rem; }
.form-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; margin-bottom: 8px; color: var(--text-mute); }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 18px; border-radius: 12px;
  background: var(--bg-dark); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-family: var(--font); font-size: 0.95rem; transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(0,180,255,0.15); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-msg { margin-top: 14px; font-size: 0.9rem; color: #25d366; display: none; }
.form-msg.show { display: block; }
.map-embed iframe { width: 100%; height: 400px; border: 0; border-radius: var(--radius); }

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding: 170px 0 90px; text-align: center; position: relative; overflow: hidden;
}
.page-header-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.page-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(5,8,15,0.85), rgba(5,8,15,0.95));
}
.page-header h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 14px; }
.page-header .crumb { color: var(--text-mute); font-size: 0.9rem; }
.page-header .crumb a:hover { color: var(--neon); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), #061024);
  border-radius: var(--radius); padding: 56px 48px; text-align: center;
  border: 1px solid rgba(0,180,255,0.2); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; top: -50%; right: -10%; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0,180,255,0.25), transparent 70%);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; position: relative; }
.cta-band p { color: var(--text-mute); max-width: 560px; margin: 0 auto 28px; position: relative; }
.cta-band .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
.footer { background: #03060d; padding: 70px 0 30px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer h4 { font-size: 1.05rem; margin-bottom: 20px; }
.footer p { color: var(--text-mute); font-size: 0.92rem; margin-bottom: 18px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-mute); font-size: 0.92rem; transition: 0.3s; }
.footer-links a:hover { color: var(--neon); padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; color: var(--text-mute); font-size: 0.92rem; margin-bottom: 14px; }
.footer-contact i { color: var(--gold); margin-top: 4px; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,0.06); color: #fff; transition: 0.3s;
}
.social-row a:hover { background: linear-gradient(135deg, var(--neon), var(--gold)); color: #03060d; transform: translateY(-4px); }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); color: var(--text-mute); font-size: 0.88rem; }

/* ---------- WhatsApp Float ---------- */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; color: #fff; font-size: 1.7rem;
  box-shadow: 0 8px 26px rgba(37,211,102,0.5); animation: pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-imgs .img-2 { position: static; width: 100%; margin-top: 16px; border: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: rgba(7,11,22,0.98); backdrop-filter: blur(14px); flex-direction: column;
    justify-content: center; gap: 30px; transition: right 0.4s ease; padding: 40px;
    border-left: 1px solid rgba(0,180,255,0.2);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; z-index: 1100; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero-stats { gap: 26px; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
