/* Reset en basis stijlen */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  background-color: #0a1017;
  color: #fff;
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

body.light-mode {
  background-color: #f5f5f5;
  color: #333;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header en navigatie */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #1a2635;
  background-color: rgba(10, 16, 23, 0.95);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s;
}

.light-mode .header {
  background-color: rgba(245, 245, 245, 0.95);
  border-bottom: 1px solid #ddd;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo-nav {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.orange-text {
  color: #cc6e03;
}

.light-mode .logo-text {
  color: #000;
}

.light-mode .orange-text {
  color: #cc6e03;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  margin-left: 24px;
}

.main-nav li {
  margin-right: 16px;
  position: relative;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #cc6e03;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 200px;
  background-color: #111a24;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1;
  margin-top: 8px;
}

.light-mode .dropdown-content {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 8px 16px;
  color: #ccc;
  font-size: 14px;
  text-transform: none;
}

.light-mode .dropdown-content a {
  color: #666;
}

.dropdown-content a:hover {
  background-color: #cc6e03;
  color: #fff;
}

.header-buttons {
  display: flex;
}

.icon-button {
  background: none;
  border: none;
  color: #fff;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
}

.light-mode .icon-button {
  color: #333;
}

.icon-button:hover {
  background-color: #1a2635;
}

.light-mode .icon-button:hover {
  background-color: #e0e0e0;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  display: block;
}

#mobile-menu-button {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 10px;
  cursor: pointer;
  background-color: rgba(10, 16, 23, 0.8);
  border-radius: 4px;
}

.light-mode #mobile-menu-button {
  background-color: rgba(245, 245, 245, 0.8);
}

#mobile-menu-button span {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s;
}

.light-mode #mobile-menu-button span {
  background-color: #333;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: #111a24;
  z-index: 99;
  padding: 80px 20px 20px;
  transition: right 0.3s;
  overflow-y: auto;
}

.light-mode .mobile-nav {
  background-color: #fff;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
}

.mobile-nav li {
  margin-bottom: 16px;
}

.mobile-nav a {
  display: block;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("/images/police-hero.png");
  background-size: cover;
  background-position: center;
  padding: 96px 0;
}

/* Video Container */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 32px;
}

.hero-button-container {
  display: flex;
  justify-content: center;
}

/* Police Banner */
.police-banner {
  position: relative;
  width: 100%;
  height: 400px;
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
}

.police-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.police-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
  display: flex;
  align-items: center;
}

.police-banner-content {
  padding: 0 40px;
  max-width: 500px;
}

.police-banner-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.police-banner-content p {
  font-size: 18px;
  margin-bottom: 24px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  padding: 12px 24px;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #cc6e03;
  color: #fff;
}

.btn-primary:hover {
  background-color: #b05e00;
}

.btn-white {
  background-color: #fff;
  color: #cc6e03;
}

.btn-white:hover {
  background-color: #f0f0f0;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #cc6e03;
  color: #cc6e03;
}

.btn-outline:hover {
  background-color: #cc6e03;
  color: #fff;
}

.btn-full {
  width: 100%;
  display: block;
}

.btn-large {
  padding: 16px 24px;
  font-size: 18px;
}

/* News Section */
.news-section {
  padding: 64px 0;
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.news-card {
  background-color: #111a24;
  border-radius: 8px;
  overflow: hidden;
  transition: background-color 0.3s;
}

.light-mode .news-card {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
  background-color: #162130;
}

.light-mode .news-card:hover {
  background-color: #f9f9f9;
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 16px;
}

.news-category {
  display: block;
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
}

.light-mode .news-category {
  color: #666;
}

.news-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.news-content p {
  color: #ccc;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.light-mode .news-content p {
  color: #666;
}

.news-content a {
  color: #cc6e03;
}

.news-content a:hover {
  text-decoration: underline;
}

/* Features Section */
.features-section {
  background-color: #0d1620;
  padding: 64px 0;
  text-align: center;
}

.light-mode .features-section {
  background-color: #eee;
}

.features-section h2 {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.feature-card {
  background-color: #111a24;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}

.light-mode .feature-card {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background-color: #cc6e03;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: #999;
}

.light-mode .feature-card p {
  color: #666;
}

/* Discord Section */
.discord-section {
  background-color: #cc6e03;
  padding: 48px 0;
  text-align: center;
  color: #000;
}

.discord-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.discord-section p {
  font-size: 18px;
  margin-bottom: 24px;
}

/* Page Header */
.page-header {
  background-color: #0d1620;
  padding: 64px 0;
  text-align: center;
}

.light-mode .page-header {
  background-color: #eee;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 20px;
  color: #999;
  max-width: 600px;
  margin: 0 auto;
}

.light-mode .page-header p {
  color: #666;
}

/* Page Content */
.page-content-container {
  padding: 64px 0;
}

.content-box {
  background-color: #111a24;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
}

.light-mode .content-box {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.content-box:last-child {
  margin-bottom: 0;
}

.content-box h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.content-box h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.content-box p {
  color: #ccc;
  margin-bottom: 16px;
}

.light-mode .content-box p {
  color: #666;
}

.content-box p:last-child {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

/* Rules Styling */
.rules-list {
  margin-bottom: 32px;
}

.rules-list p {
  margin-bottom: 8px;
}

.rule-section {
  margin-bottom: 32px;
}

.rule-section:last-child {
  margin-bottom: 0;
}

.rule-subtitle {
  font-weight: 600;
  margin-bottom: 8px;
}

.rule-penalty {
  font-weight: 600;
  margin-top: 16px;
  color: #cc6e03;
}

.alert-box {
  background-color: #0a1017;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 32px;
}

.light-mode .alert-box {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
}

.alert-title {
  color: #f0b400;
  font-weight: 600;
  margin-bottom: 8px;
}

.code-box {
  background-color: #0a1017;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 24px;
}

.light-mode .code-box {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
}

.code-title {
  color: #f0b400;
  font-weight: 600;
  margin-bottom: 8px;
}

.light-mode .code-title {
  color: #cc6e03;
}

code {
  display: block;
  background-color: #070d13;
  padding: 12px;
  border-radius: 4px;
  color: #ccc;
  font-family: monospace;
  user-select: all;
}

.light-mode code {
  background-color: #eee;
  color: #333;
}

.inline-code {
  background-color: #0a1017;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.light-mode .inline-code {
  background-color: #eee;
  color: #333;
}

.numbered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 24px;
}

.numbered-list li {
  margin-bottom: 8px;
  color: #ccc;
}

.light-mode .numbered-list li {
  color: #666;
}

.numbered-list a {
  color: #cc6e03;
}

.numbered-list a:hover {
  text-decoration: underline;
}

/* Roleplay Basics */
.rp-concept {
  margin-bottom: 24px;
}

.commands-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.command-card {
  background-color: #0a1017;
  padding: 16px;
  border-radius: 4px;
}

.light-mode .command-card {
  background-color: #f5f5f5;
}

.command-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.command-example {
  background-color: #070d13;
  padding: 12px;
  border-radius: 4px;
  margin-top: 12px;
}

.light-mode .command-example {
  background-color: #eee;
}

.example-label {
  font-size: 14px;
  color: #999;
  margin-bottom: 4px;
}

.light-mode .example-label {
  color: #666;
}

.example-text {
  color: #cc6e03;
}

.tips-list {
  list-style-type: none;
}

.tips-list li {
  display: flex;
  margin-bottom: 16px;
}

.tip-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  margin-top: 4px;
  color: #cc6e03;
}

.tip-content {
  flex-grow: 1;
}

.tip-title {
  font-weight: 600;
  margin-bottom: 4px;
}

/* Sollicitatie Cards */
.sollicitatie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 40px 0;
}

.sollicitatie-card {
  background-color: #0a1017;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.light-mode .sollicitatie-card {
  background-color: #f5f5f5;
}

.sollicitatie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.sollicitatie-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sollicitatie-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sollicitatie-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.sollicitatie-card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.mt-8 {
  margin-top: 32px;
}

.mb-4 {
  margin-bottom: 16px;
}

/* Footer */
.footer {
  background-color: #070d13;
  padding: 32px 0;
}

.light-mode .footer {
  background-color: #eee;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.footer-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-info p {
  color: #999;
}

.light-mode .footer-info p {
  color: #666;
}

.footer-bottom {
  border-top: 1px solid #1a2635;
  padding-top: 24px;
  text-align: center;
}

.light-mode .footer-bottom {
  border-top: 1px solid #ddd;
}

.footer-bottom p {
  font-size: 14px;
  color: #999;
  margin-bottom: 4px;
}

.light-mode .footer-bottom p {
  color: #666;
}

.small-text {
  font-size: 14px;
  color: #999;
}

.light-mode .small-text {
  color: #666;
}

/* Page System */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* mt-4 */
.mt-4 {
  margin-top: 16px;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .main-nav {
    display: block;
  }

  .mobile-nav-toggle {
    display: none;
  }

  .hero h1 {
    font-size: 64px;
  }

  .news-grid,
  .features-grid,
  .commands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .button-container {
    text-align: center;
  }

  .police-banner-content {
    padding: 0 60px;
  }
}

@media (max-width: 767px) {
  .button-group {
    flex-direction: column;
  }

  .police-banner {
    height: 300px;
  }

  .police-banner-content h2 {
    font-size: 24px;
  }
}

/* Sollicitatie Cards - WSKRP Style */
.sollicitatie-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.sollicitatie-card {
  background-color: #0c1219;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #1a2635;
}

.sollicitatie-header {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.sollicitatie-logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sollicitatie-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sollicitatie-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.sollicitatie-content {
  padding: 0 20px 20px;
  flex-grow: 1;
}

.sollicitatie-content p {
  margin: 0;
  color: #a0a0a0;
  line-height: 1.6;
}

.sollicitatie-footer {
  padding: 0 20px 20px;
}

.sollicitatie-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #38b2e0;
  color: white;
  text-align: center;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.sollicitatie-btn:hover {
  background-color: #2c9ec9;
}

/* Responsive Sollicitatie Grid */
@media (min-width: 768px) {
  .sollicitatie-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sollicitatie-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
