/* Bare minimum CSS for visibility on all screens */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ========================================================================== 
   Define your color palette here. These variables can be used throughout
   your CSS with var(--color-1), var(--color-2), etc.
   ========================================================================== */

:root {
  /* Your 5-color palette - customize these values */
  --color-1: lightgreen; /* Hot Pink */
  --color-2: lightpink; /* Light Pink */
  --color-3: lightblue; /* Gold */
  --color-4: gold; /* Khaki */
  --color-5: chartreuse; /* Misty Rose */
  
  /* Garden growth stage colors */
  --garden-seed: #d4a574; /* Light brown */
  --garden-seedling: lightgreen; /* Light green */
  --garden-blossom: gold; /* Light yellow/gold */
  --garden-fruit: lightpink; /* Light pink */
  
  /* Tip: You can add more variables here for spacing, fonts, etc. */
}

* {
  box-sizing: border-box;
}

/* Remove all default margins and padding from html and body */
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
  scroll-behavior: smooth;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  padding-top: 0 !important; /* Ensure no padding that would create white space */
  font-size: 1rem;
  font-family: monospace;
  line-height: 1.2;
  color: #000;
  background-color: #fafafa;
  text-indent: 5px;
  text-align: center;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    rotate: 1deg;
    font-family: 'Courier New', Courier, monospace !important;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: inline-block;
    text-shadow: 1px 1px 0 lightpink;
}

h1 { font-size: 4rem;}
h2 { font-size: 3rem;}
h3 { font-size: 2rem;}
h4 { font-size: 1.5rem;}
h5 { font-size: 1.25rem;}
h6 { font-size: 1rem;}  

img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Remove any hover effects on images */
  transition: none !important;
  transform: none !important;
}

img:hover {
  transform: none !important;
  transition: none !important;
}

.container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Hero section - zero whitespace from top, navbar overlays it */
.hero-section {
    height: 100vh;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden; /* Prevent circles from escaping */
    /* Hero starts at absolute top - navbar fixed-top overlays it */
}

/* Welcome text overlay on hero image */
.hero-welcome-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 40px 20px;
}

.hero-welcome-overlay h1,
.hero-welcome-overlay h3,
.hero-welcome-overlay h4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Text shadow for better readability */
}

.hero-welcome-overlay a {
    color: #000;
    text-decoration: underline;
}

.hero-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    /* Ensure image starts at very top */
    position: relative;
    /* Remove any hover effects */
    transition: none !important;
    transform: none !important;
}

.hero-image:hover {
    transform: none !important;
    transition: none !important;
}

/* Welcome content */
.welcome-content {
  text-align: center;
  animation: fadeIn 1s forwards; /* Fades over 2 seconds & stays visible */
  opacity: 0; /* Start invisible */
  color: white !important;
  text-shadow: 2px 2px 4px rgba(106, 251, 3, 0.5);
}

/* Circle Interaction */
.circle-interaction-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1040 !important; /* Above navbar (1030) so circle interaction works */
  pointer-events: none;
  margin: 0 !important;
  padding: 0 !important;
}

.circle-large {
  width: 200px;
  height: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 3px dashed white;
  background-color: transparent;
  position: absolute !important;
  left: 20% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  cursor: pointer;
  pointer-events: auto;
  transition: border 0.3s ease, background 0.3s ease;
  margin: 0 !important;
}

.circle-large.activated {
  border: 3px solid white;
  background: linear-gradient(to bottom, rgba(255, 255, 0, 0.1), rgba(255, 215, 0, 0.1));
}

.circle-small {
  width: 50px;
  height: 50px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid white;
  background-color: transparent;
  cursor: grab;
  position: absolute !important;
  left: 50% !important;
  top: 30vh !important;
  transform: translate(-50%, -50%) !important;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}

.circle-small-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.circle-small:active {
  cursor: grabbing;
}

.circle-small.dragging {
  opacity: 0.7;
}

.circle-instruction {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-size: 0.9rem;
  text-align: center;
  padding: 5px 10px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  position: absolute;
  left: 50%;
  top: calc(50% + 100px + 50px); /* 50% (center) + 100px (half circle height) + 50px (spacing) */
  transform: translateX(-50%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .circle-large {
    max-width: 50vw;
    max-height: 50vw; /* Ensure 1:1 aspect ratio */
  }
  
  .circle-instruction {
    font-size: 0.8rem;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

@media (max-width: 768px) {
  .scroll-down-arrow {
    bottom: 20px;
  }
}

/* Basic section spacing */
section {
  margin: 4rem 0;
  padding: 2rem 0;
}

/* Section class - ensures top margin to clear navigation */
.section {
  margin-top: 5rem !important;
}

/* Ensure Events section gets proper top margin */
#events.section {
  margin-top: 5rem !important;
}

.welcome-section {
  width: 100%;
}



/* for the Back to Top button */
button.mybutton {
    position: fixed;
    width: 50px;
    height: 50px;
    color: black;
    bottom: 20px;
    left: 20px;
    background-color: lightpink;
    text-align: center;
    padding: 10px;
    border: 1px solid black;
    box-shadow:2px 2px 0 black;
    cursor: pointer;
    display:block;
    z-index: 9999; /* Highest layer - always on top */
}

button.mybutton:hover {
    box-shadow: 0px 0px 0 black;
    /* Removed position changes that were causing movement */
    /* Add your hover effect here without changing position */
}

/* Basic divider visibility */
.divider {
    width: 33%;
    border-bottom: 15px dotted var(--color-1);
    text-align: center;
    margin: 8rem auto 2rem auto !important;
}

/* ==========================================================================
   CLASS DEFINITIONS - Add your styling here
   ========================================================================== */

/* Grid container - holds all grid items */
.grid {
  /* Tip: Masonry handles the layout, so we just need basic container styles */
  /* Remove display: grid/flex here - Masonry will handle positioning */
  display: block;
  text-align: center;
  width: 100%;
  /* Clear any default margins/padding that might prevent full width */
  margin: 0;
  padding: 0;
}

/* Override .grid display for innergram grid that uses CSS Grid */
.innergram-grid.grid {
  display: grid !important;
}

/* Individual grid item - each card/item in the grid */
.grid-item {
  /* Default width - will be overridden for garden grid by Masonry */
  width: calc((100% - 20px) / 3); /* 3 columns on mobile: 100% minus 2 gutters (10px each = 20px), divided by 3 */
  margin-bottom: 10px; /* Space below each item */
  
  border: 1px dashed black;
  border-radius: 0px;
  box-shadow: 2px 2px 0 var(--color-2); /* Default - will be overridden by section-specific rules */
  /* Items should be block-level for Masonry to work properly */
  display: block;
  box-sizing: border-box; /* Include border in width calculation */
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Garden grid - Horizontal scroll rows for all screen sizes */
#garden-grid.masonry-grid {
  margin: 0 auto;
  position: relative;
  width: 100%;
  max-width: 100%;
  display: block;
}

/* Hide filter buttons on all screen sizes */
.garden-section .button-group {
  display: none !important;
}

/* Hide masonry sizer - not using Masonry anymore */
#garden-grid .garden-grid-sizer {
  display: none;
}

/* Garden grid items - base styles */
#garden-grid .grid-item.card {
  margin-bottom: 10px;
  box-shadow: 2px 2px 0 green !important; /* Green box-shadow for garden section */
  border: 1px dashed black;
  border-radius: 0;
  overflow: hidden; /* Hide overflow, but allow card-body to show */
  transition: height 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Prevent cards from stretching to match row heights */
  align-self: flex-start; /* Prevent stretching */
  flex-grow: 0;
  flex-shrink: 0;
  min-width: 0;
  height: auto; /* Let content determine height */
}

/* Growth stage row container */
.garden-stage-row {
  margin-bottom: 30px;
  position: relative;
  clear: both;
}

/* Stage header */
.garden-stage-row h3 {
  margin-bottom: 10px;
  text-align: left;
}

/* Stage description */
.garden-stage-description {
  margin-bottom: 15px;
  text-align: center;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Horizontal scroll container */
.garden-stage-scroll {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 10px;
  padding-bottom: 10px;
  position: relative;
  /* Hide scrollbar on some browsers */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

.garden-stage-scroll::-webkit-scrollbar {
  height: 8px;
}

.garden-stage-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.garden-stage-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

/* Garden grid items in scroll containers */
.garden-stage-scroll .grid-item.card {
  flex-shrink: 0;
  margin-bottom: 0;
  scroll-snap-align: start;
  align-self: flex-start; /* Prevent cards from stretching to match container height */
  position: relative !important;
  top: auto !important;
  left: auto !important;
  height: auto; /* Let content determine height */
}

/* Responsive item widths - show more items on larger screens */
.garden-stage-scroll .grid-item.card {
  width: 40%; /* Mobile: Shows 2.5 items at a time */
}

@media (min-width: 768px) {
  .garden-stage-scroll .grid-item.card {
    width: 30%; /* Tablet: Shows ~3.3 items at a time */
  }
}

@media (min-width: 992px) {
  .garden-stage-scroll .grid-item.card {
    width: 20%; /* Desktop: Shows 5 items at a time */
  }
}

/* Mobile Garden Section - Additional spacing adjustments */
@media (max-width: 767px) {
  /* Ensure sections have proper spacing and contain overflow */
  .garden-section,
  .pollen-section {
    position: relative;
    clear: both;
    margin-bottom: 40px;
    padding-bottom: 20px;
    overflow: visible;
    min-height: 0;
  }
  
  /* Ensure containers don't collapse */
  .garden-section .container,
  .pollen-section .container {
    position: relative;
    overflow: visible;
  }
  
  /* Ensure divider has proper spacing */
  .divider {
    clear: both;
    margin: 30px 0;
    position: relative;
  }
}

/* Garden image wrapper - ensures square container, NEVER changes size */
#garden-grid .garden-image-wrapper {
  width: 100%;
  flex-shrink: 0; /* Never shrink */
  flex-grow: 0; /* Never grow */
  position: relative;
  overflow: hidden;
  /* Use padding-bottom trick to maintain square aspect ratio */
  /* This creates a square based on the parent width, which is locked */
  padding-bottom: 100%; /* 1:1 aspect ratio */
  height: 0;
  /* Lock dimensions - never change */
  min-width: 0;
  max-width: 100%;
}

/* Garden images - crop to fill square, maintain exact size */
#garden-grid .garden-image-wrapper img.garden-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* Crop image to fill square */
  flex-shrink: 0; /* Never shrink */
}

/* Garden color squares - fill square container, same size as images */
#garden-grid .garden-color-square {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  flex-shrink: 0; /* Never shrink */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Garden card body - hidden by default, shown when expanded */
/* Garden item content div - appears below scrolling row */
.garden-item-content {
  padding: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
  border: 1px dashed black;
  border-radius: 0;
  background-color: white;
  box-shadow: 2px 2px 0 green;
  width: 100%;
  box-sizing: border-box;
}

/* Old card-body styles - kept for backward compatibility but not used */
#garden-grid .garden-card-body {
  padding: 15px;
  display: none;
  flex-shrink: 0;
  max-height: none; /* Allow expansion up to 3x image height */
  overflow: visible;
}

#garden-grid .grid-item.expanded .garden-card-body {
  display: block;
}

/* Limit expanded card height to max 3x the image height */
#garden-grid .grid-item.expanded {
  max-height: none; /* Let Masonry handle height */
}

/* Garden title styling - applies to both card-body and content div */
#garden-grid .garden-title,
.garden-item-content .garden-title {
  margin: 0 0 10px 0;
  padding: 0;
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.3;
}

/* Garden caption and tags styling - applies to both card-body and content div */
#garden-grid .garden-caption,
.garden-item-content .garden-caption {
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1.5;
  font-size: 0.9rem;
}

/* Rich text styling within garden captions - applies to both card-body and content div */
#garden-grid .garden-caption strong,
.garden-item-content .garden-caption strong {
  font-weight: bold;
}

#garden-grid .garden-caption em,
.garden-item-content .garden-caption em {
  font-style: italic;
}

#garden-grid .garden-caption u,
.garden-item-content .garden-caption u {
  text-decoration: underline;
}

#garden-grid .garden-caption s,
.garden-item-content .garden-caption s {
  text-decoration: line-through;
}

#garden-grid .garden-caption code,
.garden-item-content .garden-caption code {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 2px 4px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}

#garden-grid .garden-caption a,
.garden-item-content .garden-caption a {
  color: var(--color-3, lightblue);
  text-decoration: underline;
}

#garden-grid .garden-caption a:hover,
.garden-item-content .garden-caption a:hover {
  color: var(--color-4, gold);
}

#garden-grid .garden-tags {
  margin: 10px 0;
  font-size: 0.85rem;
  color: #666;
}

#events-section
{
  background-color: grey;
}
/* Responsive column widths handled by Masonry JavaScript - no CSS width rules needed */

/* Section-specific box-shadow colors */
#events-grid .grid-item {
  box-shadow: 2px 2px 0 pink !important; /* Pink box-shadow for events section */
}

.recurring-event-square {
  box-shadow: 2px 2px 0 blue !important; /* Blue box-shadow for recurring events */
}

#pollen-grid .grid-item {
  box-shadow: 2px 2px 0 yellow !important; /* Yellow box-shadow for pollen section */

}


#innergram-grid .grid-item {
  box-shadow: 2px 2px 0 chartreuse !important; /* Chartreuse box-shadow for innergram section */
}

.grid-item:hover,
#garden-grid .grid-item.card:hover,
.garden-stage-scroll .grid-item.card:hover,
#pollen-grid .grid-item:hover,
#events-grid .grid-item:hover,
#innergram-grid .grid-item:hover {
    box-shadow: none !important;
    transform: translate(3px, 1px);
}

.grid-item p {
  margin: 0 auto;
  padding:10px;
  line-height: 0.9rem;
  font-size: 0.9rem;
}

.grid-item a {
  text-decoration: none;
  box-shadow: 1px 1px 0 black;
  border-radius:5px;
  padding: 3px;
  margin: 0 5px 10px 5px;
  font-family: monospace !important;
  letter-spacing: 0.1em !important;
}

.grid-item {
  overflow: hidden; /* Prevents any content from spilling out */
}

.grid-item img,
.garden-image img,
.event-image img,
.pollen-image img,
.innergram-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1; /* Keep square shape */
  overflow: hidden;
}

/* Add padding to pollen-image container to create space between card border and color circle */
.pollen-image {
  padding: 10px;
}

.innergram-image img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Innergram overlay - covers image completely, maintains square shape */
.innergram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  text-align: center;
}

.innergram-item.overlay-visible .innergram-overlay {
  opacity: 1;
  visibility: visible;
}

.innergram-overlay .innergram-title {
  margin: 0 0 15px 0;
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.3;
}

.innergram-overlay .innergram-caption {
  margin-bottom: 15px;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* .innergram-overlay .button margin-top removed - use Bootstrap mt-2 class in HTML */

/* Ensure grid-item cards encompass buttons with margin */
.event-details,
.pollen-details,
.innergram-details,
.garden-details {
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
}

/* Pollen grid expanded items - show details when expanded */
#pollen-grid .grid-item.expanded .pollen-details {
  display: block !important;
}


/* Desktop: 5 columns on larger screens */
@media (min-width: 992px) {
  .grid-item {
    width: calc((100% - 40px) / 5); /* 5 columns: 100% minus 4 gutters (10px each = 40px), divided by 5 */
  }
}

/* Featured Events Section */
/* EXPLANATION: Featured events display above the events grid with 1/3 image, 2/3 content layout */
#featured-events {
  width: 100%;
  display: block;
  min-height: 0;
}

.featured-events-container {
  width: 100%;
  /* margin-bottom: 30px removed - use Bootstrap mb-5 class in HTML */
  background-color: lightblue;
}

.featured-events-container p {
  margin: 30px auto;
}
.featured-event-item {
  display: flex;
  flex-direction: row;
  width: 100%;
  /* margin-bottom: 20px removed - use Bootstrap mb-4 class in HTML */
  border: 5px dotted white;
  border-radius: 5px;
  overflow: hidden;
  background-color: lightblue;
}

.featured-event-item a {
  text-decoration: none;
  font-weight: 600;
  font-family: monospace;color: black;
  display: inline-flexbox;
  margin-bottom: 20px;
}


.featured-event-image img {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  max-width: 30vw; /* Max 40% of viewport width */
  max-height: none;
  object-fit: contain; /* Show full image without cropping */
  display: block;
  padding:10px; Border-radius: 40px;
  margin:20px;
  border: 5px dotted white;
}

.featured-event-image .color-square {
  width: 200px;
  height: 200px;
}

.featured-event-content {
  width: 66.666%; /* 2/3 column */
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured-event-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.featured-event-date,
.featured-event-venue {
  font-size: 2.5rem;
}
.featured-event-ages,
.featured-event-accessibility {
  font-size: 1rem;
}

.featured-event-caption {
  margin: 10px 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
  line-height: 1.2rem;
}

/* Mobile: Stack featured event vertically */
@media (max-width: 768px) {
  .featured-event-item {
    flex-direction: column;
  }
  
  .featured-event-image {
    width: 100%;
    height: auto;
  }
  
  .featured-event-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  
  .featured-event-content {
    width: 100%;
  }
}

/* Specific grid containers (optional - for targeting specific grids) */
.event-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  /* Events grid specific styles */
  /* Add your styles here */
}

/* Event calendar images - max-width 200px */
.event-grid .grid-item img,
#events-grid .grid-item img,
#upcoming-shows-accordion img,
.accordion-image {
  max-width: 400px !important;
}

/* Events grid items - hide card body, show only image/color square */
#events-grid .grid-item {
  padding: 0 !important;
  border: 1px dashed black;
}

#events-grid .event-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

#events-grid .event-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#events-grid .event-color-square {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Hide any remaining card body elements */
#events-grid .event-title,
#events-grid .event-date,
#events-grid .event-details {
  display: none !important;
}

/* Garden.html specific styles - Square aspect ratio for garden items */
.masonry-item {
  aspect-ratio: 1; /* Maintain square aspect ratio */
  width: 100%;
  overflow: hidden;
  position: relative;
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fill square container while maintaining aspect ratio */
  display: block;
}

/* Garden slideshow styles */
.garden-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1; /* Maintain square aspect ratio */
  overflow: hidden;
}

.garden-slideshow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.garden-slideshow-image.active {
  display: block;
}

.garden-slideshow-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.garden-slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.garden-slideshow-dot.active {
  background-color: rgba(0, 0, 0, 0.8);
  border-color: rgba(0, 0, 0, 0.8);
}

.garden-slideshow-dot:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

/* Old garden-grid CSS Grid rules removed - now using Masonry */


/* Garden filter button container */
.garden-filter-item {
  display: inline-block;
  vertical-align: top;
  margin: 0 15px 20px 0;
}

/* Garden filter buttons - using default rectangular button styling */

/* Flex wrapper for button group and explainer row */
.garden-filter-wrapper {
  margin: 20px 0;
}

/* Button group - left column, horizontal row, centered */
.garden-filter-wrapper .button-group,
#garden .button-group {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center !important; /* Center the buttons */
  gap: 10px;
  width: 100%;
  margin: 0 auto;
}

/* Garden filter explainer row - right column layout */
.garden-filter-explainer-row {
  padding: 15px 20px;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid black;
  box-shadow: 2px 2px 0 black;
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Garden filter instruction text (h4) */
.garden-filter-instruction {
  margin: 0 0 15px 0;
  padding: 0;
  text-align: left;
  font-size: 1.25rem; /* h4 size */
  line-height: 1.5;
}

/* Garden filter explainer list - left-aligned, no bullets, stacked vertically */
.garden-filter-explainer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

/* Remove default h5 margins when inside the list */
.garden-filter-explainer-list h5 {
  margin: 0;
  padding: 0;
}

.garden-filter-explainer-item {
  display: block;
  margin: 15px 0; /* Paragraph spacing between explainer items */
  padding: 0;
  font-size: 1rem; /* h5 size */
  font-weight: normal;
}

/* Medium screens: adjust to 35% / 65% */
@media (max-width: 991px) and (min-width: 768px) {
  /* Bootstrap handles responsive layout, no need for custom media queries */
}

/* Welcome Section Buttons and Preview Grids */
.welcome-preview-section {
  margin: 40px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2%;
}

.welcome-preview-column {
  /* margin-bottom: 30px removed - use Bootstrap mb-5 class in HTML */
  flex: 0 0 100%;
  max-width: 100%;
}

/* Reduce width of welcome section button container and add spacing */
#welcome .row.p-3.mx-2 {
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}

/* Add spacing between the 4 bordered divs in welcome section */
#welcome .row.p-3.mx-2 > div[class*="col-"] {
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
}

/* On larger screens, add horizontal spacing */
@media (min-width: 768px) {
  #welcome .row.p-3.mx-2 > div[class*="col-"] {
    margin-left: 15px;
    margin-right: 15px;
  }
}

.giantbtn {
  background-color: eggshell;
  display: inline;
  border-radius: 30px;
  padding: 30px 10px;
  width: 100%;
  text-align: center !important;
  text-decoration: none !important;
  color: #000;
  border: 2px solid black;
  box-shadow: 5px 5px 0 black;
  margin-bottom: 20px;
  font-size: 1rem !important;
  overflow: hidden;
}

.giantbtn:hover {
  box-shadow: 2px 2px 0 black !important;
  position:relative !important;
  top: 3px !important;
  left: 3px !important;
}

.events-btn {
  background-color: var(--color-1);
}

.garden-btn {
  background-color: var(--color-2);
}

.pollen-btn {
  background-color: var(--color-3);
}

.current-btn {
  background-color: lightblue;
  padding: 30px;
  border-radius: 100px;
  box-shadow: 2px 2px 0 hotpink;
  margin:10px;
  letter-spacing: 0.1em;
}

.innergram-btn {
  background-color: var(--color-4);
}

btn-lg:hover, .btn-md:hover, btn-sm:hover {
  rotate:1deg !important;
  box-shadow: none !important;
  position:relative;
  top:1px !important;
  left:1px !important;
  color: #000;
}

.welcome-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 320px; /* 2 columns * 150px + gap */
  margin: 0 auto; /* Center the grid */
  justify-items: center; /* Center items within grid cells */
}

/* All preview grids use same 2x2 layout */

.welcome-preview-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px dotted black;
  border-radius: 100px;
  box-shadow: 1px 1px 2px pink;
  max-width: 150px;
  margin: 0 auto; /* Center the circles */
}

/* Events items in welcome section - blue background */
#welcome-events-preview .welcome-preview-item {
  background-color: var(--color-3); /* lightblue */
}

/* Pollen items in welcome section - yellow/gold background */
#welcome-pollen-preview .welcome-preview-item {
  background-color: var(--color-4); /* gold */
}

.welcome-preview-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 100px; /* Match parent's circular shape */
}

.welcome-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.welcome-preview-color-square {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
}

.welcome-preview-pollen-type {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  font-size: small;
  font-style: italic;
  font-weight: bold;
  text-align: center;
  color: black;
  background-color: rgba(255, 255, 255, 0.8);
}

.welcome-preview-date {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: rgba(255, 255, 255, 0.9);
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: bold;
  border: 1px solid black;
}

/* Welcome preview grids stay 2x2 on all screen sizes */
/* Removed mobile breakpoint - grids remain 2 columns on all devices */

/* Responsive adjustments for other elements on mobile */
@media (max-width: 768px) {
  .giantbtn {
    font-size: 1.5rem;
    display: block;
    padding: 20px 15px;
    box-shadow: 4px 4px 0 black;
  }
}

/* Pollen grid now uses Masonry - remove CSS Grid styles */
.pollen-grid {
  width: 100%;
}

.innergram-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr); /* Always 3 columns - Instagram style */
  gap: 10px;
  width: 100%;
}

/* Ensure innergram grid items have proper sizing - override the fixed width */
#innergram-grid .grid-item {
  width: 100% !important;
  min-width: 0; /* Prevent grid items from being too small */
}

/* Pollen grid items - responsive widths for Masonry (max 5 columns on large) */
#pollen-grid .grid-item {
  width: calc((100% - 10px) / 2); /* 2 columns on mobile */
  flex-grow: 0;
  flex-shrink: 0;
  min-width: 0;
}

/* Medium screens (≥ 576px): 3 columns */
@media (min-width: 576px) {
  #pollen-grid .grid-item {
    width: calc((100% - 20px) / 3);
  }
}

/* Large screens (≥ 992px): 5 columns max */
@media (min-width: 992px) {
  #pollen-grid .grid-item {
    width: calc((100% - 40px) / 5);
  }
}

/* Sizer element for pollen grid Masonry */
.pollen-grid-sizer {
  width: calc((100% - 10px) / 2); /* Match mobile width */
}

@media (min-width: 576px) {
  .pollen-grid-sizer {
    width: calc((100% - 20px) / 3);
  }
}

@media (min-width: 992px) {
  .pollen-grid-sizer {
    width: calc((100% - 40px) / 5);
  }
}

/* Make pollen grid item titles 25% smaller */
.pollen-color-square {
  font-size: 0.75em; /* 25% smaller (75% of original size) */
}

/* ==========================================================================
   UNIFIED BUTTON SYSTEM
   ==========================================================================
   
   Type 1: Navbar Links (.nav-link) - Keep existing styles, see navbar section above
   
   Type 2: Toggle Buttons - Buttons with on/off states (aria-pressed attribute)
          Examples: Garden filter buttons, recurring event frequency buttons
   
   Type 3: Link Buttons - Buttons that navigate to URLs (anchor tags with .button class)
          Examples: Event buttons, pollen links, innergram buttons
   
   Sizes (apply to both Toggle and Link types):
   - .giantbtn - Largest buttons (welcome section)
   - .btn-lg - Large buttons
   - .btn-md - Medium buttons (default)
   - .btn-sm - Small buttons
   
   ========================================================================== */

/* Button base class - all buttons start here */

/* tooltip inspired button for lexicon words within content text */

.lexicon {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: black;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: none;
  text-decoration-skip: none;
  position: relative;
  display: inline-block;
}

/* Small (i) icon for mobile - always visible on mobile */
@media (max-width: 768px) {
  .lexicon::after {
    content: '(i)';
    position: relative;
    display: inline-block;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 4px;
    vertical-align: super;
    line-height: 1;
  }
}

/* Tooltip container - hidden by default */
.lexicon::before {
  content: 'lexicon.html coming sometime... For now, click 🔗 to open a related url in a new tab';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border: 1px solid black;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 80%; /* smallen text size */
  font-style: italic;
  white-space: normal;
  max-width: 300px;
  word-wrap: break-word;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1000;
  margin-bottom: 8px;
  box-shadow: 2px 2px 0 black;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Desktop: Show tooltip on hover */
@media (min-width: 769px) {
  .lexicon:hover::before {
    opacity: 1;
    visibility: visible;
  }
  
  /* Tooltip arrow for desktop */
  .lexicon:hover::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: black;
    margin-bottom: 2px;
    z-index: 1001;
  }
}

/* Mobile: Show tooltip on focus/click */
@media (max-width: 768px) {
  .lexicon::before {
    bottom: auto;
    top: 100%;
    left: 0;
    transform: none;
    margin-top: 8px;
    margin-bottom: 0;
    white-space: normal;
    max-width: 300px;
    word-wrap: break-word;
  }
  
  .lexicon:focus::before,
  .lexicon:active::before {
    opacity: 1;
    visibility: visible;
  }
}

.button {
  border: 1px solid black;
  box-shadow: 2px 2px 0 black;
}

/* Button size modifiers */
.btn-lg {
  padding:11px;
  box-shadow:4px 4px 0 black;
  background-color: var(--color-2) !important;
  border: 1px solid black;
  border-radius:15px;
  font-size:1.2rem;
  font-weight:800;
  color: black;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}

.btn-md {
  padding: 5px;
  background-color: white !important;
  box-shadow: 2px 2px 0 black;
  border: 1px solid black;
  border-radius:5px;
  font-size:0.8rem;
  font-weight:800;
  color: black;
  display: inline-block;
  text-decoration: none !important;
  white-space: nowrap;
}

/* Garden filter buttons - 25% larger text */
.garden-filter-btn {
  font-size: 1.2rem !important; /* 20% larger than 1.0rem */
  padding: 12px 20px !important; /* Increase padding by 20% */
}
.btn-md:hover {
  background-color: white !important;
  color: black !important;
}

.btn-sm {
  padding: 5px;
  box-shadow: 1px 1px 0 black;
  font-size: 0.8rem !important;
  text-decoration: none;
  padding: 3px;
  border-radius: 5px;
  background-color: lightblue !important;
  display: inline-block;
  white-space: nowrap;
}

/* Toggle button styles */
/* Style for buttons when toggled ON (aria-pressed="true") */
.button[aria-pressed="true"],
.btn-md[aria-pressed="true"] {
  background-color: black !important; 
  color: white !important;
  box-shadow: inset 1px 1px 0 grey;
  position:relative;
  top:2px;
  left:2px; /* Inset shadow for "pressed" look */
  /* Or use a different style like: */
  /* border: 2px solid black; */
  /* font-weight: bold; */
}

/* Optional: Style for buttons when toggled OFF */
.button[aria-pressed="false"],
.btn-md[aria-pressed="false"] {
  background-color: white !important; /* Default background */
  box-shadow: 2px 2px 0 black; /* Normal shadow */
}



.smallen {
  font-size: 80%;
  font-style: italic;
}

.biggen {
  font-size: 1.2rem;
  font-weight: bold;
}

.block {
  display:block;
}

/* Navigation container - Bootstrap fixed-top handles positioning */
.nav-container {
  /* Bootstrap's fixed-top class already handles positioning */
  /* Add your custom styles here */
  position: fixed !important; /* Must be fixed to overlay hero */
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1030; /* Bootstrap's default z-index for fixed elements */
  height: 70px; /* Slight transparency so hero shows through */
  /* Ensure no margins causing spacing */
  margin: 0 !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  vertical-align: middle;
  background: repeating-linear-gradient(
  45deg,
  rgba(30,30,30,0.2),
  rgba (255,255,255,0.2)0px,
  rgba (255,255,255,0.2)10px,
  rgba (30,30,30,0.2)10px
  rgba (255,255,255,0.2)20px,
  rgba (30,30,30,0.2)20px
) !important; /* Override any Bootstrap defaults */
  background-color: transparent !important; /* Ensure no solid background */
}

/* Ensure navbar is fixed and transparent over hero */
#maddynav.navbar.fixed-top {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: transparent !important; /* Override any Bootstrap defaults */
}

/* Override Bootstrap navbar default background */
.navbar {
  background: transparent !important;
}

/* Ensure navbar container-fluid uses flexbox properly */
#maddynav .container-fluid {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

/* Ensure navbar brand stays fixed on left */
#maddynav .navbar-brand {
  flex-shrink: 0 !important;
  margin-right: auto !important;
  margin-left: 0 !important;
}

#maddynav .navbar-brand img {
  max-width: 100%;
  height: auto;
}

/* Ensure hamburger button stays fixed in top right on all screen sizes */
#maddynav .navbar-toggler {
  margin-left: auto !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
}

/* Mobile menu toggle button */
.nav-toggle {
  /* Bootstrap's navbar-toggler handles basic styling */
  /* Add your custom styles here */
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}
.navbar-toggler {
    border: none !important;
    text-shadow: 1px 1px 1 black;
    font-weight: 600;
    color: white;
    box-shadow: 2px 2px 0 black;
    text-decoration: none;
    background-color: var(--color-2);
}
.navbar-toggler:hover {
    text-decoration-style: dotted !important;
    box-shadow: 0px 0px 0 black;
    border: none !important;
    position: relative;
    top:2px;
    left:2px;
}

.navbar-collapse {
    border: none;
}

/* Ensure navbar-collapse doesn't push navbar container down when expanded on small screens */
@media (max-width: 991px) {
  #maddynav .navbar-collapse {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background-color: inherit;
    z-index: 1029;
    width: 100% !important;
    margin-top: 0 !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
/* Navbar brand (logo) - always visible in top left */
.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

/* Navigation menu - Bootstrap handles collapse automatically */
.nav-menu {
  /* Bootstrap's navbar-collapse handles show/hide automatically */
  display: block;
  /* Add your custom nav menu styles here */
}

/* Ensure nav-items don't stretch and nav-links fit content */
#maddynav .navbar-nav .nav-item {
  display: flex !important;
  align-items: center !important;
}

#maddynav .navbar-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.nav-container li a.nav-link {background-color:white !important;}
.nav-container li a.nav-link.nav-button {background-color:black !important; color:white !important;}

#maddynav .navbar-nav a.nav-link {
    border: 1px solid black !important;
    border-radius: 5px;
    box-shadow: 2px 2px 0 black !important;
    padding: 3px 11px !important; /* Custom spacing - keep as-is */
    /* margin: 5px removed - use Bootstrap m-1 class in HTML if needed */
    text-decoration: none !important;
    display: block !important;
    color: #000 !important;
    white-space: nowrap;
    width: fit-content !important;
}
#maddynav .navbar-nav a.nav-link:hover {
  box-shadow: none !important;
  position:relative;
top:1px;
left:1px;
rotate:-.5deg;
}


/* Nav link background colors removed - assign manually in HTML using inline styles or custom classes */

/* Special highlighted nav link */
.nav-button {
  color: white !important;
  border: 1px solid white !important;
  box-shadow: 2px 2px 0 black;
  /* padding: 10px removed - use Bootstrap p-2 class in HTML if needed */
  border-radius: 0px;
  background-color: black !important;
}
#maddynav .navbar-nav .nav-link:hover,
.navbar.navbar-expand-lg .navbar-nav .nav-link:hover {
    box-shadow: 1px 1px 0 black !important;
}

/* Fix nav menu alignment issues */
/* Ensure nav menu is right-aligned on all screen sizes when expanded */
#maddynav .navbar-nav {
  margin-left: auto !important;
}

/* Add margin-top to nav menu on medium to large screens to prevent left alignment issue */
@media (min-width: 768px) {
  #maddynav .navbar-collapse {
    margin-top: 0.5rem;
  }
  
  /* Ensure nav items stay right-aligned */
  #maddynav .navbar-nav {
    justify-content: flex-end !important;
  }
}

/* On smaller screens (hamburger menu), align nav items to the right */
@media (max-width: 991px) {
  #maddynav .navbar-collapse {
    margin-top: 0 !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  #maddynav .navbar-nav {
    justify-content: flex-end !important;
    align-items: flex-end !important;
    padding-right: 0.5rem;
  }
  
  #maddynav .navbar-nav .nav-item {
    justify-content: flex-end !important;
  }
}

/* Extra tiny screens - ensure hamburger button stays in top right */
@media (max-width: 575px) {
  #maddynav .container-fluid {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  /* Logo stays left, can shrink if needed but won't push hamburger */
  #maddynav .navbar-brand {
    flex-shrink: 1 !important;
    min-width: 0 !important;
    max-width: calc(100% - 60px) !important; /* Leave space for hamburger */
    margin-right: auto !important;
    margin-left: 0 !important;
  }
  
  #maddynav .navbar-brand img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Hamburger button stays fixed on right */
  #maddynav .navbar-toggler {
    margin-left: auto !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
  }
}

/* Section title wrapper */
.section-title {
  /* Tip: Center align, add spacing, style the heading images/text */
  /* Add your section title styles here */
  text-align: center !important;
 margin: 0 auto;
  max-width: 555px !important;
}


/* Divider lines - you'll style these with random colors */
.line1 {  border-bottom: 15px dotted var(--color-1);}
.line2 {  border-bottom: 15px dotted var(--color-2);}
.line3 {  border-bottom: 15px dotted var(--color-3);}
.line4 {  border-bottom: 15px dotted var(--color-4);}
.line5 {  border-bottom: 15px dotted var(--color-5);}

/* Apply background colors to anything */

.bg1, .bg2, .bg3, .bg4, .bg5 { padding: 5px; border: 1px dotted black; border-radius:0px; box-shadow: 2px 2px 0 rgb(193, 193, 193); border-radius: 5px; }
.bg1 { background-color: var(--color-1); }
.bg2 { background-color: var(--color-2); }
.bg3 { background-color: var(--color-3); }
.bg4 { background-color: var(--color-4); }
.bg5 { background-color: var(--color-5); }
.bgw {background-color: white; color: black !important;}
.bgb {background-color: black; color: white !important;}

/* Currency Accordion Styles */
.currency-accordion {
  margin: 20px 0;
  padding: 0; /* Prevent cutoff at top */
  overflow: visible; /* Prevent clipping of items */
}

.currency-accordion .accordion-item {
  margin-top: 0 !important; /* Ensure all items aren't cut off */
  margin-bottom: 10px;
  border-radius: 0px !important;
  position: relative; /* Ensure proper positioning */
  overflow: visible; /* Prevent cutoff */
  margin-top: -4px !important; /* Ensure first item isn't cut off */

}

.currency-accordion .accordion-item:first-child {
  margin-top: 0 !important; /* Ensure first item isn't cut off */
}

.currency-accordion .accordion-header {
  padding: 15px 20px;
  cursor: pointer;
  position: relative; /* Ensure header isn't clipped */
  z-index: 1; /* Keep header above content */
}

.currency-accordion .accordion-content {
  max-height: 0; /* Start collapsed */
  overflow: hidden; /* Hide content when collapsed */
  transition: max-height 0.3s ease;
  position: relative; /* Ensure proper positioning */
}

.currency-accordion .accordion-item.expanded .accordion-content {
  max-height: 1000px; /* Expand when toggled */
  overflow: visible; /* Prevent content cutoff when expanded */
}

.currency-accordion .accordion-body {
  padding: 15px 20px;
}

.currency-accordion .accordion-item.bg1 {
  background-color: var(--color-1) !important;
}

.currency-accordion .accordion-item.bg2 {
  background-color: var(--color-2) !important;
}

.currency-accordion .accordion-item.bg3 {
  background-color: var(--color-3) !important;
}

.currency-accordion .accordion-item.bg4 {
  background-color: var(--color-4) !important;
}

.currency-accordion .accordion-item.bg5 {
  background-color: var(--color-5) !important;
}

.currency-accordion .accordion-header {
  padding: 15px 20px;
  cursor: pointer;
}

.currency-accordion .accordion-body {
  padding: 15px 20px;
}

.currency-accordion .currency-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: white;
  border: 1px solid black;
  border-radius: 5px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  box-shadow: 2px 2px 0 black;
  transition: all 0.2s;
}

.currency-accordion .currency-link:hover {
  background-color: #f0f0f0;
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 black;
}

/* Payment Buttons Grid - Same sizing as garden grid */
.payment-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  position: relative;
}

.payment-btn {
  width: calc((100% - 20px) / 4); /* Default 4 columns on mobile */
  aspect-ratio: 1; /* Square buttons */
  border: 1px dashed black;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 0 green;
  position: relative;
}

.payment-btn:hover {
  box-shadow: 1px 1px 0 green;
  transform: translate(1px, 1px);
}

.payment-btn.active {
  box-shadow: 3px 3px 0 green;
  border-width: 2px;
}

.payment-btn-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.payment-btn-number {
  font-size: 0.9em;
  font-weight: bold;
  margin-bottom: 5px;
}

.payment-btn-text {
  font-size: 1.0625em; /* 25% bigger (0.85em * 1.25 = 1.0625em) */
  line-height: 1.2;
}

/* Responsive widths for payment buttons - match garden grid */
@media (min-width: 992px) {
  .payment-btn {
    width: calc((100% - 40px) / 5); /* 5 columns */
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .payment-btn {
    width: calc((100% - 20px) / 3); /* 3 columns */
  }
}

@media (max-width: 575px) {
  .payment-btn {
    width: calc((100% - 10px) / 2); /* 2 columns */
  }
}

/* Payment Content Area (Tabbed) */
.payment-content-area {
  margin-top: 20px;
  padding: 20px;
  border: 1px dashed black;
  border-radius: 0;
  min-height: 100px;
  animation: slideDown 0.3s ease;
}

.payment-content-body {
  width: 100%;
}

.payment-content-body p {
  margin-bottom: 15px;
}

.payment-content-body .currency-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: white;
  border: 1px solid black;
  border-radius: 5px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  box-shadow: 2px 2px 0 black;
  transition: all 0.2s;
}

/* Patreon tier buttons */
.patreon-tier-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  width: 100%;
}

.patreon-tier-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: white;
  border: 1px solid black;
  border-radius: 5px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 2px 2px 0 black;
  transition: all 0.2s;
  text-align: center;
  min-width: 80px;
}

.patreon-tier-btn:hover {
  box-shadow: 1px 1px 0 black;
  transform: translate(1px, 1px);
  background-color: #f9f9f9;
}

.payment-content-body .currency-link:hover {
  background-color: #f0f0f0;
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 black;
}

/* One-Time Contribution Accordion */
.one-time-contribution-accordion {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.one-time-item {
  border: 1px dashed black;
  border-radius: 0;
  padding: 15px;
  margin-bottom: 10px;
}



.one-time-content {
  display: none;
  padding: 10px 0;
  margin-top: 10px;
}

.one-time-content .currency-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: white;
  border: 1px solid black;
  border-radius: 5px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  box-shadow: 2px 2px 0 black;
  transition: all 0.2s;
  margin-top: 10px;
}

.one-time-content .currency-link:hover {
  background-color: #f0f0f0;
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 black;
}

/* Website Toggle Button Styles */
.website-toggle-btn {
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.website-toggle-btn:hover {
  box-shadow: none;
  position: relative;
  top: 2px;
    left: 2px;
    transform: none;
}

.website-toggle-btn .toggle-icon {
  font-size: 0.8em;
  transition: transform 0.3s ease;
  margin-left: 10px;
}

.website-toggle-btn.expanded .toggle-icon {
  transform: rotate(180deg);
}

.website-toggle-content {
  padding: 15px 20px;
  margin-top: 10px;
  border: 1px dotted black;
  border-radius: 5px;
  background-color: #fafafa;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  to {
    opacity: 1;
    max-height: 2000px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

/* Two Column Events Section */
.events-two-column {
  margin: 30px 0;
}

/* Mobile: Stack columns vertically */
@media (max-width: 767px) {
  .events-left-column,
  .events-right-column {
    margin-bottom: 30px;
  }
  
  /* Accordion takes up 90% width on smaller screens when on its own */
  .upcoming-shows-accordion {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

.events-left-column h2,
.events-right-column h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: left;
}
a {
  display: inline;
}
/* Upcoming Shows Accordion */
.upcoming-shows-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  border: 1px solid black;
  background: #fff;
  cursor: pointer;
  text-align:left;

}

.accordion-item:hover {
  background: #f9f9f9;
}

.accordion-header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* For positioning Sold Out tag */
  font-weight: bold;
  background-color: var(--color-3);
}

.accordion-date {
  font-size: 1.3em;
  font-family: monospace;
  font-weight: bold;
}

.sold-out-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  display: inline-block;
  padding: 2px 8px;
  background-color: #ff4444;
  color: white;
  font-size: 0.65em;
  font-weight: bold;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
  transform: rotate(-2deg);
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.accordion-item.expanded .accordion-header::after {
  content: '−';
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  position: relative;
}

.accordion-item.expanded .accordion-content {
  max-height: 1000px;
}

/* Save the Date styling - events with all 3 checkboxes ticked */
.accordion-item.save-the-date {
  border: 1px dashed black !important;
  background-color: var(--color-3) !important;
  order: -1; /* Pin to top of list */
}

.accordion-item.save-the-date,
.accordion-item.save-the-date * {
  font-size: 1.2em !important; /* 20% bigger (1.2 = 120% of base) */
  font-weight: 500 !important;
}

.accordion-item.save-the-date .accordion-header {
  font-size: 1.2em !important;
  font-weight: 500 !important;
}

.accordion-body {
  padding: 20px;
  position: relative;
}

.accordion-details {
  margin-bottom: 15px;
  overflow: hidden; /* Clear float */
}

/* Make paragraphs and button text bigger and monospace in accordion */
.accordion-details p,
.accordion-details div,
.accordion-details strong,
.accordion-caption,
.accordion-caption span,
.accordion-link,
.accordion-item .button,
.accordion-item .read-more-btn,
.accordion-item button {
  font-size: 1.2em !important;
  font-family: monospace !important;
}

.accordion-image {
  float: right;
  margin-left: 20px;
  margin-bottom: 15px;
  max-width: 200px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 2px solid black;
  box-shadow: 2px 2px 0 black;
}

.accordion-caption {
  margin-top: 10px;
  font-size: 0.8rem;
  font-style: italic;
}

.accordion-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 2px solid black;
}

/* Recurring Events Grid */
.recurring-events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 20px;
  border: 2px dotted greenyellow;
}

.recurring-event-square {
  border: 2px solid black;
  box-shadow: 2px 2px 0 blue !important; /* Blue box-shadow for recurring events */
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.recurring-event-square:hover {
  box-shadow: 1px 1px 0 black;
}

.recurring-event-square:nth-child(1) { background-color: var(--color-1); }
.recurring-event-square:nth-child(2) { background-color: var(--color-2); }
.recurring-event-square:nth-child(3) { background-color: var(--color-3); }
.recurring-event-square:nth-child(4) { background-color: var(--color-4); }

.recurring-event-title {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 8px;
}

.recurring-event-details {
  font-size: 0.85rem;
  line-height: 1.4;
}

.recurring-event-caption {
  margin: 10px 0;
  line-height: 1.5;
}

.recurring-read-more-btn {
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 4px 12px;
  font-size: 0.8rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}

.recurring-read-more-btn:hover {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 0, 0, 0.5);
}

.recurring-event-square.expanded {
  min-height: auto;
}

/* Recurring Buttons */
.recurring-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recurring-btn {
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  border: 1px solid black;
  box-shadow: 2px 2px 0 black;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.recurring-btn:hover {
  box-shadow: 1px 1px 0 black;
}

.monthly-btn {
  background-color: var(--color-1);
}

.weekly-btn {
  background-color: var(--color-2);
}

.recurring-btn.active {
  box-shadow: inset 2px 2px 0 black;
}

/* Responsive */
@media (max-width: 768px) {
  .events-two-column {
    grid-template-columns: 1fr;
  }
  
  .recurring-events-grid {
    grid-template-columns: 3fr;
  }
  
  .accordion-image {
    float: none;
    margin-left: 0;
    margin-bottom: 15px;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 300px;
  }
  
  .accordion-caption {
    max-width: 100%;
  }

  ol.goals li {
    padding-bottom: 10px;
  }
}

/* Slideshow Styles (generic, used by multiple slideshows) */
.slideshow-container {
  position: relative;
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
}

.slideshow {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow-card {
  display: none;
  padding: 40px;
  background-color: var(--color-1, #f5f5dc);
  border: 3px dotted var(--color-2, #d4a574);
  border-radius: 15px;
  text-align: center;
  animation: fadeIn 0.5s ease-in;
  width: 100%;
}

.slideshow-card.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slideshow-card h3 {
  /* margin-bottom: 20px removed - use Bootstrap mb-4 class in HTML */
  font-size: 1.5em;
  color: black;
  text-shadow: 3px 3px 0px chartreuse, -1px -1px 0px chartreuse;
  font-weight: bold;
}

.slideshow-card h4 {
  /* margin-bottom: 15px removed - use Bootstrap mb-3 class in HTML */
  font-size: 1.3em;
  color: black;
  font-weight: bold;
}

.slideshow-card p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 15px;
}

.slideshow-card ul {
  text-align: left;
  margin: 20px auto;
  max-width: 90%;
}

.slideshow-card li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-2, #d4a574);
  color: white;
  border: none;
  font-size: 2em;
  width: 60px;
  height: 60px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slideshow-arrow:hover {
  background-color: var(--color-3, #4a90e2);
  transform: translateY(-50%) scale(1.1);
}

.slideshow-arrow-prev {
  left: 10px;
}

.slideshow-arrow-next {
  right: 10px;
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slideshow-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-2, #d4a574);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.slideshow-dot:hover {
  background-color: var(--color-3, #4a90e2);
  transform: scale(1.2);
}

.slideshow-dot.active {
  background-color: var(--color-3, #4a90e2);
  border-color: var(--color-2, #d4a574);
  transform: scale(1.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .slideshow-arrow {
    font-size: 1.5em;
    width: 50px;
    height: 50px;
    padding: 0;
  }
  
  .slideshow-arrow-prev {
    left: 5px;
  }
  
  .slideshow-arrow-next {
    right: 5px;
  }
  
  .slideshow-card {
    padding: 25px;
  }
}
