/* Acropolis | RP — Parallax site, hidden scrollbar, minimal layout */

:root {
  --color-bg: rgba(18, 18, 22, 0.45);
  --color-text: #e8e8e8;
  --color-accent: #ffd166;
  --color-muted: #c8c8c8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome, Safari, Edge */
html {
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, 'Myriad Pro', sans-serif;
  color: var(--color-text);
  background: #121216;
  position: relative;
}

/* Single full-page background — no per-section layers, so no lines/shadow at section edges */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('../images/GTA/grand-theft.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}

/* Parallax sections: content only, tighter spacing */
.parallax-section {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
}

/* Hero fills first screen so Server Info is below the fold */
.parallax-section--hero {
  min-height: 100vh;
}

.parallax-section__content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.parallax-section--hero .parallax-section__content {
  max-width: 720px;
}

.parallax-section h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

.parallax-section h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-accent);
  margin: 0 0 1.5rem;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

.parallax-section p {
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0 0 1rem;
  font-size: 1rem;
}

.parallax-section .panel {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 1rem;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.12);
}

.panel h3 {
  color: var(--color-accent);
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.panel ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-muted);
}

.panel li {
  margin-bottom: 0.5rem;
}

.panel a {
  color: var(--color-accent);
  text-decoration: none;
}

.panel a:hover {
  text-decoration: underline;
}

/* Scroll-triggered animations: hidden until in view, then animate.css runs */
.scroll-anim {
  opacity: 0;
}

/* Animations: use animate.css classes; optional duration/delay helpers */
.animate-duration-slow { --animate-duration: 1.2s; }
.animate-duration-slower { --animate-duration: 1.6s; }

@media (prefers-reduced-motion: reduce) {
  body::before { background-attachment: scroll; }
}
