/* --- RESET & GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f9f9f9;
}

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

/* --- NAVIGATION --- */
.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  color: #222222;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #555555;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #000000;
}

/* --- HERO SECTION --- */
/* --- .hero {
  background: #2c3e50;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
} --- */

.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('moon-background.jpg');
  
  /* Image positioning & scaling */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover; /* Forces the image to stretch and cover 100% of the section area */
  
  /* Text and spacing styles */
  color: #ffffff;
  padding: 100px 20px; /* Adjust top/bottom padding to make the hero taller or shorter */
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #ecf0f1;
}

.btn {
  display: inline-block;
  background-color: #3498db;
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #2980b9;
}

/* --- MAIN CONTENT & SECTIONS --- */
.section {
  padding: 60px 0;
  border-bottom: 1px solid #eeeeee;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #222222;
}

.article-title {
  color: #222222;
  font-weight: 600; /* Optional: subtle bolding helps titles stand out clearly */
}

.section-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
  margin: 20px 0;
}


/* --- GRID & CARD STYLES --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e2e2;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.card-image {
  width: 100%;
}

.card-image img {
  width: 100%;
  height: auto; /* Maintains the image's original aspect ratio */
  display: block;
}


.card-content {
  padding: 20px;
}

.card-content p {
  margin-bottom: 10px; /* Default paragraph gap */
}

.card-content p:last-child {
  margin-bottom: 0;
}

/* Modifier for cards needing extra impact */
.card-content.spaced p {
  margin-bottom: 24px; /* Increased paragraph gap */
}

.card-content h3 {
  margin-bottom: 8px;
  color: #2c3e50;
  font-size: 1.25rem;
}

.card-content p {
  font-size: 0.95rem;
  color: #666666;
}

/* --- FOOTER --- */
footer {
  background-color: #222222;
  color: #aaaaaa;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 600px) {
  .nav-container {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    height: auto;
    padding: 15px 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
}

/* --- BULLETED LIST STYLES --- */
.styled-list {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 20px;
  list-style-type: disc;
}

.styled-list li {
  margin-bottom: 4px;
  font-size: 0.95rem; /* Matches the card paragraph text size */
  color: #666666;
}

/* --- CONTENT BLOCK (NON-GRID TEXT) --- */
.content-block {
  margin-top: 40px; /* Space separating this text from the grid above */
  max-width: 800px;  /* Keeps line lengths comfortable for reading */
}

.content-block p {
  font-size: 1rem;
  color: #444444;
  margin-bottom: 16px; /* Spacing between paragraphs */
  line-height: 1.7;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* --- CONTACT FORM STYLES --- */
.contact-form {
  max-width: 600px;
  margin-top: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.contact-form .btn {
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

