/*
Theme Name: WIRAZ.CC Theme GPX
Theme URI: https://wiraz.cc
Author: WIRAZ.CC + ChatGPT
Description: Minimalist one-page theme with PARLÉ race, GPX map and elevation.
Version: 1.1
License: GNU General Public License v2 or later
Text Domain: wiraz-cc-gpx
*/

:root {
  --glass: rgba(0,0,0,0.55);
  --accent-cyan:#00e5ff;
  --accent-red:#ff3333;
}

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
  color: inherit;
}

/* Header & footer */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  background: var(--glass);
  backdrop-filter: blur(4px);
  z-index: 1000;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
}

.header a {
  color: #fff;
  text-decoration: none;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 0;
  display: flex;
  justify-content: center;
  gap: 22px;
  background: var(--glass);
  backdrop-filter: blur(4px);
  z-index: 1000;
}

.footer img {
  width: 28px;
  height: 28px;
}

/* Sections */
.section {
  position: relative;
  min-height: 100vh;
  box-sizing: border-box;
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  z-index: 0;
}

.section-mask {
  position: absolute;
  inset: 0;
  background: var(--glass);
  z-index: 1;
}

.section-content {
  position: relative;
  z-index: 2;
  margin-left: 80px;
  margin-right: 40px;
  max-width: 1200px;
}

/* Headings */
.section h2 {
  font-size: 34px;
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 700;
}

/* PARLÉ layout */
.parle .wrap {
  display: flex;
  gap: 40px;
}

.left {
  width: 45%;
}

.right {
  width: 50%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  background: #fff;
  color: #111;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  margin-right: 10px;
}

/* Results */
.results {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.col {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 8px;
}

/* Cards */
.card {
  background: rgba(0,0,0,0.55);
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 16px;
}

/* Map & elevation containers */
#parle-map {
  width: 100%;
  height: 260px;
  border-radius: 8px;
  overflow: hidden;
}

#parle-elev {
  width: 100%;
  height: 160px;
}

/* Documents */
.docs a {
  color: #fff;
  text-decoration: underline;
}

/* Contact */
.contact p {
  margin: 6px 0;
}

/* Leaflet default overrides (dark map frame) */
.leaflet-container {
  background: #050608;
}

/* Responsive */
@media (max-width: 900px) {
  .section-content {
    margin-left: 20px;
    margin-right: 20px;
  }
  .parle .wrap {
    flex-direction: column-reverse;
  }
  .left, .right {
    width: 100%;
  }
}
