/* Navigation Styles */
.main-nav {
  background-color: rgba(26, 26, 26, 0.95);
  position: fixed;
  height: 70px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 2px solid #d4af37;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #d4af37;
  height: 70px;
}

.nav-logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.nav-logo span {
  font-family: "Pirata One", cursive;
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 20px;
  height: 70px;
  align-items: center;
}

.nav-link {
  color: #e0e0e0;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #d4af37;
  background-color: rgba(212, 175, 55, 0.1);
}

.nav-link.active {
  color: #d4af37;
  border-bottom: 2px solid #d4af37;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none; /* Hide navigation links on mobile */
  }

  .main-nav {
    height: 50px;
  }

  .nav-container {
    height: 50px;
  }

  .nav-logo a {
    height: 50px;
  }

  .nav-logo img {
    height: 30px;
  }

  .nav-logo span {
    font-size: 1.2rem;
  }
}

/* Layout Styles */
.content-wrapper {
  padding-top: 60px; /* Height of nav bar */
  min-height: calc(100vh - 60px);
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* Fix any horizontal scroll */
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Global Styles */
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  background: #1a1a1a;
  color: #e0e0e0;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Hero Banner */
.about-banner {
  position: relative;
  min-height: 40vh;
  width: 100%;

  background-repeat: no-repeat;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url("/images/blog-bg.jpg");
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
}

/* Remove the ::before pseudo-element since we're using gradient in background-image */
.about-banner::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero-content h1 {
  font-family: "Pirata One", cursive;
  font-size: 3rem;
  margin: 0;
  color: #d4af37;
}

/* Content Styles */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.about-section {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-section h1,
.about-section h2,
.about-section h3 {
  font-family: "Pirata One", cursive;
  color: #d4af37;
  margin-bottom: 20px;
}

.about-content {
  line-height: 1.6;
}

/* Links */
a {
  color: #d4af37;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffffff;
}

/* Code Blocks */
pre {
  background-color: #2d2d2d;
  border-radius: 4px;
  padding: 15px;
  overflow-x: auto;
  margin: 20px 0;
}

code {
  font-family: "Courier New", Courier, monospace;
  color: #e0e0e0;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 20px 0;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .about-container {
    padding: 20px;
  }

  .about-section {
    padding: 20px;
  }

  .about-banner {
    background-attachment: scroll; /* Disable parallax on mobile for better performance */
  }
}
