/* assets/css/app.css */
:root {
  --bg: #0F172A;
  --card: #111827;
  --line: #1F2937;
  --text: #E5E7EB;
  --muted: #9CA3AF;
  --primary: #1D4ED8;
  --accent: #0EA5E9;
  --success: #10B981;
  --danger: #EF4444;
  --gold: #FFD700;
  --gold-line: #DAA520;
}
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font-family: ui-sans-serif, system-ui, Segoe UI, Roboto, Arial; }
a { color: var(--accent); text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 1rem; }
.site-header .nav { display:flex; align-items:center; justify-content:space-between; padding:1rem; border-bottom:1px solid var(--line); background:rgba(0,0,0,0.2); position:sticky; top:0; backdrop-filter: blur(6px); }
.brand { display:flex; align-items:center; gap:.75rem; }
.logo { width:28px; height:28px; border-radius:6px; background:linear-gradient(135deg,#1D4ED8,#0EA5E9); }
.brand-name { font-weight:700; color:#fff; }
.menu a { margin-left: 1rem; }
.btn { background:transparent; border:1px solid var(--line); color:#fff; padding:.5rem .8rem; border-radius:8px; }
.btn-primary { background:var(--primary); border-color:var(--primary); }
.card { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:1rem; box-shadow:0 10px 30px rgba(0,0,0,0.35); margin:.75rem 0; }
.grid-2 { display:grid; grid-template-columns:1.2fr 1fr; gap:1.2rem; }
.translator { position: fixed; top: 12px; right: 12px; z-index: 999; }
.translator .goog-te-combo {
  background: var(--gold);
  color: #111;
  border: 1px solid var(--gold-line);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.translator .goog-te-combo:hover { background:#FFC107; }

/* Admin Panel Layout */
.admin-layout {
  display: flex;
  gap: 2rem;
}

.sidebar {
  width: 220px;
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 8px;
}

.sidebar h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar nav ul li {
  margin: .6rem 0;
}

.sidebar nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.sidebar nav ul li a:hover {
  color: var(--accent);
}

.admin-content {
  flex: 1;
}

/* === Footer Styling === */
.site-footer {
  background-color: #f8f9fa; /* light gray background */
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid #ddd;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
  color: #222;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  text-decoration: none;
  color: #555;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #0066cc; /* Chase blue hover */
}

.footer-col.social a {
  display: inline-block;
  margin-right: 0.5rem;
}

.footer-col.social img {
  width: 24px;
  height: 24px;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}

.footer-col.social img:hover {
  filter: none; /* full color on hover */
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

/* Navigation bar layout */
.main-nav {
  display: flex;
  justify-content: space-between; /* nav links on left, translator on right */
  align-items: center;
  background: #fff;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #ddd;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.translate-widget {
  margin-left: auto; /* push translator to far right */
}

/* Optional: shrink the dropdown styling */
.goog-te-gadget {
  font-size: 0.85rem !important;
}

.goog-te-gadget .goog-te-combo {
  padding: 0.25rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.menu {
  display: flex;
  gap: 1rem; /* adds spacing between Dashboard and Log out */
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.logout-btn {
  margin-left: auto; /* pushes Log out to the far right */
}
