/* ===== EXTERNAL LIBRARIES =====
   - Google Fonts (Roboto, Oswald, Lato): https://fonts.google.com
===== */

/* ===== GLOBAL STYLES ===== */

/* Applies base color, font sizing, and line height to all elements */
* {
  color: #0b0b0c;
  font-optical-sizing: auto;
  line-height: 1.5;
}

/* Body: sets default font, weight, background, and flex column layout */
body {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-weight: 300;
  background: #ffffff;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ===== HEADINGS ===== */

/* Heading 1: Oswald bold, uppercase with letter spacing */
h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Heading 2: Oswald regular weight */
h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

/* Heading 3: Oswald light weight */
h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
}

/* Body text and list items: Roboto light */
p, li {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-weight: 300;
}

/* ===== LAYOUT ===== */

/* Full height so footer stays at bottom */
html {
  height: 100%;
}

/* Main content area expands to fill available space */
.main {
  flex: 1;
}

/* Flex container for header elements */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Prevent content from overflowing horizontally on small screens */
.main {
  overflow-x: hidden;
}

/* ===== CSS GRID LAYOUT ===== */

/* Main page grid: header, nav, main content, footer */
.container {
  display: grid;
  grid-template-areas:
    'header header'
    'nav_bar nav_bar'
    'main main-img'
    'footer footer';
}

/* Grid area assignments */
.header {
  grid-area: header;
}

.main {
  grid-area: main;
  grid-column: 1 / -1;
}

.main_img {
  grid-area: main-img;
}

.footer {
  grid-area: footer;
}

/* ===== HEADER ===== */

/* Header bar with teal background */
header {
  background-color: #9fb8bb;
  padding: 20px 40px 20px 0;
  display: flex;
  align-items: center;
  position: relative;
}

/* Logo sizing and border styling */
#logo {
  height: 90px;
  width: auto;
  margin: 0 20px 0 8px;
  display: block;
  border: 3px solid #9fb8bb;
  border-radius: 6px;
}

/* ===== NAVIGATION ===== */

/* Nav bar uses Flexbox for horizontal layout */
nav {
  display: flex;
  align-items: center;
}

/* Nav bar overlaps header using negative margin */
.nav_bar {
  grid-area: nav_bar;
  background-color: #9fb8bb;
  padding: 10px 40px 10px 250px;
  margin-top: -120px;
  display: flex;
  justify-content: right;
}

/* Default nav link styles */
nav a {
  text-decoration: none;
  color: #0b0b0c;
  margin: 0 16px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
}

/* Underline animation element, hidden by default */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

/* Hover effect: expands white underline */
nav a:hover::after {
  width: 100%;
}

/* Active page indicator: teal underline on current page link */
nav a.active::after {
  width: 100%;
  background-color: #729ca8;
}

/* Hamburger icon hidden on desktop */
.nav_bar .icon {
  display: none;
}

/* ===== CTA BUTTONS ===== */

/* Button group container in nav */
.button-group {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

/* CTA button: green background with white text */
.cta {
  background-color: #9cae81;
  color: white;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: background-color 0.25s ease;
}

/* CTA hover: slightly darker green */
.cta:hover {
  background-color: #859a6d;
}

/* Remove underline animation from CTA buttons */
.cta::after {
  display: none;
}

/* Larger CTA button variant */
.cta--lg {
  padding: 12px 28px;
  font-size: 16px;
}

/* Teal color variant for secondary CTA buttons */
.cta--teal {
  background-color: #729ca8;
}

/* ===== FOOTER ===== */

/* Footer bar with green background and top border */
footer {
  background-color: #9cae81;
  border-top: 1px solid #729ca8;
  padding: 18px 16px;
  text-align: center;
  color: #2f3b4a;
}

/* Three-column footer info row */
.footer-info {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

/* Individual footer column */
.footer-section {
  text-align: left;
}

/* Footer column heading */
.footer-section strong {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000000;
  display: block;
  margin-bottom: 4px;
}

/* Footer column body text */
.footer-section p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #000000;
  line-height: 1.8;
}

/* ===== HERO SECTION ===== */

/* Full-width hero banner container */
.hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

/* Hero image fills the container */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero text centered over the image */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  z-index: 2;
}

/* Hero heading size and color */
.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: white;
}

/* Hero call-to-action button */
.hero-btn {
  text-decoration: none;
  padding: 12px 28px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  background-color: #729ca8;
  color: #ceded2;
  border: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Hero button hover state */
.hero-btn:hover {
  background-color: #729ca8;
  color: #ceded2;
}

/* Dark overlay on hero image for text readability */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
  pointer-events: none;
}

/* Time-based greeting text over hero image */
#greeting {
  font-size: 48px;
  margin-bottom: 20px;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-style: italic;
}

/* ===== HOME PAGE ===== */

/* Padding for the Now On View section */
.now-on-view {
  padding: 60px 70px;
}

/* Section header: flexbox row with title and View All link */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

/* Section heading size */
.section-header h2 {
  font-size: 36px;
  margin: 0;
  margin-left: 0;
  margin-right: 0;
}

/* View All link styling */
.view-all-link {
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: #0b0b0c;
  font-size: 24px;
}

/* View All link hover underline */
.view-all-link:hover {
  text-decoration: underline;
}

/* Centered intro text block on home page */
.intro-text {
  max-width: 900px;
  margin: 80px auto;
  text-align: center;
}

/* Long intro paragraph: hidden by default, shown on Read More click */
#longIntro {
  display: none;
}

/* Read Less button: hidden by default, shown after Read More is clicked */
#readLess {
  display: none;
}

/* ===== EXHIBIT CARDS ===== */

/* Flexbox grid for exhibit cards */
.exhibit-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* Individual card: flexible width with rounded corners */
.exhibit-card {
  flex: 1;
  min-width: 260px;
  border-radius: 22px;
  padding: 28px;
  box-sizing: border-box;
}

/* Card heading */
.exhibit-card h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 32px;
  text-align: left;
}

/* Card body text */
.exhibit-card p {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  text-align: left;
}

/* Card background colors */
.card-one {
  background-color: #cedad2;
}

.card-two {
  background-color: #9fb8bb;
}

.card-three {
  background-color: #729ca8;
}

/* ===== EXPLORE PAGE ===== */

/* Page heading alignment and max width */
.main h1 {
  padding: 0 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Section heading alignment */
.main h2 {
  padding: 0 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;
  margin-bottom: 20px;
}

/* Body text alignment and sizing */
.main p {
  padding: 0 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.8;
}

/* Image row container max width */
.main > div[style*="display:flex"] {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Centered intro paragraphs on the explore page */
.explore-intro-text {
  text-align: center;
  font-size: 18px;
}

/* ===== SLIDESHOW ===== */

/* Slideshow wrapper: arrow buttons and slide container side by side */
.slideshow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px 40px;
}

/* Slide container */
.slideshow {
  width: 700px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

/* Individual slide: hidden by default */
.slide {
  display: none;
  text-align: center;
}

/* Active slide: visible */
.slide.active {
  display: block;
}

/* Slide image fills container */
.slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

/* Caption below each slide */
.slide-caption {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: #4a6a73;
  margin-top: 10px;
  padding: 0 !important;
}

/* Previous/next arrow buttons */
.slide-btn {
  background-color: #729ca8;
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

/* Arrow button hover state */
.slide-btn:hover {
  background-color: #5a8490;
}

/* Dot indicator row below slideshow */
.slide-dots {
  text-align: center;
  margin-bottom: 20px;
}

/* Individual dot indicator */
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #9fb8bb;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Active dot: teal */
.dot.active {
  background-color: #729ca8;
}

/* ===== TIMELINE (MILESTONES) ===== */

/* Timeline section wrapper */
.timeline {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 40px;
}

/* Individual timeline item card */
.timeline-item {
  background-color: #cedad2;
  border-radius: 22px;
  padding: 30px 40px;
  margin-bottom: 24px;
  border-left: 6px solid #729ca8;
  position: relative;
}

/* Alternating colors for timeline items */
.timeline-item:nth-child(2) {
  background-color: #9fb8bb;
  border-left-color: #9cae81;
}

.timeline-item:nth-child(3) {
  background-color: #cedad2;
  border-left-color: #729ca8;
}

.timeline-item:nth-child(4) {
  background-color: #9fb8bb;
  border-left-color: #9cae81;
}

/* Year label in each timeline item */
.timeline-year {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: #0b0b0c;
  margin-bottom: 10px;
}

/* Timeline item body text */
.timeline-content {
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

.timeline-content strong {
  font-weight: 700;
  color: #0b0b0c;
}

.timeline-content em {
  font-style: italic;
  color: #666;
}

/* ===== EXHIBITIONS PAGE ===== */

/* Intro paragraph section on exhibitions page */
.exhibitions-intro {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 40px;
}

.exhibitions-intro p {
  font-size: 18px;
}

/* Current and upcoming exhibitions wrapper sections */
.current-exhibitions,
.upcoming-exhibitions {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
}

/* Section heading size */
.current-exhibitions h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

/* Flexbox grid for exhibition boxes */
.exhibition-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* Individual exhibition box */
.exhibition-box {
  flex: 1;
  min-width: 260px;
  border-radius: 22px;
  padding: 40px;
  box-sizing: border-box;
}

/* Exhibition box heading */
.exhibition-box h3 {
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 20px;
  color: #0b0b0c;
}

/* Exhibition box body text */
.exhibition-box p {
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

/* Exhibition box background colors */
.box-one {
  background-color: #cedad2;
}

.box-two {
  background-color: #9fb8bb;
}

.box-three {
  background-color: #729ca8;
}

/* Upcoming section heading */
.upcoming-exhibitions h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

/* Upcoming exhibition single box */
.upcoming-box {
  background-color: #9fb8bb;
  border-radius: 22px;
  padding: 40px;
  margin-bottom: 30px;
}

.upcoming-box h3 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 20px;
  color: #0b0b0c;
}

.upcoming-box p {
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

/* ===== BUY TICKETS PAGE ===== */

/* Left margin for ticket pricing table */
.main table {
  margin-left: 40px;
}

/* Spacer div above the calendar section */
.calendar-spacer {
  margin-top: 60px;
}

/* Wrapper for calendar and date status panel side by side */
.calendar-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Calendar table with rounded corners and shadow */
.calendar-table {
  width: 340px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Calendar cell sizing */
.calendar-table th,
.calendar-table td {
  text-align: center;
  padding: 10px;
  width: 48px;
  height: 42px;
}

/* Calendar month header row */
.calendar-table thead tr:first-child th {
  background-color: #729ca8;
  padding: 14px 10px;
}

/* Day of week header row */
.calendar-table thead tr:nth-child(2) th {
  background-color: #e4eff2;
  color: #4a6a73;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px;
}

/* Calendar body cells default background */
.calendar-table tbody tr:nth-child(even) td,
.calendar-table tbody tr:nth-child(odd) td {
  background-color: #f5f9fa;
}

/* Month title row with arrows and label */
.calendar-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Calendar title text */
.calendar-title-row span {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: white;
}

/* Navigation arrows */
.calendar-arrow {
  font-size: 28px;
  cursor: pointer;
  user-select: none;
  padding: 0 6px;
  color: white;
}

/* Arrow hover effect */
.calendar-arrow:hover {
  opacity: 0.7;
}

/* Clickable calendar day cells */
.cal-day {
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  position: relative;
  z-index: 2;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Available date: green background */
.cal-available {
  background-color: #d4edda !important;
  color: #1b5e20;
}

/* Full/sold out date: red background */
.cal-full {
  background-color: #f8d7da !important;
  color: #b71c1c;
}

/* Day hover opacity effect */
.cal-day:hover {
  opacity: 0.8;
}

/* Selected date: teal outline */
.cal-day.selected {
  outline: 3px solid #729ca8;
  font-weight: 700;
}

/* ===== DATE STATUS PANEL ===== */

/* Hidden by default until a date is clicked */
.date-status-hidden {
  display: none;
}

/* Shown when a date is selected */
.date-status-visible {
  display: block;
  flex: 1;
  min-width: 240px;
  padding: 20px;
}

/* Status panel heading */
.date-status-visible h3 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 10px;
}

/* Available status label: green */
.status-open {
  color: #2e7d32;
  font-weight: 700;
}

/* Full status label: red */
.status-full {
  color: #d32f2f;
  font-weight: 700;
}

/* Buy Now button: hidden by default until an available date is selected */
#dateStatusBtn {
  display: none;
}

/* Buy Now button sizing */
.buy-now-btn {
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
}

/* ===== FORM STYLING ===== */

/* Centered form card with shadow */
form {
  max-width: 500px;
  margin: 40px auto;
  padding: 40px;
  background-color: #cedad2;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Center all form elements by default */
form * {
  margin: 0 auto;
  text-align: center;
}

/* Form label styling */
form label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  color: #0b0b0c;
}

/* Form input fields */
form input {
  width: 80%;
  padding: 12px;
  margin-bottom: 10px;
  border: 2px solid #9fb8bb;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  box-sizing: border-box;
}

/* Input focus state: teal border and white background */
form input:focus {
  outline: none;
  border-color: #729ca8;
  background-color: #ffffff;
}

/* Form submit button */
form button {
  background-color: #9cae81;
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

/* Submit button hover state */
form button:hover {
  background-color: #859a6d;
}

/* Spacing between form field groups */
form p {
  margin-bottom: 20px;
}

/* Ticket type dropdown styled to match input fields */
form select {
  display: block;
  width: 80%;
  padding: 12px;
  margin: 0 auto 10px auto;
  border: 2px solid #9fb8bb;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #ffffff;
  color: #0b0b0c;
  cursor: pointer;
}

/* Hides the purchase form until Buy Now is clicked */
.purchase-form-hidden {
  display: none !important;
}

/* Purchase form heading: removes default top margin */
.purchase-heading {
  margin-top: 0;
}

/* Required fields note: styled in red, small, italic, right-aligned */
.required-note {
  color: #d32f2f;
  font-size: 14px;
  font-style: italic;
  font-weight: bold;
  text-align: right;
  margin-top: 0;
}

/* Red asterisk on required field labels */
.required-star {
  color: #d32f2f;
}

/* Price display: hidden until ticket type and quantity are selected */
#priceDisplay {
  display: none;
}

/* Optional field label in the zip code row */
.optional-label {
  color: #888;
  font-weight: 300;
  font-style: italic;
}

/* Checkbox and label side by side, centered */
.checkbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 15px;
  cursor: pointer;
  width: 80%;
  margin: 0 auto;
}

/* Checkbox sizing and accent color */
.checkbox-label input[type="checkbox"] {
  width: auto;
  padding: 0;
  margin: 0;
  accent-color: #729ca8;
  cursor: pointer;
  flex-shrink: 0;
}

/* ===== TABLE STYLING ===== */

/* Ticket pricing table */
table {
  border-collapse: collapse;
  width: fit-content;
  margin-top: 25px;
}

/* Table header cells: teal background */
th {
  padding: 12px 15px;
  background-color: #729ca8;
  color: white;
  text-align: left;
}

/* Table data cells */
td {
  padding: 12px 15px;
  border: none;
}

/* Alternating row colors for readability */
tr:nth-child(even) {
  background-color: #daeef2;
}

tr:nth-child(odd) {
  background-color: #ffffff;
}

/* ===== DONATION PAGE ===== */

/* Membership tier cards grid on donation page */
.membership-grid {
  padding: 0 40px;
  margin-top: 20px;
}

/* Benefit description text inside membership cards */
.card-benefit {
  margin-top: 10px;
}

/* Donation form heading: removes default top margin */
.donate-heading {
  margin-top: 0;
}

/* ===== CONFIRMATION & THANK YOU PAGES ===== */

/* Green gradient banner at top of confirmation/thank you pages */
.confirmation-banner {
  text-align: center;
  padding: 60px 40px 40px 40px;
  background: linear-gradient(135deg, #cedad2 0%, #9fb8bb 100%);
}

/* Large green checkmark icon */
.confirmation-checkmark {
  font-size: 64px;
  color: #2e7d32;
  line-height: 1;
  margin-bottom: 16px;
}

/* Confirmation page main heading */
.confirmation-title {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #0b0b0c;
  margin: 0 0 16px 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Subtitle below heading */
.confirmation-subtitle {
  font-size: 18px;
  color: #2f3b4a;
  margin: 0;
  padding: 0;
}

/* Order summary card */
.confirmation-card {
  max-width: 560px;
  margin: 50px auto 20px auto;
  padding: 40px;
  background-color: #cedad2;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Card heading */
.confirmation-card h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 28px 0;
  padding: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Each row in the order summary */
.confirmation-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #9fb8bb;
  gap: 16px;
}

/* Row label (left side) */
.conf-label {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #4a6a73;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* Row value (right side) */
.conf-value {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #0b0b0c;
  text-align: right;
}

/* Total row at bottom of card */
.confirmation-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 0 0;
  margin-top: 8px;
  gap: 16px;
}

/* Total label */
.conf-total-label {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #0b0b0c;
  text-transform: uppercase;
}

/* Total value: larger green text */
.conf-total-value {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #2e7d32;
}

/* Info note below the order summary card */
.confirmation-note {
  max-width: 560px;
  margin: 0 auto 20px auto !important;
  padding: 16px 20px !important;
  background-color: #e4eff2;
  border-radius: 8px;
  font-size: 15px !important;
  color: #2f3b4a;
  text-align: center !important;
  line-height: 1.6 !important;
}

/* Hidden confirmation rows: shown dynamically by loadConfirmation() in script.js */
.conf-hidden-row {
  display: none;
}

/* Action buttons row on confirmation and thank you pages */
.confirmation-actions {
  text-align: center;
  margin: 40px 0;
}

/* ===== SHARED UTILITIES ===== */

/* Bottom spacer used across multiple pages */
.bottom-spacer {
  height: 80px;
}

/* Toggle button link style for jQuery show/hide feature */
.toggle-btn {
  color: #729ca8;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* Responsive YouTube embed */
iframe {
  width: 100%;
  max-width: 800px;
  height: 450px;
  border: none;
  display: block;
  margin: 30px auto;
}

/* Map container sizing */
#map {
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: 30px auto;
}

/* ===== TABLET STYLES (max-width: 650px) ===== */
@media only screen and (max-width: 650px) {

  /* Hide nav links on small screens */
  .nav_bar a:not(.icon) {
    display: none;
  }

  /* Hide button group on small screens */
  .nav_bar .button-group {
    display: none;
  }

  /* Show hamburger icon on small screens */
  .nav_bar .icon {
    display: block;
    float: right;
    font-size: 28px;
  }

  /* Stack nav vertically when hamburger is active */
  .nav_bar.responsive {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Show nav links when responsive class is added */
  .nav_bar.responsive a:not(.icon) {
    display: block;
    padding: 10px 0;
  }

  /* Show button group when responsive class is added */
  .nav_bar.responsive .button-group {
    display: flex;
    margin-left: 0;
    margin-top: 10px;
  }

  /* Single column grid on small screens */
  .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      'header'
      'nav_bar'
      'main'
      'footer';
  }

  /* Stack exhibit cards vertically */
  .exhibit-grid {
    flex-direction: column;
  }

  /* Stack exhibition boxes vertically */
  .exhibition-grid {
    flex-direction: column;
  }

  /* Stack explore page image row vertically */
  .image-row {
    flex-direction: column !important;
    align-items: center !important;
  }

  .image-row img {
    width: 90% !important;
    height: auto !important;
  }
}

/* ===== MOBILE STYLES (max-width: 480px) ===== */
@media only screen and (max-width: 480px) {

  /* Stack header vertically on mobile */
  header {
    flex-direction: column;
    padding: 15px;
    text-align: center;
  }

  /* Center nav on mobile */
  .nav_bar {
    padding: 10px 20px;
    margin-top: 0;
    justify-content: center;
  }

  .button-group {
    margin-left: 0;
    margin-top: 10px;
  }

  /* Smaller hero height on mobile */
  .hero {
    height: 250px;
  }

  /* Smaller hero heading on mobile */
  .hero-content h1 {
    font-size: 24px;
  }

  /* Smaller greeting on mobile */
  #greeting {
    font-size: 24px;
  }

  /* Reduce section padding on mobile */
  .now-on-view {
    padding: 20px;
  }

  .main h1 {
    padding: 0 20px;
  }

  .main h2 {
    padding: 0 20px;
  }

  .main p {
    padding: 0 20px;
  }

  .timeline {
    padding: 0 20px;
  }

  .timeline-item {
    padding: 20px;
  }

  .exhibitions-intro {
    padding: 0 20px;
  }

  .current-exhibitions {
    padding: 0 20px;
  }

  .upcoming-exhibitions {
    padding: 0 20px;
  }

  /* Stack calendar and status panel vertically */
  .calendar-wrapper {
    flex-direction: column;
    padding: 0 20px;
  }

  /* Calendar takes full width on mobile */
  .calendar-table {
    width: 100%;
  }

  /* Scrollable ticket table on mobile */
  .main table {
    margin-left: 20px;
    overflow-x: auto;
    display: block;
  }

  /* Smaller form padding on mobile */
  form {
    margin: 20px;
    padding: 20px;
  }
}