/*
Theme Name: Maraton treh src – Vabilo
Description: Vabilo za Maraton treh src 2026 z obrazcem za prijavo
Author: Claude
Version: 1.0
*/

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.7;
}

.site-header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-title { font-size: 1.1rem; font-weight: 600; text-decoration: none; color: #111; }
nav a { margin-left: 1.5rem; text-decoration: none; color: #555; font-size: 0.9rem; }
nav a:hover { color: #111; }

.site-main { max-width: 760px; margin: 0 auto; padding: 0 1.5rem 4rem; }

.site-footer {
  text-align: center;
  padding: 2rem;
  color: #999;
  font-size: 0.85rem;
  border-top: 1px solid #eee;
}

/* Hero */
.maraton-hero {
  background: #c0392b;
  color: #fff;
  text-align: center;
  padding: 3.5rem 2rem 3rem;
  margin: 0 -1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.maraton-hero::before {
  content: "♥";
  position: absolute;
  font-size: 220px;
  opacity: 0.07;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}
.hero-datum {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}
.hero-naslov {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.hero-kraj {
  font-size: 1rem;
  opacity: 0.85;
}

/* Vsebina */
.vabilo-vsebina { color: #333; margin-bottom: 2.5rem; }
.vabilo-vsebina p { margin-bottom: 1.1rem; }

.info-pasica {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #eee;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  margin: 2rem 0;
}
.info-blok {
  background: #fff;
  padding: 1.1rem 1rem;
  text-align: center;
}
.info-blok .st { font-size: 1.4rem; font-weight: 700; color: #c0392b; }
.info-blok .opis { font-size: 0.78rem; color: #666; margin-top: 2px; }

/* Razdelilnik */
.razdelilnik {
  border: none;
  border-top: 1px solid #eee;
  margin: 2.5rem 0;
}

/* Obrazec */
.prijava-naslov {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #111;
}
.prijava-podnaslov {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
@media (max-width: 500px) { .form-grid { grid-template-columns: 1fr; } .maraton-hero { margin: 0 -1.5rem 2rem; } .info-pasica { grid-template-columns: 1fr; } .hero-naslov { font-size: 1.6rem; } }

.form-vrstica { margin-bottom: 1.1rem; }

.form-vrstica label, .form-grid label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-vrstica input,
.form-vrstica select,
.form-grid input,
.form-grid select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: #111;
  transition: border-color 0.15s;
  appearance: auto;
}
.form-vrstica input:focus,
.form-vrstica select:focus,
.form-grid input:focus,
.form-grid select:focus {
  outline: none;
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

.strinjanje {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
}
.strinjanje input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #c0392b;
}

.prijavi-gumb {
  width: 100%;
  padding: 13px;
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.prijavi-gumb:hover { background: #a93226; }
.prijavi-gumb:disabled { background: #aaa; cursor: default; }

.prijava-uspeh {
  display: none;
  background: #fef5f5;
  border: 1px solid #f5b7b1;
  border-radius: 8px;
  padding: 16px 20px;
  color: #922b21;
  font-size: 0.92rem;
  margin-top: 1rem;
  text-align: center;
  line-height: 1.6;
}
