/* Global styles for Past Ocean Oxygen Workshop */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  background: url('images/ocean-background.jpeg') no-repeat center center fixed;
  background-size: cover;
}

/* Header and Navigation */
header {
  width: 100%;
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #005b96;
  text-decoration: none;
}

.logo span {
  color: #0085ca;
}

nav {
  display: flex;
  justify-content: flex-end;
}

nav ul {
  display: flex;
  list-style: none;
}

nav a {
  color: #005b96;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: #e6f3ff;
  color: #003366;
}

nav a.active {
  background-color: #005b96;
  color: white;
}

/* Hero Section (for homepage) */
.hero-section {
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 80px;
  color: white;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.hero-section .lead {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

/* Main Content */
.content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 40px;
  margin-top: 120px; /* Increased for pages without hero section */
  margin-bottom: 40px;
  max-width: 900px;
  width: 90%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333;
  text-align: left;
}

.home-content {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

h1 {
  color: #005b96;
  margin-bottom: 25px;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
}

h2 {
  color: #0085ca;
  margin: 25px 0 15px;
  font-size: 1.6rem;
}

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

/* Button Styles */
.btn {
  display: inline-block;
  background-color: #005b96;
  color: white;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin: 10px;
}

.btn:hover {
  background-color: #0085ca;
}

/* Footer */
footer {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px 0;
  text-align: center;
  margin-top: auto;
  font-size: 0.9rem;
  color: #666;
}

footer p {
  margin: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 10px 5%;
  }

  .logo {
    margin-bottom: 10px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    padding: 8px 12px;
    margin: 2px;
    font-size: 0.9rem;
  }

  .content {
    padding: 25px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section {
    height: 70vh;
  }
}