/* =============================================================
   Velia Slide · style.css
   Palette coordinata al logo: blu notte + rosso accento
============================================================= */

/* ---------- RESET MINIMO ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: #222; background: var(--bg); line-height: 1.5; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
img { max-width: 100%; display: block; image-orientation: from-image; }
button { font-family: inherit; }

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Palette */
  --blue:      #1B3A6B;   /* blu notte */
  --blue-dk:   #0F2547;
  --blue-sky:  #4B80CA;
  --red:       #D62828;   /* rosso accento */
  --red-dk:    #A01E1E;
  --gold:      #D4A344;   /* gold opzionale per premium */
  --gold-lt:   #F4E0A3;
  --bg:        #F8F6F2;
  --off-white: #F2EFE9;
  --gray:      #888;
  --gray-lt:   #E5E0D8;
  --dark:      #222;

  /* Font stacks */
  --font-display: 'Bebas Neue', Impact, 'Arial Narrow Bold', sans-serif;
  --font-body:    'Crimson Pro', Georgia, 'Times New Roman', serif;
  --font-mono:    'JetBrains Mono', 'Consolas', monospace;
  --font-sans:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Geometria */
  --radius:    8px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.25);

  /* Logo path (modifica qui se sposti il logo) */
  --vds-logo: url('/vediamoleinsala/VediamoleInSala.jpg');
}

/* ---------- HEADER SITO ---------- */
.vds-header {
  background: #fff;
  border-bottom: 2px solid var(--blue);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.vds-header .logo-img {
  height: 42px;
  width: auto;
}
.vds-header nav {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.vds-header nav a {
  color: var(--blue);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.vds-header nav a:hover, .vds-header nav a.active {
  border-bottom-color: var(--red);
}

/* ---------- COMPONENTI CONDIVISI ---------- */
.vds-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.vds-btn.primary { background: var(--red); color: #fff; }
.vds-btn.primary:hover { background: var(--red-dk); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(214,40,40,0.3); }
.vds-btn.ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.vds-btn.ghost:hover { background: var(--blue); color: #fff; }
.vds-btn.small { padding: 6px 12px; font-size: 0.7rem; }
.vds-btn.danger { background: #fff; color: var(--red); border: 1.5px solid var(--red); }
.vds-btn.danger:hover { background: var(--red); color: #fff; }

.vds-field { margin-bottom: 14px; }
.vds-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
  margin-bottom: 5px;
}
.vds-field input, .vds-field textarea, .vds-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-lt);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s;
}
.vds-field input:focus, .vds-field textarea:focus, .vds-field select:focus {
  outline: none; border-color: var(--blue);
}
.vds-field textarea { resize: vertical; min-height: 70px; }
.vds-field .hint { font-size: 0.8rem; color: var(--gray); margin-top: 4px; }

.vds-msg { padding: 12px 16px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 16px; display: none; }
.vds-msg.error { background: rgba(214,40,40,0.08); border-left: 4px solid var(--red); color: var(--red-dk); display: block; }
.vds-msg.ok { background: rgba(58,125,68,0.08); border-left: 4px solid #3A7D44; color: #2d5f36; display: block; }

.hidden { display: none !important; }

/* ---------- FOOTER ---------- */
.vds-footer {
  text-align: center;
  padding: 30px 20px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  border-top: 1px solid var(--gray-lt);
  margin-top: 60px;
}
.vds-footer a { color: var(--blue); text-decoration: underline; }
