@font-face {
  font-family: 'Minecraft';
  src: url('../fonts/minecraft-font.woff2') format('woff2'),
       url('../fonts/minecraft-font.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #4CAF50;  /* Minecraft green */
  --secondary-color: #8BC34A;  /* Lighter green */
  --accent-color: #FFC107;  /* Minecraft gold */
  --text-color: #333;
  --background-color: #f5f5f5;
  --white: #ffffff;
  --minecraft-border: 4px solid #000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Minecraft', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header & Navigation */
header {
  background-color: var(--primary-color);
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

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

.logo img {
  height: 50px;
}

.logo span {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

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

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--white);
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-radius: 8px;
  border: 2px solid var(--primary-color);
  overflow: hidden;
  z-index: 1000;
  animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

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

.dropdown-content li:first-child a {
  border-top: none;
}

.dropdown-content li {
  border-bottom: 1px solid rgba(76, 175, 80, 0.1);
}

.dropdown-content li:last-child {
  border-bottom: none;
}

.dropdown-content a {
  color: var(--text-color);
  padding: 12px 20px 12px 35px;
  display: block;
  transition: all 0.3s ease;
  position: relative;
  font-size: 1rem;
}

.dropdown-content a:hover {
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--primary-color);
  padding-left: 35px;
}

.dropdown-content a:hover::before {
  content: "→";
  position: absolute;
  left: 15px;
  color: var(--primary-color);
  opacity: 1;
  margin-right: 10px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/background.png') center/cover no-repeat;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  backdrop-filter: blur(3px);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.server-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.server-ip {
  font-size: 1.3rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  border: 2px solid var(--white);
}

.copy-ip {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background: var(--white);
  color: var(--primary-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.copy-ip:hover {
  background: var(--secondary-color);
  color: var(--white);
}

/* Features Section */
.features {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.plugin-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  border: var(--minecraft-border);
  position: relative;
  padding-bottom: 60px; /* Ruimte maken voor de button */
}

.plugin-card:hover {
  transform: translateY(-5px);
}

.plugin-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.plugin-card h3 {
  padding: 1rem;
  color: var(--primary-color);
}

.plugin-card p {
  padding: 0 1rem 1rem;
}

.plugin-card .btn {
  position: absolute;
  bottom: 0rem;
  left: 0rem;
  right: 0rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  margin: 1rem;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--secondary-color);
}

/* Join Us Section */
.join-us {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}

.cta-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-color);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: #333;
  color: var(--white);
  padding: 1rem 2rem;
  flex-shrink: 0;
  margin-top: auto;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-bottom a {
    color: var(--white);
}

.footer-bottom p {
  margin: 0;
}

/* Verwijder oude footer styling die niet meer nodig is */
.footer-content,
.footer-section,
.footer-section h4,
.footer-section ul,
.footer-section a {
  display: none;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none; /* Standaard verborgen op desktop */
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0 0.5rem;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-nav {
      position: relative; /* Nodig om het menu correct te positioneren */
  }

  .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: var(--primary-color);
      position: absolute;
      top: 100%;
      left: 0;
      padding: 1rem 0;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      z-index: 999;
  }

  .nav-links.active {
      display: flex; /* Toon het menu als het actief is */
  }

  .nav-links li {
      text-align: center;
      padding: 0.5rem 0;
      width: 100%;
  }

  .mobile-menu-toggle {
      display: block; /* Toon de knop op mobiel */
  }

  .dropdown-content {
      position: static;
      box-shadow: none;
      border: none;
      background-color: transparent;
  }

  .dropdown-content a {
      color: rgba(255, 255, 255, 0.8);
  }
  
  .hero h1 {
      font-size: 2rem;
  }
  
  .server-info {
      flex-direction: column;
  }
  
  .cta-buttons {
      flex-direction: column;
  }
}

/* Membership Page Styles */
.join-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.join-section h1 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.intro-text {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.membership-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.membership-card {
  background: var(--bg-color);
  border: var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}

.membership-card h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.membership-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.membership-card ul li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.membership-card ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.support-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.costs-section {
  background: var(--bg-color);
  border: var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 4rem;
}

.costs-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.costs-section ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.costs-section ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.costs-section ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.community-section {
  text-align: center;
  margin-bottom: 4rem;
}

.community-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.community-section p {
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .join-section {
      padding: 1rem;
  }

  .membership-options {
      grid-template-columns: 1fr;
  }

  .support-buttons {
      flex-direction: column;
  }
}

.support-intro {
  margin-bottom: 2rem;
  text-align: center;
}

.support-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.tier {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: left;
}

.tier h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.tier p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.tier ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tier ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
}

.tier ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .support-tiers {
      grid-template-columns: 1fr;
  }
}

/* Terms and Conditions Page Styles */
.terms-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.terms-section h1 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.last-updated {
  text-align: center;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.terms-content {
  background: var(--bg-color);
  border: var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.terms-content h2 {
  color: var(--primary-color);
  margin: 2rem 0 1rem;
  font-size: 1.3rem;
}

.terms-content h2:first-child {
  margin-top: 0;
}

.terms-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.terms-content ul {
  list-style: none;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.terms-content ul li {
  margin-bottom: 0.5rem;
  position: relative;
}

.terms-content ul li:before {
  content: "•";
  position: absolute;
  left: -1.5rem;
  color: var(--primary-color);
}

.terms-content a {
  color: var(--primary-color);
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .terms-section {
      padding: 1rem;
  }

  .terms-content {
      padding: 1.5rem;
  }
} 