/* Camino Quizzer base.css */

:root{
  --camino-yellow:#F4C430;
  --camino-blue:#1E4E8C;
  --camino-red:#D64545;
  --camino-green:#2E8B57;
  --paper:#F8F1E5;
  --ink:#1F2937;
  --muted:#6B7280;

  --radius:18px;
  --shadow:0 10px 25px rgba(0,0,0,.10);
  --shadow-soft:0 6px 18px rgba(0,0,0,.08);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(244,196,48,.18), transparent 40%),
    radial-gradient(circle at bottom, rgba(30,78,140,.16), transparent 45%),
    #fff;
}

a{ color: var(--camino-blue); text-decoration:none; }
a:hover{ text-decoration:underline; }

.wrap{
  width:min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* Top bar */
.topbar{
  position: sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(31,41,55,.08);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

/* Brand icon in header */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  height: 54px;        /* compact height */
  width: auto;
  border-radius: 50%;  /* keeps circular look */
}

/* Slightly smaller on very small screens */
@media (max-width: 480px) {
  .brand-icon {
    height: 28px;
  }
}


.brand-mark{
  display:inline-flex;
  width:34px;
  height:34px;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244,196,48,.95), rgba(214,69,69,.75));
  color: #111;
  box-shadow: var(--shadow-soft);
}

.brand-name{ color: var(--ink); letter-spacing:.2px; }

.nav{ display:flex; align-items:center; gap: 14px; }

.pill{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31,41,55,.06);
  color: var(--ink);
  font-weight: 650;
}

.pill-primary{
  background: linear-gradient(135deg, var(--camino-yellow), rgba(244,196,48,.75));
}

/* Cards + layout */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card{
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  border: 1px solid rgba(31,41,55,.06);
}

.card.paper{
  background: linear-gradient(180deg, var(--paper), #fff);
}

.hero{
  margin: 22px 0;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 30%, rgba(244,196,48,.28), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(214,69,69,.18), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(46,139,87,.16), transparent 50%),
    white;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31,41,55,.06);
}

.hero h1{ margin:0 0 8px 0; font-size: 30px; }
.hero p{ margin:0; color: var(--muted); font-size: 15px; }

h2{ margin: 22px 0 10px; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 0;
  cursor:pointer;
  font-weight: 750;
  background: rgba(31,41,55,.08);
  color: var(--ink);
}

.btn:hover{ filter: brightness(.98); }

.btn-primary{
  background: linear-gradient(135deg, var(--camino-blue), rgba(30,78,140,.78));
  color: white;
}

.btn-good{
  background: linear-gradient(135deg, var(--camino-green), rgba(46,139,87,.78));
  color: white;
}

.btn-danger{
  background: linear-gradient(135deg, var(--camino-red), rgba(214,69,69,.78));
  color: white;
}

/* Forms */
label{ display:block; font-weight: 700; margin: 12px 0 6px; }
input, textarea, select{
  width:100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(31,41,55,.14);
  outline: none;
  background: white;
}
input:focus, textarea:focus, select:focus{
  border-color: rgba(30,78,140,.5);
  box-shadow: 0 0 0 4px rgba(30,78,140,.12);
}

.row{ display:flex; gap: 12px; flex-wrap:wrap; }
.row > *{ flex: 1; min-width: 220px; }

/* Alerts */
.alert{
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(31,41,55,.08);
}
.alert-danger{ background: rgba(214,69,69,.10); border-color: rgba(214,69,69,.25); }
.alert-success{ background: rgba(46,139,87,.10); border-color: rgba(46,139,87,.25); }

.muted{ color: var(--muted); }
.small{ font-size: 12px; }

/* Albergue + quiz cards */
.tag{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(244,196,48,.18);
  border: 1px dashed rgba(244,196,48,.55);
}

.badge-stamp{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 2px dashed rgba(214,69,69,.55);
  background: rgba(214,69,69,.08);
  color: var(--camino-red);
  font-weight: 800;
}

/* Quiz */
.progress{
  height: 10px;
  border-radius: 999px;
  background: rgba(31,41,55,.10);
  overflow:hidden;
}
.progress > div{
  height: 100%;
  background: linear-gradient(90deg, var(--camino-yellow), var(--camino-blue));
  width: 0;
}

.choice{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(31,41,55,.10);
  cursor:pointer;
  background: white;
}
.choice:hover{ background: rgba(31,41,55,.03); }

/* Footer */
.footer{
  margin-top: 30px;
  padding: 24px 0;
  border-top: 1px solid rgba(31,41,55,.08);
  background: rgba(255,255,255,.65);
}
.footer-inner{ display:flex; justify-content:space-between; align-items:center; gap: 12px; flex-wrap:wrap; }

@media (max-width: 720px){
  .nav{ gap: 10px; }
  .hero h1{ font-size: 24px; }
}

