/* style.css :: v1.9.0 :: 2026-09-11 :: 1 modifica */

:root {
  --black: #0a0a0a;
  --black-2: #131313;
  --red: #c8102e;
  --red-dark: #8b0a20;
  --gold: #d4a017;
  --gold-dim: #8b6a0f;
  --green: #6b8f2e;
  --gray: #2a2a2a;
  --text: #d4a017;
  --text-dim: #8a7a4a;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Courier New', monospace;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

/* Scanlines CRT */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(0deg,
    rgba(0,0,0,0.15), rgba(0,0,0,0.15) 1px,
    transparent 1px, transparent 3px);
  pointer-events: none;
  z-index: 9999;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: linear-gradient(180deg, var(--black-2) 0%, var(--black) 100%);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 0 30px rgba(200, 16, 46, 0.4);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  gap: 15px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.star {
  color: var(--red);
  font-size: 34px;
  text-shadow: 0 0 15px var(--red);
  animation: pulse 3s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.6;} }

.header h1 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 5px;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold);
}

.subtitle {
  display: block;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 3px;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.header-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.header-nav a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.stamp {
  color: var(--red);
  border: 3px solid var(--red);
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 4px;
  transform: rotate(-8deg);
  box-shadow: 0 0 15px rgba(200, 16, 46, 0.6);
  animation: glow 2s infinite;
  display: inline-block;
}
@keyframes glow {
  0%,100%{box-shadow: 0 0 15px rgba(200,16,46,0.6);}
  50%{box-shadow: 0 0 25px rgba(200,16,46,0.9);}
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 80px 30px;
  background: 
    radial-gradient(ellipse at 20% 40%, rgba(200,16,46,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(212,160,23,0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--black-2) 0%, var(--black) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  color: var(--red);
  border: 2px solid var(--red);
  padding: 8px 20px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 25px;
  text-shadow: 0 0 30px rgba(212, 160, 23, 0.5);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text);
  max-width: 650px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid var(--gold-dim);
  color: var(--gold);
  padding: 14px 28px;
  font-family: inherit;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
}

.btn:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
  box-shadow: 0 0 25px rgba(200, 16, 46, 0.5);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red-dark);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red);
}

.hero-decoration {
  position: absolute;
  right: 5%;
  bottom: 10%;
  opacity: 0.15;
}

.deco-star {
  font-size: 200px;
  color: var(--red);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  color: var(--red);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 4px;
  text-shadow: 0 0 20px rgba(212, 160, 23, 0.4);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 80px 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--black-2);
  border: 1px solid var(--gold-dim);
  padding: 30px 20px;
  text-align: center;
  transition: all 0.25s;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.feature-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(200, 16, 46, 0.4);
}

.feature-icon {
  font-size: 42px;
  margin-bottom: 15px;
}

.feature-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 80px 30px;
  background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 25px;
}

.about-text .section-label {
  text-align: left;
}

.about-text p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 18px;
}

.placeholder-image {
  aspect-ratio: 4 / 3;
  background: var(--black);
  border: 2px dashed var(--gold-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 3px;
}

.placeholder-image span:first-child {
  font-size: 60px;
  opacity: 0.5;
}

/* ============================================================
   JOURNEYS
   ============================================================ */
.journeys {
  padding: 80px 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.journeys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.journey-card {
  background: var(--black-2);
  border: 1px solid var(--gold-dim);
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
}

.journey-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(200, 16, 46, 0.4);
}

.journey-image {
  height: 180px;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--black) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 70px;
  border-bottom: 2px solid var(--red);
}

.journey-title {
  padding: 20px 20px 10px 20px;
  font-size: 18px;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 2px;
}

.journey-desc {
  padding: 0 20px 12px 20px;
  color: var(--text-dim);
  font-size: 13px;
}

.journey-meta {
  padding: 0 20px 20px 20px;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: bold;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 80px 30px;
  background: linear-gradient(180deg, var(--black-2) 0%, var(--black) 100%);
  text-align: center;
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
}

.contact .section-title {
  margin-bottom: 20px;
}

.contact p {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 30px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: var(--black-2);
  border-top: 2px solid var(--red);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 2px;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-left span:first-child {
  color: var(--red);
  font-weight: bold;
  letter-spacing: 3px;
}

#footer-version {
  color: var(--red);
  font-weight: bold;
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid var(--red-dark);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .journeys-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 42px; }
}

@media (max-width: 700px) {
  .header {
    flex-direction: column;
    padding: 15px 20px;
  }
  .header-nav { justify-content: center; }
  .hero { min-height: 60vh; padding: 60px 20px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 14px; }
  .hero-decoration { display: none; }
  .section-title { font-size: 26px; }
  .features, .about, .journeys, .contact { padding: 50px 20px; }
  .features-grid, .journeys-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-text .section-title { text-align: center; }
  .about-text .section-label { text-align: center; }
  .footer { flex-direction: column; text-align: center; }
}

/* === SFONDO DINAMICO KGB (v1.0.1) === */
html {
    height: 100%;
}

body {
    background-image: url('/bg.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    min-height: 100vh;
    min-height: 100dvh;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(10,10,10,0.30);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    body {
        background-size: auto 100vh;
        background-size: auto 100dvh;
    }
    body::before { background: rgba(10,10,10,0.50); }
}

@supports not (height: 100dvh) {
    body::before { height: 100vh; }
}
