/* Pantheon MUD - Main Stylesheet */
/* Viking, Greek, and Egyptian Mythology Theme */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --primary-gold: #d4af37;
  --primary-dark: #1a1a1a;
  --primary-light: #f5f5f5;
  --accent-blue: #2e4a7a;
  --accent-red: #8b0000;
  --accent-green: #2f5233;

  /* Norse Colors */
  --norse-blue: #1e3a8a;
  --norse-silver: #c0c0c0;
  --norse-ice: #e6f3ff;

  /* Greek Colors */
  --greek-gold: #ffd700;
  --greek-white: #ffffff;
  --greek-blue: #0066cc;

  /* Egyptian Colors */
  --egyptian-gold: #daa520;
  --egyptian-sand: #f4e4bc;
  --egyptian-blue: #1e40af;

  /* Typography */
  --font-primary: "Cinzel", serif;
  --font-secondary: "Crimson Text", serif;
  --font-body: "Crimson Text", serif;

  /* Shadows */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.3);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #daa520 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  --gradient-norse: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  --gradient-greek: linear-gradient(135deg, #0066cc 0%, #4fc3f7 100%);
  --gradient-egyptian: linear-gradient(135deg, #daa520 0%, #f4e4bc 100%);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--primary-dark);
  background-color: var(--primary-light);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--primary-dark);
  box-shadow: var(--shadow-medium);
}

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

.btn-secondary {
  background: var(--gradient-dark);
  color: var(--primary-light);
  box-shadow: var(--shadow-medium);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.2rem;
}

/* Navigation */
.navbar {
  background: var(--gradient-dark);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-medium);
}

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

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--primary-gold);
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-logo i {
  font-size: 1.8rem;
  color: var(--primary-gold);
}

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

.nav-link {
  text-decoration: none;
  color: var(--primary-light);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-gold);
}

.nav-link:hover::after {
  width: 100%;
}

/* Active page styling */
.nav-link.active {
  color: var(--primary-gold);
}
.nav-link.active::after {
  width: 100%;
  background: var(--primary-gold);
}

.webclient-btn {
  background: var(--gradient-gold);
  color: var(--primary-dark);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 600;
}

.webclient-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-light);
  margin: 3px 0;
  transition: 0.3s;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

/* Footer */
.footer {
  background: var(--gradient-dark);
  color: var(--primary-light);
  padding: 3rem 0 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

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

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-gold);
}

.footer-section i {
  margin-right: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--gradient-dark);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-medium);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

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

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-dark);
  border: 1px solid var(--primary-gold);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-heavy);
  list-style: none;
  margin-top: 0.5rem;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--primary-light);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary-gold);
  padding-left: 1.5rem;
}

.dropdown-menu a i {
  margin-right: 0.5rem;
  width: 1.2em;
  text-align: center;
}

.nav-link .fa-chevron-down {
  font-size: 0.75rem;
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-link .fa-chevron-down {
  transform: rotate(180deg);
}
