@charset "utf-8";

/* ===============================
   Root Variables – Festive Colors
================================= */
:root {
  --bg-main: #fffdf8;
  --bg-light: #f7f7f2;
  --red: #d62828;
  --green: #4caf50;
  --gold: #f4e285;
  --blue: #0077cc;
  --text-dark: #333;
  --text-light: #666;
  --border-light: #e0e0e0;
}

/* ===============================
   Reset & Base Styles
================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  padding: 0 1rem;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2rem;
  color: var(--red);
  text-align: center;
  margin: 1.5em 0 1em;
  padding-bottom: 0.3em;
  border-bottom: 3px solid var(--green);
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* ===============================
   Global Link Styles
================================= */
a {
  color: var(--green);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, background-color 0.3s ease;
}

a:hover, a:focus {
  color: #fff;
  background-color: var(--red);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  text-decoration: none;
}

a[target="_blank"]::after {
  content: " ↗";
  font-size: 0.85em;
  color: var(--text-light);
}

/* ===============================
   Layout Containers
================================= */
.columnsContainer {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem 0;
  gap: 2rem;
}

.leftColumn {
  flex: 1 1 65%;
  min-width: 300px;
}

.rightColumn {
  flex: 1 1 250px;
}

/* ===============================
   Header & Navigation
================================= */
header {
  padding: 1rem 0;
  border-bottom: 2px solid var(--red);
  text-align: center;
}

.site-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--green);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.dropdown {
  position: relative;
}

.dropbtn {
  background-color: var(--red);
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s;
}

.dropbtn:hover {
  background-color: #b51e1e;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--bg-light);
  min-width: 200px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  z-index: 1;
  border-radius: 6px;
}

.dropdown-content a {
  color: var(--text-dark);
  padding: 0.75rem 1rem;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--gold);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ===============================
   Pagination
================================= */
.pagination {
  text-align: center;
  margin: 2rem 0;
}

.page-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--red);
}

.btn-pagination {
  display: inline-block;
  margin: 0.25rem;
  padding: 0.5rem 1rem;
  background-color: var(--green);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s;
  font-weight: bold;
}

.btn-pagination:hover {
  background-color: #388e3c;
}

.btn-pagination.active {
  background-color: var(--red);
  pointer-events: none;
}

/* ===============================
   Image Blocks
================================= */
.image-block {
  text-align: center;
  margin: 2rem auto;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background-color: #fff;
  max-width: 500px;
  box-shadow: 0 0 12px rgba(0,0,0,0.05);
}

.image-block h3 {
  margin-bottom: 1rem;
  color: var(--green);
}

.preview-img {
  max-width: 100%;
  height: auto;
  border: 3px solid var(--gold);
  border-radius: 10px;
}

.image-caption {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text-dark);
}

/* ===============================
   Calendar Styling
================================= */
.calendar-month h2 {
  color: var(--red);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.25rem;
}

.calendar-month ul {
  list-style: none;
  padding-left: 0;
}

.calendar-month ul li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.calendar-month a {
  color: var(--text-dark);
  font-weight: bold;
  text-decoration: none;
}

.calendar-month a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* ===============================
   Contact Form
================================= */
.contact-box {
  background-color: var(--bg-light);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  display: inline-block;
  width: 100%;
  max-width: 700px;
}

.contact-box label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.25em;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 0.6em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  background-color: #fff;
  margin-bottom: 1rem;
}

.contact-box input:focus,
.contact-box textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 4px rgba(76, 175, 80, 0.3);
}

.contact-box button {
  padding: 0.7em 1.5em;
  font-size: 1em;
  background-color: var(--green);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-box button:hover {
  background-color: #388e3c;
}

.contact-confirm {
  text-align: center;
  padding: 2em;
  background: #fdfdfb;
  border: 2px dashed var(--green);
  border-radius: 1em;
  margin: 2em auto;
  max-width: 600px;
}
/* ===============================
   Right Column Sidebar Styles
================================= */

.rightColumn {
  flex: 1 1 250px;
  padding: 1rem;
}

.sidebar {
  background-color: var(--bg-light);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.sidebar-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--red);
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.5rem;
}

.sidebar-nav {
  margin: 0;
  padding: 0;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  margin-bottom: 0.75rem;
}

.sidebar-list a {
  display: block;
  padding: 0.6rem 1rem;
  background-color: #fff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
  font-weight: normal;
}

.sidebar-list a:hover {
  background-color: var(--gold);
  color: var(--text-dark);
  text-decoration: none;
}
/* ===============================
   Thumbnail Gallery Section – Updated
================================= */

.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.thumbcat {
  background-color: #ffffff;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.thumbcat:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.thumbcattitle {
  font-weight: bold;
  color: var(--green);
  font-size: 1.1rem;
  min-height: 2.8em; /* Adjust based on how many lines you allow */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 0.75rem;
  padding: 0 0.25rem;
}

.thumbcatimg {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid var(--gold);
}

.content-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}

.content-container h3 {
  color: var(--green);
  margin-top: 2rem;
}

.content-container ul {
  padding-left: 1.2rem;
  margin: 1rem 0;
}

/* Survivor Table Styling */
.table-wrapper {
  margin-top: 1.5rem;
  background: var(--bg-light);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  overflow-x: auto;
}

.survivor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: #fff;
}

.survivor-table thead {
  background-color: var(--green);
  color: white;
}

.survivor-table th,
.survivor-table td {
  padding: 0.75em 1em;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  vertical-align: top;
  word-wrap: break-word;
}

.survivor-table tbody tr:nth-child(even) {
  background-color: var(--bg-light);
}

.survivor-table tbody tr:hover {
  background-color: var(--gold);
  transition: background-color 0.2s ease-in-out;
}

/* Survivor Sort Dropdown Styling */
form#sort-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
  font-size: 1rem;
  font-weight: bold;
  color: var(--text-dark);
}

form#sort-form select {
  background-color: #fff;
  border: 2px solid var(--green);
  color: var(--text-dark);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

form#sort-form select:hover,
form#sort-form select:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 5px rgba(214, 40, 40, 0.3);
}

.single-image-page {
  max-width: 900px;
  margin: auto;
  padding: 2rem 1rem;
}

.image-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.main-image-wrapper {
  margin: 1rem auto;
  max-width: 100%;
}
.main-image {
  max-width: 100%;
  border-radius: 12px;
  border: 4px solid var(--gold);
}

.caption {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.share-buttons {
  text-align: center;
  margin-top: 2rem;
}
.share-buttons h3 {
  color: var(--green);
}
.share-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}
.btn-share {
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-share.facebook { background-color: #3b5998; }
.btn-share.twitter  { background-color: #1da1f2; }
.btn-share.tumblr   { background-color: #35465c; }
.btn-share.email    { background-color: #666; }
.btn-share:hover    { opacity: 0.9; }

.related-images {
  margin-top: 3rem;
    gap: 1.5rem;
}
.related-images h3 {
  text-align: center;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.more-link {
  text-align: center;
  margin: 3rem 0 1rem;
  font-weight: bold;
}
.related-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}
.thumbcat.small {
  width: 160px;
  background-color: #fff;
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.thumbcat.small:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.thumbcat.small .thumbcattitle {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--green);
}
.thumbcat.small .thumbcatimg {
  width: 100%;
  border-radius: 6px;
  border: 2px solid var(--gold);
}
.holiday-calendar-page {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1rem;
}

.page-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.calendar-description {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.calendar-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.calendar-month h2 {
  color: var(--red);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.25rem;
}

.calendar-month ul {
  list-style: none;
  padding-left: 0;
}

.calendar-month ul li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.calendar-month a {
  color: var(--text-dark);
  font-weight: bold;
  text-decoration: none;
}

.calendar-month a:hover {
  color: var(--green);
  text-decoration: underline;
}

    body {
      font-family: 'Segoe UI', sans-serif;
      margin: 2rem;
      background: #fff;
      color: #000;
    }
    h1 {
      text-align: center;
      font-size: 2.5rem;
      margin-bottom: 2rem;
    }
    .calendar-month {
      page-break-inside: avoid;
      margin-bottom: 2rem;
    }
    .calendar-month h2 {
      font-size: 1.8rem;
      border-bottom: 2px solid #333;
      padding-bottom: 0.25rem;
      margin-bottom: 0.5rem;
      color: #000;
    }
    .calendar-month ul {
      list-style: none;
      padding-left: 0;
    }
    .calendar-month li {
      font-size: 1.1rem;
      margin: 0.25rem 0;
    }
    @media print {
      a { color: #000; text-decoration: none; }
      body { margin: 1in; }
    }
.btn-print-page {
  background-color: var(--green);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: background-color 0.3s;
}
.btn-print-page:hover {
  background-color: #388e3c;
}
@media print {
  .btn-print-page {
    display: none;
  }
}
/* General Link Styles */
a {
  color: var(--green);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* Hover effect */
a:hover,
a:focus {
  color: #fff;
  background-color: var(--red);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  text-decoration: none;
}

/* Optional: Differentiate external links */
a[target="_blank"]::after {
  content: " ↗";
  font-size: 0.85em;
  color: var(--text-light);
}
/* ===============================
   Global Link Styles
================================= */
a {
  color: var(--green);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, background-color 0.3s ease;
}

a:hover,
a:focus {
  color: #fff;
  background-color: var(--red);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  text-decoration: none;
}

/* External Link Indicator */
a[target="_blank"]::after {
  content: " ↗";
  font-size: 0.85em;
  color: var(--text-light);
}

/* ===============================
   Sidebar Links
================================= */
.sidebar-list a {
  display: block;
  background-color: #fff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  padding: 0.5rem;
  border-radius: 6px;
  font-weight: normal;
}

.sidebar-list a:hover {
  background-color: var(--gold);
  color: var(--text-dark);
}

/* ===============================
   Search
================================= */


    form {
      margin-bottom: 25px;
    }

    input[type="text"] {
      padding: 10px;
      font-size: 16px;
      width: 250px;
      border: 1px solid var(--border-light);
      border-radius: 6px;
      background: var(--bg-light);
      color: var(--text-dark);
    }

    button {
      padding: 10px 15px;
      font-size: 16px;
      background-color: var(--blue);
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    .results {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 15px;
    }

    .thumb {
      background: white;
      border: 1px solid var(--border-light);
      border-radius: 8px;
      padding: 10px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
      text-align: center;
      transition: transform 0.2s ease;
    }

    .thumb:hover {
      transform: scale(1.05);
    }

    .thumb img {
      max-width: 100%;
      border-radius: 5px;
      margin-bottom: 6px;
      display: block;
    }

    .thumb a {
      text-decoration: none;
      color: var(--blue);
      font-size: 14px;
      font-weight: bold;
    }

    .info {
      margin-bottom: 15px;
      color: var(--text-light);
    }

    .pagination {
      margin-top: 30px;
      text-align: center;
    }

    .pagination a {
      display: inline-block;
      margin: 0 4px;
      padding: 8px 12px;
      border: 1px solid var(--border-light);
      border-radius: 6px;
      text-decoration: none;
      color: var(--text-dark);
      background: var(--bg-light);
    }

    .pagination a.active {
      background: var(--gold);
      color: var(--text-dark);
      border-color: var(--gold);
      font-weight: bold;
    }


