/* Theme variables */
:root {
  --bg-color: #fff;
  --text-color: #222;
  --accent: #007bff;
  --card-bg: #f8f9fa;
  --card-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
[data-theme="dark"] {
  --bg-color: #181818;
  --text-color: #eee;
  --card-bg: #232323;
  --card-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Base styles */
body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', Arial, sans-serif;
  transition: background 0.3s, color 0.3s;
}
.navbar, .footer {
  transition: background 0.3s, color 0.3s;
}
.card {
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  border: none;
  border-radius: 1rem;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12);}
.download-btn {
  border-radius: 2rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  transition: background 0.2s, color 0.2s;
}
.download-btn:hover {
  background: var(--accent);
  color: #fff;
}
.social-icon {
  width: 36px;
  height: 36px;
  margin: 0 0.5rem;
  fill: var(--text-color);
  transition: fill 0.2s;
}
.social-icon:hover { fill: var(--accent);}
.section-title {
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.lead {
  font-size: 1.25rem;
  font-weight: 400;
}
.footer {
  background: #181818;
  color: #eee;
  padding: 2rem 0 1rem 0;
}
.footer a {
  color: #bbb;
  text-decoration: underline;
}
.footer a:hover { color: var(--accent);}
section[id] {
  scroll-margin-top: 90px; /* Adjust to match your navbar height */
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .navbar-brand img { max-width: 100px;}
  .section-title { font-size: 2rem;}
}

/* Make screenshots section images smaller */
#screenshots .card-img-top {
  max-width: 180px;
  margin: 0 auto;
  display: block;
  cursor: pointer;
}

/* Modal image sizing */
#modalScreenshotImg {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
}
