/* ====== Base Colors ====== */
:root {
  --pink-bg: #fff6f9;
  --pink-border: #f3dce2;
  --blue-bg: #f4f9ff;
  --blue-border: #d6e4f0;
  --yellow-bg: #fffdf3;
  --yellow-border: #f6e7b9;
  --lavender-bg: #f8f3ff;
  --lavender-border: #e1d6f6;

  --text-color: #000;
  --sidebar-bg: #fdebf0;
}

/* ====== General Styles ====== */
body {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  background-color: #fffdf8;
  color: var(--text-color);
  background-image: url('/design/backgrounds/pinktexture.png');
  background-repeat: repeat;
  background-position: top left;
}

/* ====== Main Layout ====== */
.layout {
  display: flex;
}

/* ====== Sidebar ====== */
.sidebar {
  background-color: var(--sidebar-bg);
  width: 220px;
  padding: 20px;
  box-shadow: 4px 0px 0px var(--pink-border);
  flex-shrink: 0; /* Ensure sidebar stays fixed width */
}

.site-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: 22px;
  margin-bottom: 20px;
}

.nav-menu a {
  display: block;
  margin: 12px 0;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 16px;
  background-color: #fff;
  border: 2px solid var(--pink-border);
  box-shadow: 3px 3px 0 var(--pink-border);
  font-family: 'Courier New', Courier, monospace;
  transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}

.nav-menu a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--pink-border);
  text-decoration: none;
}

/* ===== Boxed Section Titles ===== */
.page-title {
  display: inline-block;
  padding: 8px 14px;
  background-color: #fff;
  border: 3px solid var(--pink-border);
  box-shadow: 4px 4px 0 var(--pink-border);
  font-family: 'Courier New', Courier, monospace;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.post-title {
  display: inline-block;
  padding: 5px 10px;
  background-color: #fff;
  border: 2px solid var(--pink-border);
  box-shadow: 2px 2px 0 var(--pink-border);
  font-family: 'Courier New', Courier, monospace;
  font-size: 18px;
  margin-bottom: 15px;
}

/* ====== Main Content Area ====== */
.content {
  flex: 1;
  padding: 20px;
  max-width: 1000px; /* Set fixed width for consistency */
  box-sizing: border-box;
}

/* ====== Pastel Boxes ====== */
.pastel-box {
  border: 2px solid;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 3px 3px 0;
}

.pink {
  background-color: var(--pink-bg);
  border-color: var(--pink-border);
}

.lavender {
  background-color: var(--lavender-bg);
  border-color: var(--lavender-border);
}

.blue {
  background-color: var(--blue-bg);
  border-color: var(--blue-border);
}

.yellow {
  background-color: var(--yellow-bg);
  border-color: var(--yellow-border);
}

/* ===== Footer Styles ===== */
.site-footer {
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  padding: 15px;
  margin-top: 40px;
  background-color: #fff;
  border: 2px solid var(--pink-border);
  box-shadow: 3px 3px 0 var(--pink-border);
}

.site-footer a {
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 1px dashed var(--pink-border);
}

.site-footer a:hover {
  color: var(--pink-border);
}

/* ====== Responsive Sidebar for Mobile ====== */
@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: none;
    padding: 10px;
    background-color: var(--sidebar-bg);
    border-bottom: 2px solid var(--pink-border);
  }

  .site-title {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    width: 100%;
  }

  .nav-menu a {
    margin: 0;
    flex: 1 1 auto;
    min-width: 100px;
    text-align: center;
  }

  .content {
    max-width: 100%;
    padding: 15px;
  }
}


/* ===== Field Notes Styling ===== */

body.field-notes .content {
  background: url('/design/backgrounds/paper1.png') repeat;
  background-size: cover; /* or repeat depending on texture */
  border: 1px solid #b8a27c;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Remove pastel background for field notes */
body.field-notes .pastel-box {
  background: none;
  border: none;
  box-shadow: none;
}


/* Entry titles */
body.field-notes h1,
body.field-notes h2,
body.field-notes h3 {
  font-weight: bold;
  text-transform: none;
  background: none;
  color: #2d1d10;
  text-shadow: none;
  border-bottom: 1px solid rgba(59, 43, 26, 0.3);
  padding-bottom: 4px;
}

body.field-notes {
  background-color: #fdfaf5; /* soft cream */
  background-image: none;   /* remove pink texture */
}

body.field-notes .sidebar {
  background-color: #f3e9dc; /* warm beige */
  box-shadow: 4px 0 0 #d1c3ad;
}

body.field-notes .nav-menu a {
  border: 2px solid #d1c3ad;
  box-shadow: 3px 3px 0 #d1c3ad;
  background-color: #fff;
  color: #3b2b1a;
}

/* ===== Refined Field Notes Styling ===== */
body.field-notes {
  background-color: #fdfaf5; /* Soft cream background */
  background-image: none;
  color: #3b2b1a;
}

/* Sidebar */
body.field-notes .sidebar {
  background-color: #f7f1e6; /* Warm beige with a hint of paper tone */
  box-shadow: 4px 0 0 #d1c3ad;
  color: #3b2b1a;
}

/* Sidebar Title */
body.field-notes .site-title {
  color: #3b2b1a;
  border-bottom: 1px solid #d1c3ad;
  padding-bottom: 6px;
  font-weight: bold;
  text-tra


/* Field Notes Page Only */

#field-notes h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

#field-notes a {
  display: block;
  line-height: 1.6;
  margin-left: 10px;  /* optional slight indent */
}

#field-notes img {
  margin-top: 2rem;
}

