* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #d9efe4;
  color: #000000;
}


/* Navigation */
nav {
  position: sticky;
  top: 0;
  background: #08024d;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

nav .logo {
  color: #ff00dd;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 1px;
}

nav .nav-buttons a {
  color: #ff00dd;
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

nav .nav-buttons a:hover {
  opacity: 1;
}

/* Hero */
.hero {
  height: 70vh;
  background: url("./images/IMG_4074.jpg") center / cover no-repeat;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* your overlay */
}

.hero-content {
  position: absolute;   /* absolute so it sits above the overlay */
  top: 40px;            /* distance from top */
  left: 50%;            /* center horizontally */
  transform: translateX(-50%);
  text-align: center;
  color: #ff87d5;
  max-width: 600px;
  margin: 0;            /* remove default margins */
}

.hero-content h1,
.hero-content p {
  margin: 0;            /* remove heading and paragraph default margins */
}

/* Sections */
.section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.section p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.photo-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
}

/* Footer */
footer {
  background: #04003f;
  color: #aaa;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  margin-top: 80px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.blog-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
  border-left: 5px solid #ff00dd;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.blog-title {
  font-weight: bold;
  font-size: 16px;
}

.blog-date {
  font-size: 14px;
  color: #666;
}

#sortToggle {
  padding: 10px 18px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  background: #ff00dd;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

#sortToggle:hover {
  background: #d400bb;
}

