/*
Theme Name: StellaHub
Theme URI: https://stellahub.eu
Description: Custom WordPress Theme für StellaHub Minecraft Server
Version: 1.0.0
Author: StellaHub Team
Author URI: https://stellahub.eu
Text Domain: stellahub
*/

:root {
  --primary: #00d4ff;
  --primary-hover: #00b8e6;
  --primary-dark: #0099cc;
  --bg-dark: #0a0e27;
  --bg-light: #1a1f3a;
  --bg-card: #232940;
  --text: #f5f5f5;
  --text-secondary: #b8c5d6;
}

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

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header */
.stellahub-header {
  background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
  border-bottom: 2px solid var(--primary);
}

.stellahub-header img {
  max-width: 120px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.stellahub-header img:hover {
  transform: scale(1.05);
}

/* Mobile Navigation */
.stellahub-nav {
  background: var(--bg-light);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  border-bottom: 1px solid var(--primary);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--bg-dark);
  border: none;
  padding: 15px 20px;
  font-size: 1.2em;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-weight: bold;
  transition: background 0.3s ease;
}

.menu-toggle:hover {
  background: var(--primary-hover);
}

.menu-toggle::after {
  content: '☰';
  float: right;
  font-size: 1.5em;
}

.menu-toggle.active::after {
  content: '✕';
}

.stellahub-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  padding: 12px 20px;
  margin: 0;
}

.stellahub-nav li {
  display: inline-block;
}

.stellahub-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  display: block;
  border: 2px solid transparent;
  font-size: 0.95em;
}

.stellahub-nav a:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.stellahub-nav a.active,
.stellahub-nav .current-menu-item a,
.stellahub-nav .current_page_item a {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

/* Main Content */
.stellahub-main {
  padding: 30px 15px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-card) 100%);
  border-radius: 20px;
  margin-bottom: 40px;
  border: 2px solid var(--primary);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.hero h1 {
  font-size: 2.2em;
  color: var(--primary);
  margin-bottom: 15px;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero .subtitle {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.hero .server-status {
  display: inline-block;
  background: var(--bg-dark);
  padding: 20px 25px;
  border-radius: 12px;
  margin: 20px 0;
  border: 2px solid var(--primary);
  width: 100%;
  max-width: 500px;
}

.hero .status-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--bg-dark);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 0.95em;
}

.hero .server-ip {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--primary);
  margin: 10px 0;
  font-family: 'Courier New', monospace;
  word-break: break-all;
}

.ip-copy-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.copy-btn {
  background: var(--primary);
  color: var(--bg-dark);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 0.9em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.copy-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.copy-btn.copied {
  background: #00ff88;
  color: var(--bg-dark);
}

.copy-btn:active {
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--bg-dark);
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 8px;
  border: 2px solid var(--primary);
  font-size: 1em;
}

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

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

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

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.card {
  background: var(--bg-card);
  padding: 25px;
  border-radius: 15px;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.card-icon {
  font-size: 2.5em;
  margin-bottom: 15px;
  display: block;
}

.card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.3em;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95em;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.gallery img {
  width: 100%;
  border-radius: 15px;
  border: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.5);
}

h2 {
  color: var(--primary);
  text-align: center;
  margin: 35px 0 25px 0;
  font-size: 2em;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Footer */
.stellahub-footer {
  background: var(--bg-light);
  text-align: center;
  padding: 25px 15px;
  border-top: 2px solid var(--primary);
  margin-top: 50px;
  font-size: 0.9em;
}

.stellahub-footer a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}

.stellahub-footer a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .stellahub-nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  
  .stellahub-nav ul.active {
    display: flex;
  }
  
  .stellahub-nav li {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--bg-dark);
  }
  
  .stellahub-nav a {
    width: 100%;
    text-align: center;
    padding: 15px;
    border-radius: 0;
  }
  
  .hero h1 {
    font-size: 1.8em;
  }
  
  .hero .subtitle {
    font-size: 1em;
  }
  
  .hero .server-ip {
    font-size: 1.1em;
  }
  
  .ip-copy-container {
    flex-direction: column;
    gap: 12px;
  }
  
  .copy-btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
  
  .btn {
    display: block;
    margin: 10px auto;
    max-width: 280px;
  }
  
  .info-cards {
    grid-template-columns: 1fr;
  }
  
  h2 {
    font-size: 1.6em;
  }
}

@media (max-width: 480px) {
  .stellahub-header img {
    max-width: 100px;
  }
  
  .hero {
    padding: 25px 15px;
  }
  
  .hero h1 {
    font-size: 1.5em;
  }
  
  .card {
    padding: 20px;
  }
}
