/* ======================================
   RegValue — Secure & SEO-Optimised Style
   Colours: Deep Blue (#0A2463), Gold (#E6B325)
====================================== */

:root {
  --primary: #0A2463;
  --accent: #E6B325;
  --success: #10B981;
  --danger: #EF4444;
  --grey: #64748B;
  --light: #F8F9FA;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(10,36,99,0.15);
  --border: #E5E7EB;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  background: #fff;
  color: #1E1E24;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Header */
header {
  background: var(--primary);
  color: white;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.logo span { color: white; }

nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
nav a { color: white; font-weight: 500; transition: color 0.25s; }
nav a:hover, nav a.active { color: var(--accent); }
nav .btn-sm { background: var(--accent); color: var(--primary); padding: 0.5rem 1rem; border-radius: 6px; font-weight: 700; }
nav .btn-sm:hover { background: #D4A21F; }

/* Security Bar */
.security-bar {
  background: #081C47;
  color: white;
  padding: 0.6rem 5%;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.security-item { display: flex; align-items: center; gap: 0.4rem; }
.security-item strong { color: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2563EB 100%);
  color: white;
  padding: 3.5rem 5%;
  text-align: center;
}

.hero h1 { font-size: 2.4rem; margin-bottom: 1rem; line-height: 1.2; }
.hero p { font-size: 1.15rem; max-width: 700px; margin: 0 auto 2rem; opacity: 0.95; }

.search-bar {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

.search-bar input {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  border: none;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-gold { background: var(--accent); color: var(--primary); }
.btn-gold:hover { background: #D4A21F; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #081C47; }
.btn-outline { background: white; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }

/* Sections */
.section { padding: 3rem 5%; }
.section h2 { text-align: center; font-size: 2rem; color: var(--primary); margin-bottom: 2rem; }

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Listing Cards */
.listing-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--border);
}

.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.listing-card.featured { border-top: 4px solid var(--accent); }

.listing-plate {
  background: #000;
  color: white;
  font-size: 1.8rem;
  font-weight: 900;
  text-align: center;
  padding: 1.2rem;
  letter-spacing: 2px;
}

.listing-body { padding: 1.2rem; }
.listing-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin: 0.5rem 0; }
.badge { display: inline-block; font-size: 0.75rem; padding: 0.25rem 0.6rem; border-radius: 20px; font-weight: 600; margin-bottom: 0.5rem; }
.badge-premium { background: #FEF3C7; color: #B45309; }
.badge-featured { background: #DBEAFE; color: #1E40AF; }

/* Pricing Cards */
.package-card {
  background: white;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s;
}

.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.package-card.featured { border-color: var(--accent); transform: scale(1.03); }
.package-name { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: 0.5rem; }
.package-price { font-size: 2.2rem; font-weight: 900; margin-bottom: 0.3rem; }
.package-price span { font-size: 1rem; font-weight: 500; color: var(--grey); }
.package-desc { color: var(--grey); margin-bottom: 1.5rem; }
.package-features li { padding: 0.5rem 0; border-bottom: 1px solid var(--light); }
.package-features li:last-child { border-bottom: none; }
.package-features .yes { color: var(--success); font-weight: 600; }
.package-features .no { color: var(--danger); text-decoration: line-through; opacity: 0.6; }

/* Forms */
.form-container {
  max-width: 520px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.form-container h2 { text-align: center; margin-bottom: 1.8rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: #333; }
.form-group input, .form-group select {
  width: 100%;
  padding: 0.9rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,36,99,0.1); }

/* Contact Info Box */
.contact-box {
  background: var(--light);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.contact-option { padding: 1rem; border-radius: 8px; margin-bottom: 0.8rem; }
.option-direct { background: #EFF6FF; border-left: 4px solid var(--primary); }
.option-via { background: #FFFBEB; border-left: 4px solid var(--accent); }

/* Footer */
footer {
  background: #1E1E24;
  color: white;
  padding: 3rem 5%;
  margin-top: 3rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
footer h4 { margin-bottom: 1rem; color: var(--accent); }
footer a { display: block; color: #ccc; margin-bottom: 0.5rem; }
footer a:hover { color: white; }
.footer-bottom { text-align: center; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #333; color: #888; font-size: 0.9rem; }

/* Responsive — Mobile First */
@media (max-width: 768px) {
  header { flex-direction: column; gap: 1rem; padding: 1rem 3%; }
  .hero h1 { font-size: 1.8rem; }
  .search-bar { flex-direction: column; width: 100%; }
  .search-bar .btn { width: 100%; justify-content: center; }
  nav { gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
  .form-container { padding: 1.8rem; margin: 0 3%; }
  .security-bar { gap: 1rem; }
}