/* =========================
   GLOBAL / RESET
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050505;
  color: #f5f5f5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   HEADER / NAV
   ========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

/* Logo – ar bildi + tekstu */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.9rem;
  white-space: nowrap;
}

.logo img {
  height: 26px;
  width: auto;
}

/* Desktop navigācija */

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: #ffd83b;
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Mobile burger */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
}

/* =========================
   HERO (SĀKUMA LAPA)
   ========================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  color: #fff;
  position: relative;
}

/* Fona bilde + tumšais overlay vienā blokā */
.hero-overlay {
  flex: 1;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)),
    url("../img/pritons-bg.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  padding: 6rem 0 4rem;
}

.hero-content {
  margin-top: 3.5rem; /* vieta headeram */
  text-align: left;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  max-width: 500px;
  font-weight: 300;
  line-height: 1.5;
}

/* Vecā .parallax klase – atstājam tukšu, ja vēl kaut kur HTML ir */
.parallax {}

/* =========================
   STATISTIKA
   ========================= */

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.stat {
  background: rgba(5, 5, 5, 0.85);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  min-width: 160px;
  border: 1px solid rgba(255, 216, 59, 0.25);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #f0e6b8;
}

/* =========================
   POGA
   ========================= */

.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  background: #ffd83b;
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* =========================
   SEKCIJAS
   ========================= */

.section {
  padding: 4rem 0;
  background: #050505;
}

.section-alt {
  background: #070707;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section p {
  max-width: 650px;
  color: #d1d1d1;
}

/* CTA blokam sākumlapas apakšā */

.home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* =========================
   PAGE HERO (iekšējām lapām)
   ========================= */

/* kopīgā bāze visām iekšējām lapām */
.page-hero {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 3rem;
  background: #050505;
  overflow: hidden;
}

.page-hero > .container {
  position: relative;
}

.page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
  position: relative;
  display: inline-block;
}

/* Dzeltena līnija zem virsraksta */
.page-hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 60%;
  height: 3px;
  background: #ffd83b;
  border-radius: 999px;
}

.page-hero p {
  color: #cfcfcf;
}

/* Mazais “eyebrow” teksts virs virsraksta */
.page-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #f0e6b8;
  margin-bottom: 0.6rem;
  opacity: 0.9;
}

/* ===== Variants A – NEON BAR ===== */

.page-hero--neon-bar::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #ff4d67,
    #ffd83b,
    #36e0ff,
    #ff4d67
  );
  background-size: 200% auto;
  animation: heroGlowBar 6s linear infinite;
  opacity: 0.9;
}

/* maigs glows stūros */
.page-hero--neon-bar::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 77, 103, 0.16), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(54, 224, 255, 0.14), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

/* ===== Variants C – krāsainas “gaismiņas” ===== */

.page-hero--dots::before,
.page-hero--dots::after {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 77, 103, 0.18), transparent 55%),
    radial-gradient(circle at 70% 0%, rgba(255, 216, 59, 0.18), transparent 55%),
    radial-gradient(circle at 90% 40%, rgba(54, 224, 255, 0.18), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

/* Neliela pulsācija dots variantam */
.page-hero--dots::before {
  animation: heroDotsPulse 8s ease-in-out infinite alternate;
}

/* =========================
   LAYOUTI
   ========================= */

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2rem;
  align-items: flex-start;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}

/* =========================
   KARTIŅAS
   ========================= */

.card {
  background: #0a0a0a;
  border-radius: 18px;
  padding: 1.5rem 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.check-list {
  list-style: none;
  padding-left: 0;
  margin: 0.7rem 0 0;
}

.check-list li::before {
  content: "•";
  margin-right: 0.4rem;
  color: #ffd83b;
}

/* =========================
   TEAM
   ========================= */

.team-grid {
  margin-top: 1.5rem;
}

.team-card {
  text-align: left;
}

.team-photo-wrapper {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.8rem;
  background: #141414;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-weight: 600;
  margin: 0.1rem 0;
}

.team-role-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f0e6b8;
  margin-bottom: 0.4rem;
}

.team-bio {
  font-size: 0.9rem;
  color: #c8c8c8;
}

/* =========================
   BLOG / PARTY LOG
   ========================= */

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-item h2 {
  margin: 0.2rem 0 0.6rem;
}

.blog-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b5b5b5;
}

/* =========================
   KONTAKTI
   ========================= */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding-left: 0;
}

.contact-list li {
  margin-bottom: 0.4rem;
}

.contact-form .form-group {
  margin-bottom: 0.85rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.55rem 0.7rem;
  background: #050505;
  color: #f5f5f5;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: #9c9c9c;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.8rem;
  text-align: center;
  color: #a6a6a6;
}

/* =========================
   ANIMĀCIJAS
   ========================= */

@keyframes heroGlowBar {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes heroDotsPulse {
  0% {
    opacity: 0.4;
    transform: scale(1);
  }
  100% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.6rem;
  }

  .page-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 768px) {
  /* Hero – bez parallax, lielāks top padding */
  .hero-overlay {
    background-attachment: scroll;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .hero-content {
    margin-top: 0;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .stats {
    flex-direction: column;
  }

  /* Page hero – teksts zem headera nebāžas iekšā */
  .page-hero {
    padding-top: 7rem;
  }

  /* Layouti vienā kolonnā */

  .page-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Mobilā navigācija */

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    padding: 1rem 1.5rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .logo {
    font-size: 0.8rem;
  }
}
