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

html, body {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
  color: #fff;
  background-color: #111;
}

/* Navbar */
.navbar {
  background: #1a1a1a;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #333;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar a {
  text-decoration: none;
  color: #f1f1f1;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #00adb5;
}

/* Hero Section (Home Page Only) */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('assets/images/blackbeach.jpg') center center / cover no-repeat;
  color: #fff;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 8px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
}

/* Content Section */
main {
  padding: 3rem 1rem;
  background: #fff;
  color: #333;
}

section.blog-posts {
  max-width: 800px;
  margin: auto;
}

.blog-posts h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #111;
}

article {
  background: #f8f8f8;
  padding: 1.5rem;
  border-left: 4px solid #444;
  border-radius: 4px;
  margin-bottom: 2rem;
}

article h3 {
  margin-bottom: 0.5rem;
  color: #222;
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .navbar ul {
    flex-direction: column;
    gap: 1rem;
  }
}
