/* black-wall-st.-events.css */

/* Global page settings for the Black Wall St. Events page */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* HERO SECTION: displays background image with dark overlay and white text */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh; /* Adjust as needed */
  text-align: center;
  padding: 100px 20px 40px; /* Provide spacing for header and footer */
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('BWSEBackground.jpg') no-repeat center center;
  background-size: cover;
}

.hero-content h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
}

/* EVENTS SECTION */
.events {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.events .event {
  margin-bottom: 40px;
}

.events .event h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.events .event p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.events .event .btn {
  padding: 10px 20px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.events .event .btn:hover {
  background: var(--secondary-color);
}

.event h3 a {
  color: #fff; /* or inherit from your design */
  text-decoration: none;
  padding: 10px 20px;
  background-color: var(--primary-color); /* your primary color */
  border-radius: 4px;
  transition: background 0.3s ease;
}

.event h3 a:hover {
  background-color: var(--secondary-color);
}


/* SUB-NAVIGATION */
.sub-nav {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}

.sub-nav ul {
  list-style: none;
  padding: 0;
}

.sub-nav ul li {
  display: inline-block;
  margin: 0 15px;
}

.sub-nav ul li a {
  text-decoration: none;
  font-size: 1.1rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.sub-nav ul li a:hover {
  color: var(--secondary-color);
}

/* Dropdown Menu Styles for Navigation (if needed globally) */
.nav-links li.dropdown {
  position: relative;
}

.nav-links li.dropdown ul.dropdown-content {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 999;
  padding: 0;
  margin: 0;
  text-align: left;
}

.nav-links li.dropdown ul.dropdown-content li {
  list-style: none;
}

.nav-links li.dropdown ul.dropdown-content li a {
  display: block;
  padding: 10px;
  color: var(--primary-color);
  text-decoration: none;
  transition: background 0.3s ease;
}

.nav-links li.dropdown ul.dropdown-content li a:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.nav-links li.dropdown:hover ul.dropdown-content {
  display: block !important;
}
