@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
}

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

/* Header Styles */
.site-header {
  background-color: #2c3e50;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.site-title a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Desktop Navigation */
.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #ecf0f1;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-link:hover {
  background-color: rgba(255,255,255,0.1);
}

.nav-link.active {
  background-color: #34495e;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle::after {
  content: ' ▼';
  font-size: 0.7em;
  margin-left: 0.3rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #34495e;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-radius: 4px;
  margin-top: 0.5rem;
  z-index: 1000;
}

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

.dropdown-link {
  display: block;
  color: #ecf0f1;
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.dropdown-link:hover {
  background-color: #2c3e50;
}

.dropdown-link:first-child {
  border-radius: 4px 4px 0 0;
}

.dropdown-link:last-child {
  border-radius: 0 0 4px 4px;
}

/* Mobile Menu Toggle - Hidden on Desktop */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
  position: relative;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s;
  position: absolute;
}

.mobile-menu-toggle span:nth-child(1) {
  top: 6px;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 13px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 20px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 13px;
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 13px;
}

/* Hero Image Section */
.hero-image-section {
  position: relative;
  width: 100%;
  margin-top: 60px; /* Account for fixed header */
  overflow: hidden;
  background-color: #000000;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  object-fit: cover;
}

/* Dark overlay to dim the image */
.hero-image-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* 40% black overlay to dim the image */
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  color: white;
  text-align: center;
  z-index: 1;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  font-weight: 700;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Content */
main {
  padding: 3rem 0;
  min-height: calc(100vh - 400px);
}

.intro-section {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.intro-section h2 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.intro-section p {
  font-size: 1.1rem;
  color: #e0e0e0;
  max-width: 700px;
  margin: 0 auto;
}

.home-section {
  background: #1a1a1a;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #333;
  border-radius: 8px;
}

.home-section h2 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #333;
}

.updates-list {
  list-style: none;
}

.updates-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #333;
  color: #e0e0e0;
}

.updates-list li:last-child {
  border-bottom: none;
}

.updates-list strong {
  color: #ffffff;
}

/* Resource Grid */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.resource-card {
  padding: 1.5rem;
  background: #1a1a1a;
  border-radius: 6px;
  border: 1px solid #333;
  transition: transform 0.3s, box-shadow 0.3s;
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.resource-card h3 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.resource-card p {
  color: #e0e0e0;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

/* General Typography */
h1, h2, h3 {
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: #e0e0e0;
}

ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: #e0e0e0;
}

ul li {
  color: #e0e0e0;
}

a {
  color: #5dade2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Tablet Styles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    align-items: stretch;
  }
  
  .site-nav.active {
    display: flex;
  }
  
  .nav-link {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    width: 100%;
    text-align: left;
    display: block;
  }
  
  .dropdown-toggle {
    width: 100%;
    text-align: left;
    display: block;
  }
  
  .nav-link:hover {
    background-color: #34495e;
  }
  
  .dropdown {
    width: 100%;
    display: block;
  }
  
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    background-color: #3a4f63;
    margin-top: 0;
    border-radius: 0;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown-link {
    padding-left: 2.5rem;
    border-radius: 0;
    text-align: left;
  }
  
  .hero-overlay h1 {
    font-size: 2.5rem;
  }
  
  .hero-overlay p {
    font-size: 1rem;
  }
  
  .intro-section h2 {
    font-size: 1.75rem;
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  .site-title a {
    font-size: 1.25rem;
  }
  
  .hero-image-section {
    margin-top: 55px;
  }
  
  .hero-image {
    max-height: 400px;
  }
  
  .hero-overlay {
    padding: 2rem 0 1.5rem;
  }
  
  .hero-overlay h1 {
    font-size: 2rem;
  }
  
  main {
    padding: 2rem 0;
  }
  
  .intro-section {
    padding: 1.5rem 0;
  }
  
  .intro-section h2 {
    font-size: 1.5rem;
  }
  
  .intro-section p {
    font-size: 1rem;
  }
  
  .home-section {
    padding: 1.5rem;
    border-radius: 6px;
  }
  
  .home-section h2 {
    font-size: 1.25rem;
  }
  
  ul {
    margin-left: 1.5rem;
  }
}