:root {
  /* Theme Colors */
  --bg-body: #0a0a0a;
  --bg-surface: #141414;
  --bg-surface-elevated: #1f1f1f;
  
  --text-main: #f5f5f5;
  --text-muted: #a3a3a3;
  --text-inverse: #0a0a0a;

  --accent-primary: #c5a059; /* Muted Gold */
  --accent-hover: #e0b86a;
  --accent-light: rgba(197, 160, 89, 0.1);
  
  --border-color: #333333;
  --border-light: #444444;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 48px;
  --spacing-xxl: 80px;

  /* Fonts */
  --font-serif: "Times New Roman", serif; /* Classic Legal feel */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 32px rgba(0,0,0,0.5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-main);
  margin-top: 0;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; margin-bottom: var(--spacing-lg); }
h3 { font-size: 1.75rem; margin-bottom: var(--spacing-md); }

a { text-decoration: none; color: inherit; transition: color 0.2s; }
p { margin-bottom: var(--spacing-md); color: var(--text-muted); }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-xxl) 0;
}

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.dashboard-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: 1fr 2fr;
}

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .dashboard-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: var(--spacing-md) 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand span { color: var(--accent-primary); }

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px; /* Slight rounded for classic feel, not full pill */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
}

.btn-outline:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, #1f1f1f 0%, #0a0a0a 60%);
  border-bottom: 1px solid var(--border-color);
  padding-top: var(--spacing-xxl);
}

.hero-content { max-width: 650px; }
.hero-tag {
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: var(--spacing-md);
  display: block;
}

/* Cards */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: var(--spacing-lg);
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
}

/* Team Card */
.team-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover { transform: translateY(-5px); border-color: var(--accent-primary); }

.team-image { height: 280px; width: 100%; background-color: var(--bg-surface-elevated); position: relative; }
.team-info { padding: var(--spacing-lg); }
.team-role { color: var(--accent-primary); font-size: 0.85rem; text-transform: uppercase; margin-bottom: var(--spacing-sm); display: block; }

/* Testimonials */
.testimonial-card {
  background: var(--bg-surface-elevated);
  padding: var(--spacing-xl);
  border-radius: 8px;
  position: relative;
}

.quote-icon {
  font-size: 4rem;
  color: var(--accent-light);
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: serif;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
  margin-bottom: var(--spacing-lg);
}

/* Forms */
.form-group { margin-bottom: var(--spacing-lg); }
.form-label { display: block; margin-bottom: var(--spacing-sm); color: var(--text-main); font-weight: 500; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.2s ease;
}
.form-input:hover {
  border-color: var(--border-light);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px var(--accent-light);
  background: var(--bg-surface-elevated);
}
textarea.form-input { min-height: 150px; resize: vertical; }

/* Footer */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-xxl) 0;
  margin-top: var(--spacing-xxl);
}

.footer-col h4 {
  color: var(--text-main);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-serif);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: var(--spacing-sm); }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent-primary); }

.copyright {
  text-align: center;
  margin-top: var(--spacing-xxl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Placeholders */
.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent-primary);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
}

/* Tables */
.table-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-surface);
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.table th, .table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
}

.table th {
  background: var(--bg-surface-elevated);
  font-family: var(--font-serif);
  color: var(--accent-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-active { background: rgba(197, 160, 89, 0.2); color: var(--accent-primary); }
.status-closed { background: rgba(66, 66, 66, 0.5); color: var(--text-muted); }
.status-pending { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

/* Utilities */
.text-center { text-align: center; }
.text-gold { color: var(--accent-primary); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mt-lg { margin-top: var(--spacing-lg); }
