:root {
  --pillar-width: clamp(175px, 25vw, 250px);
  --menu-color: #3ae;
  --tab-color: #07f;
  --text-color: #fff;
  --sub-color: #ff0;
  --tease-color: #ff0;
}

/* Basic Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background-image: url("images/starfields.jpg");
  background-color: #000;
  color: var(--text-color);
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 2rem 1rem;
}

a {
      color: var(--menu-color);
      text-decoration: none;
    }

.colwrap {
    margin: auto;
    width: 80%;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(2, 50%);
}

.gear {
    padding: 10px 10px;
    width: 300px;
    height: 60px;
    border-radius: 2px;
    border-color: #000000;
    border-style: solid;
    background-color: var(--tab-color);
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    text-align: center;
}

.gear:hover {
    border-color: var(--tab-color);
    background-color: var(--menu-color);
}

.gearpic {
    width: 40px;
    float: left;
    padding-right: 10px;
}

.bookpic {
    height: 40px;
    float: left;
    padding-right: 10px;
}

.menurow {
	width: 400px;
	background-color: transparent;
	border: 3px solid var(--tab-color);
	border-top-color: transparent;
	border-bottom-color: transparent;
	box-shadow: 0 0 15px var(--menu-color);
}

.limerick {
	border: 2px solid #7cf;
	border-spacing: 0px;
}

.limerick td {
	padding: 5px;
	border: 1px solid #7cf;
}

.limerick2 {
    display: grid;
	grid-template-columns: 50% 50%;
	padding: 10px 10px;
    text-align: center;
}

.lim2 {
	border-color: #000000;
	border-radius: 1px;
	border-style: solid;
	background-color: rgba(0,128,255,.5);
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
	width: 348px;
	text-align: center;
	color: #ffffff;
}

.photo {
	border: 2px solid var(--sub-color);
	border-radius: 20px;
  margin: 10px;
}

/* Hero Section */
header.hero {
    text-align: center;
    padding: 2rem 1rem 2rem;
    color: var(--text-color);
    flex-shrink: 0;
}

header.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.25em;
    text-shadow: 0 0 8px rgba(0,0,0,0.7);
}
    
header.hero p.subtitle {
    font-size: 1.25rem;
    margin-top: 0;
    font-weight: 300;
    color: var(--sub-color);
    text-shadow: 0 0 6px rgba(0,0,0,0.6);
}
    
header.hero .imagelink {
    width: 100%;
    max-width: 600px;
    height: auto;
    cursor: pointer;
}

header.hero .imagelink:hover {
/*  box-shadow: 0 0 28px var(--tab-color); */
}

header.hero .cta-buttons {
    margin-top: 2rem;
}
    
header.hero .cta-buttons a {
    background: #3ae;
    color: #0a0a1a;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}
    
header.hero .cta-buttons a:hover {
    background: #07e;
}

section.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem;
  justify-content: center;
}

section.pillars .pillar {
  width: var(--pillar-width);
  aspect-ratio: 2 / 3;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 10px;
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.3s ease;
  z-index: 1;
}

.pillar-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

section.pillars .pillar .cta {
    color: var(--menu-color);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000
}

section.pillars .pillar::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.2);
    z-index: 0;
    pointer-events: none;
}

section.pillars .pillar * {
    margin: 0;
    padding: 0;
}

section.pillars .pillar:hover {
    box-shadow: 0 0 28px var(--tab-color);
}

section.pillars a h2 {
    margin-top: auto;
    font-weight: 700;
    color: #3ae;
    font-size: 2rem;
    text-decoration: none;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000
}

section.pillars a p {
    margin-top: auto;
    font-weight: 300;
    color: #ff0;
    font-size: 1.125rem;
    text-decoration: none;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000
}

section.pillars .pillar svg,
section.pillars .pillar img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    fill: #88c0d0;
}

section.pillars .pillar h3 {
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    font-size: 1.8rem;
}

section.pillars .pillar p {
    font-weight: 300;
    font-size: 1.125rem;
    margin: 0 0 1.5rem 0;
}

section.pillars .pillar a {
    margin-top: auto;
    font-weight: 700;
    color: var(--menu-color);
    font-size: 1.1rem;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000
}

/* Responsive tweaks */
@media (max-width: 700px) {
    section.pillars {
        flex-direction: column;
        margin: 2rem 1rem 3rem;
    }
    
    section.pillars .pillar {
        flex: none;
        width: 100%;
        max-width: 100%;
        padding: 2.5rem 1.5rem;
    }
      
    section.pillars .pillar svg,
      section.pillars .pillar img {
        width: 70px;
        height: 70px;
      }
      section.pillars .pillar h3 {
        font-size: 1.5rem;
      }
      section.pillars .pillar p {
        font-size: 1rem;
      }
      section.pillars .pillar a {
        font-size: 1rem;
      }
    }

    h1 {
      color: var(--menu-color);
      font-weight: 700;
      font-size: 2.5rem;
      text-align: center;
      margin-top: 1rem;
      margin-bottom: 2rem;
    }
    h2 {
      color: var(--tab-color);
      font-weight: 600;
      font-size: 2rem;
      text-align: center;

      margin-bottom: 0.5rem;
    }
    p {
      font-weight: 300;
      font-size: 1.125rem;
      margin-bottom: 1.5rem;
    }
    em {
      color: #ff0;
      font-weight: 700;
    }
    a {
      color: var(--menu-color);
      text-decoration: none;
      font-weight: 700;
    }
    section {
      margin-bottom: 3rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid #222;
    }
    ul.pro-tips {
      list-style: disc inside;
      margin-top: 0.5rem;
      margin-bottom: 1.5rem;
      padding-left: 1rem;
      font-weight: 300;
    }
    ul.pro-tips li {
      margin-bottom: 0.6rem;
    }
    footer {
      text-align: center;
      font-size: 0.9rem;
      color: #555;
      margin-top: 4rem;
      padding-bottom: 2rem;
    }
    ul.starlog-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    ul.starlog-list li {
      background: var(--tab-color);
      margin-bottom: 1rem;
      padding: 1rem 1.5rem;
      border-radius: 8px;
      transition: background-color 0.2s ease;
      cursor: pointer;
    }
    ul.starlog-list li:hover {
      background: var(--tab-color);
    }
    ul.starlog-list li a {
      color: inherit;
      text-decoration: none;
      display: block;
    }
    .title {
      font-size: 1.25rem;
      font-weight: 700;
    }
    .date {
      font-size: 0.85rem;
      color: var(--tease-color);
      margin-top: 0.2rem;
    }
    .teaser {
      font-style: italic;
      margin-top: 0.5rem;
      color: var(--tease-color);
    }

  ul.highlights {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  ul.highlights li {
    list-style-position: outside;
    padding-left: 30px;
    text-indent: -30px;
    margin-bottom: 30px;
  }

  ul.highlights li::before {
    content: "\2605";
    color: #ff0;
    margin: 0.5em;
  }

details.accordion {
      border-radius: 5px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      margin-bottom: 1em;
      overflow: hidden;
    }

details.accordion summary {
      padding: 1em;
      font-size: 1.25em;
      font-weight: bold;
      cursor: pointer;
      background-color: var(--tab-color);
      text-align: center;
    }

details.accordion[open] summary {
      background-color: var(--menu-color);
    }

details.accordion p, details.accordion ul {
      padding: 1em;
      margin: 0;
      background-color: rgba(0,0,0,0);
      list-style-type: square;
    }

/* Layout for subpages */
@media (min-width: 768px) {
  main.subpage {
    width: 70%;
    max-width: 800px;
    margin: 0 auto;
  }

  main.homepage {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
  }

  main.catpage {
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
  }
}

.slideshow {
  width: 100%;
  max-width: 600px;
  margin: 50px auto;
  position: relative;
}

.slideshow img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.controls {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

figure {
  width: 50%;
  display: table;
  margin: 0 auto;
}

figcaption {
  width: 100%;
  display: block;
  text-align: center;
}

summary.equipment {
  font-weight: normal !important;
  font-style: italic !important;
}

summary.equipment strong {
  font-weight: bold !important;
  font-style: normal !important;
}

.log-link {
    display: flex;
    justify-content: center; /* Keeps the centered vibe from your image_11e5d9.png */
    gap: 15px;
    text-decoration: none;
    padding: 4px 0;
    transition: background 0.3s;
}

.log-link:hover {
    background: rgba(255, 255, 255, 0.1); /* Subtle highlight for UX */
}

/* Style the Date */
.log-date {
    font-family: 'Courier New', monospace; /* Monospace keeps dates aligned */
    color: #888; /* Muted color so it doesn't distract from the title */
    font-size: 0.9em;
    min-width: 100px;
    text-align: right;
}

/* Style the Title */
.log-title {
    color: #4db8ff; /* Matches your light blue theme */
    font-weight: bold;
    text-align: left;
    flex: 0 1 auto;
}

.log-container {
    display: flex;
    flex-direction: column; /* This is the key to stopping the clump */
    align-items: center;    /* Keeps them centered as per your original design */
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.3); /* Optional: slight contrast from the background */
}
