:root {
  --gold: #d4a017;
  --gold-light: #f4c542;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* BACKGROUND */
body {
  color: white;

  background-image: 
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)),
    url("/images/background.jpg?v=5");

  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* HEADER */
header {
  position: fixed;
  width: 100%;
  height: 70px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,160,23,0.3);
  z-index: 1000;
}

/* NAVBAR */
.topbar {
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 30px;
}

/* NAV */
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-right {
  justify-content: flex-end;
}

/* BUTOANE NAVBAR */
.nav-left a,
.nav-right a {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 38px;
  padding: 0 16px;

  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;

  border: 1px solid rgba(212,160,23,0.5);
  color: white;
  background: rgba(255,255,255,0.05);

  transition: 0.3s;
}

.nav-left a:hover,
.nav-right a:hover {
  background: linear-gradient(45deg, #d4a017, #f4c542);
  color: black;
  box-shadow: 0 0 12px rgba(212,160,23,0.7);
}

/* LOGO */
.logo-center {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-center img {
  height: 110px;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  animation: glow 3s infinite ease-in-out;
}

/* GLOW */
@keyframes glow {
  0% { filter: drop-shadow(0 0 5px rgba(212,160,23,0.3)); }
  50% { filter: drop-shadow(0 0 20px rgba(212,160,23,1)); }
  100% { filter: drop-shadow(0 0 5px rgba(212,160,23,0.3)); }
}

/* HERO */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 20px;
}

.hero-subtitle {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 0.8rem;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 10px 0;
}

.hero p {
  color: #ddd;
  margin-bottom: 20px;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(45deg, #d4a017, #f4c542);
  color: black;
}

.btn-outline {
  border: 1px solid rgba(212,160,23,0.5);
  color: white;
}

.btn-outline:hover {
  background: var(--gold);
  color: black;
}

/* SECTIONS */
section {
  padding: 20px;
}

.container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.section-title {
  color: var(--gold);
  margin-bottom: 10px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 15px;
}

.card {
  background: rgba(0,0,0,0.7);
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(212,160,23,0.2);
}

.card h3 {
  color: var(--gold);
}

/* PANEL */
.panel {
  max-width: 420px;
  margin: 120px auto;
  padding: 30px 25px;
  border-radius: 16px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212,160,23,0.4);
  box-shadow: 0 0 20px rgba(212,160,23,0.2);
  text-align: center;
}

/* INPUT + SELECT + TEXTAREA */
input,
select,
textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(212,160,23,0.3);
  background: rgba(255,255,255,0.05);
  color: white;
}

/* FIX SELECT */
select option {
  background: #111;
  color: white;
}

/* BUTTON */
button {
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(45deg, #d4a017, #f4c542);
  color: black;
}

button:hover {
  box-shadow: 0 0 15px rgba(212,160,23,0.8);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  color: var(--gold);
}

/* MOBILE */
@media (max-width: 768px) {

  header {
    overflow: visible;
  }

  .topbar {
    overflow: visible;
  }

  .nav-left,
  .nav-right {
    display: flex;
    gap: 6px;
  }

  .nav-left a,
  .nav-right a {
    height: 32px;
    padding: 0 10px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .logo-center img {
    height: 100px;
    top: -30px;
    z-index: 2000;
  }

  .hero {
    padding-top: 160px;
  }

}

/* 🔥 STATUS FINAL (CORECT) */
.status {
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 600;
}

.status-asteptare {
  background: linear-gradient(45deg, orange, #ffb347);
  color: #111 !important;
}

.status-lucru {
  background: linear-gradient(45deg, #007bff, #00c6ff);
  color: white !important;
}

.status-rezolvat {
  background: linear-gradient(45deg, #28a745, #5cd65c);
  color: white !important;
}