
/* Reset and global styles */
body.home,
body.page-template-template-home .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-template-template-home main#primary {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Visual Debugging 
.entry-header { background: red !important; }
.site-content { background: blue !important; }
.page { background: green !important; }
*/

/*
.site-branding {
  display: none;
}
*/

.site-content {
  min-height: 0 !important;
  display: block !important;
}

/* Header */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  background: transparent;
  z-index: 100;
  padding: 0;
  margin: 0;
}

.site-header > .wrapper {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.main-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding-left: 0;
  margin: 0;
}

.main-navigation a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}


/* Hero section */
.hero-section {
  padding-top: 0px; /* offset for nav bar */
  margin: 0;
  padding: 0;
}

.hero-image {
  width: 100vw;
  height: calc(100vh - 60px); /* subtract nav height */
  background-image: url('/wp-content/uploads/custom-css/images/top-page-image.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-text {
  position: relative;
  top: 20%;
  left: 10%;
  color: white;
  z-index: 2;
  max-width: 80%;        /* Prevents overflow */
  word-wrap: break-word; /* Ensures long words don't overflow */
  overflow-wrap: break-word;
  white-space: normal;   /* Prevents single-line locking */
}

/* .hero-text p {
  font-size: 1rem;
} */

.button {
  background-color: #fff;
  color: #000;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

/* Gallery section */
.gallery-section {
  margin: 0 !important;
  padding-top: 10px;
  overflow: hidden;
}

.gallery-image {
  width: 100vw;
  height: calc(100vh - 10px);
  background-image: url('/wp-content/uploads/custom-css/images/main-image-02.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.gallery-text {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  max-width: 90%;
  z-index: 2;
}

.gallery-text h2 {
  margin: 0;
}

.gallery-text p {
  margin: 0.5rem 0;
}

.gallery-text .button {
  background-color: #fff;
  color: #000;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

/* Costume section */
.costume-section {
  margin: 0;
  padding-top: 10px;
  overflow: hidden;
}

.costume-image {
  width: 100vw;
  height: calc(100vh - 10px);
  background-image: url('/wp-content/uploads/custom-css/images/main-image-03.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.costume-text {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  max-width: 80%;
  z-index: 2;
}

.costume-text h2 {
  margin: 0;
}

.costume-text p {
  margin: 0.5rem 0;
}

.costume-text .button {
  background-color: #fff;
  color: #000;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

.info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px 0;
  margin: 0;
  margin-top: 10px;
  margin-bottom: 0;
  padding-bottom: 0;
  background: #f7f7f7;
  overflow: hidden; /* add this */
}

.info-box {
  flex: 1 1 30%;
  background-color: #e0e0e0;
  margin: 10px 1%;       /* horizontal space only */
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 6px;
}

.info-box h3 {
  margin-top: 0;
  font-size: 1.8rem;
}

.info-box p {
  font-size: 1rem;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .info-box {
    flex: 1 1 100%;
    margin: 10px 0;
  }
  
  .custom-logo {
    padding-left: 16px;
  }
  
}

/* Testimonials Section */

.testimonial-section {
  width: 100%;
  background-color: #f7f7f7;
  padding: 10px 0 20px 0;
  padding-top: 20px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.testimonial-container {
  width: 60%;
  max-width: 800px;
  text-align: center;
}

.testimonial {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.testimonial p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.testimonial footer {
  margin-top: 10px;
  font-weight: 600;
  color: #666;
}

@media (max-width: 768px) {
  .testimonial-container {
    width: 80%;
  }
}

/* Popular Shows Section */

.shows-section {
  width: 100%;
  background-color: #f7f7f7;
  padding: 10px 0 20px 0;
  padding-top: 20px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.shows-container {
  width: 90%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.show {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
}

.show p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.show footer {
  margin-top: 5px;
  font-weight: 600;
  color: #666;
  text-align: center;
}

.show img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.shows-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #262626;
}

@media (max-width: 768px) {
  .shows-container {
    grid-template-columns: 1fr;
  }
}

/* Styling */

/* Global heading styling inside hero/gallery/costume sections */
.hero-text h1,
.gallery-text h2,
.costume-text h2 {
  font-size: 3rem !important;  /* Override any theme interference */
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  text-shadow: 3px 3px 5px rgba(0,0,0,0.8);
  margin-bottom: 0.5rem;
}

/* Subtext paragraph styling */
.hero-text p,
.gallery-text p,
.costume-text p {
  font-size: 1.5rem !important;  /* Adjusted and forced */
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  text-shadow: 3px 3px 5px rgba(0,0,0,0.95);
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Optional: buttons look more cohesive with text */
.hero-text .button,
.gallery-text .button,
.costume-text .button {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Buttons Style */

a.button,
.button,
input[type="submit"],
input[type="button"] {
  background-color: #007a33 !important; 
  color: white !important;
  padding: 10px 20px !important;
  border: none !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  display: inline-block !important;
  font-weight: 600 !important;
  font-family: 'Open Sans', sans-serif !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

a.button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: #006128 !important;
  color: white !important;
  text-decoration: none !important;
}

a.button:active,
.button:active,
input[type="submit"]:active,
input[type="button"]:active {
  background-color: #00471e !important;
  color: white !important;
}

/* Brutal override to eliminate unwanted top margin/padding globally */
.site-content,
.entry-content,
.site-content > *,
.entry-content > * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-template-template-home .site-content > *:first-child,
body.page-template-template-home .entry-content > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-template-template-home main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Eliminate default block spacing between elements */
.wp-block {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.wp-block-group,
.wp-block-cover,
.wp-block-image,
.wp-block-columns,
.wp-block-column,
.wp-block-section {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  padding-block-start: 0 !important;
  padding-block-end: 0 !important;
  gap: 0 !important;
}

/* Optional: override root gap set by theme.json */
body {
  --wp--style--block-gap: 0 !important;
}

.wp-block-group,
.wp-block-group > *,
.page,
.entry-content,
.site-content {
  margin: 0 !important;
  padding: 0 !important;
}

body.home,
body.page-template-template-home .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-template-template-home .wp-block-group,
body.page-template-template-home .wp-block-cover,
body.page-template-template-home .wp-block-image,
body.page-template-template-home .wp-block-columns,
body.page-template-template-home .wp-block {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Custom Footer */
.custom-footer-wrapper {
  width: 100%;
  margin: 0 auto; /* Centers the footer horizontally by setting top/bottom margin 0 and auto left/right margins */
  padding: 10px 10px 10px 10px;
  display: flex; /* Uses Flexbox for layout, allowing flexible alignment of child columns. Alternatives: grid, block */
  flex-wrap: wrap; /* Allows child items to wrap onto next line on smaller screens */
  justify-content: space-between; /* Distributes columns with equal space between them */
  gap: 20px; /* Adds a 20px gap between flex items (columns). Alternative: use margin on children */
  background-color: #f7f7f7; /* Dark background color for footer */
  color: #111; /* Sets text color to white */
}

.site-footer {
  margin-bottom: 40px; /* or padding-bottom */
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.custom-footer-wrapper,
.site-footer > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Check for Outlines
* {
  outline: 1px solid red;
}

body {
  background: yellow;
}
.site-footer {
  background: red;
}
*/


.footer-divider {
  height: 1px;
  background-color: #ccc; /* light grey */
  width: 100%;
  margin: 0 0 20px 0 !important; /* top right bottom left */
  padding: 0 !important;
}

.custom-footer-wrapper ul {
  list-style-position: inside; /* optional: controls bullet placement */
  padding-left: 0;             /* remove default left padding */
  margin-left: 0;              /* remove default margin */
  text-align: left !important; /* enforce left text alignment */
}

.custom-footer-wrapper ul li {
  text-align: left !important; /* enforce left text alignment */
}

.custom-footer-wrapper ul li a {
  text-align: left !important; /* enforce left text alignment */
  display: inline-block;       /* helps with some alignment quirks */
}

.footer-column {
  flex: 1 1 22%; /* Flexible width: grow=1, shrink=1, base width 22% of container. Alternatives: fixed width (e.g. 25%), auto */
  min-width: 200px; /* Minimum width of 200px to prevent columns from shrinking too small on narrow screens */
  }

.footer-column h4 {
  font-size: 1rem; /* Sets size of headings inside footer columns. Alternatives: px, em, or % units */
  margin-bottom: 5px; /* Space below heading to separate from content */
  color: #000; /* White color specifically for headings to stand out */
}

.footer-column p,
.footer-column ul,
.footer-column li,
.footer-column a {
  font-size: 0.875rem; /* Sets font size for paragraph, lists, and links */
  color: #111; /* Light gray text color for less emphasis */
  list-style: none; /* Removes default bullet points from lists */
  text-decoration: none; /* Removes underline from links */
  }

.footer-column a:hover {
  text-decoration: underline; /* Adds underline on hover to indicate clickable links */
  color: #111; /* Changes link color to white on hover for emphasis */
}

.footer-column address {
    margin: 0;
    font-style: normal;
    font-size: 0.875rem;
    color: #111;
    line-height: 1.5;
}

.footer-contact {
    margin-top: 0.75em; /* Adjust spacing between contact items */
    margin-bottom: 0;
}

@media (max-width: 768px) {
  .footer-column {
    flex: 1 1 100%; /* On smaller screens, columns take full width (stack vertically) */
    margin-bottom: 20px; /* Adds spacing between stacked columns */
  }
}

/* Sticky nav bar styles */
.custom-site-header {
  position: sticky; 
  top: 0px; 
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 999;
  margin: 0;
  padding: 0;
}

.custom-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1px 1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-logo {
  font-weight: bold; /* optional, to make it stand out */
  font-size: 1.5rem; /* adjust as needed */
  background: linear-gradient(0.25turn, red, 40%, green); /* example gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for some modern browsers */
  color: transparent;    /* fallback */
}

.custom-logo a,
.custom-logo a:link,
.custom-logo a:visited,
.custom-logo a:hover,
.custom-logo a:focus,
.custom-logo a:active {
  color: transparent !important;
  background: linear-gradient(0.25turn, red, 40%, green) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-decoration: none !important;
}

.custom-menu-wrapper ul.custom-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.custom-menu-wrapper ul.custom-nav li {
  margin: 0;
}

.custom-menu-wrapper ul.custom-nav li a {
  text-decoration: none;
  color: #111;
  font-weight: 400;
  font-size: 0.75rem;
  transition: color 0.2s ease;
}

.custom-menu-wrapper ul.custom-nav li a:hover {
  color: #0071e3;
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Hide menu by default on mobile */
  .custom-menu-wrapper {
    display: none;
  }
  
  /* Show menu when toggled */
  .custom-menu-wrapper.active {
    display: block !important;
    position: absolute;
    top: 60px; /* adjust as needed below header */
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    padding: 1rem;
    z-index: 1000;
  }

  /* Stack menu items vertically on mobile */
  .custom-menu-wrapper ul.custom-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .custom-menu-wrapper ul.custom-nav li a {
    font-size: 1rem; /* slightly bigger for tap targets */
    color: #000;
  }

  /* Toggle button */
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.2rem;
    background: none;
    border: none;
    font-weight: 400;
    color: #000;
    padding: 8px 12px;
  }
}

/* Desktop styles */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .custom-menu-wrapper {
    display: block !important;
    position: static;
    box-shadow: none;
    padding: 0;
    width: auto;
  }

  .custom-menu-wrapper ul.custom-nav {
    flex-direction: row;
    gap: 2rem;
  }
}

body {
  --wp--style--block-gap: 0 !important;
}

/* Margin Gap Elimination 
:root {
  --global--spacing-vertical: 0px !important;
}
*/

/* Page Contents Styling */

.entry-content,
.entry-content > *:last-child,
.entry-footer,
article.page {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.entry-header {
  margin-bottom: 1rem !important;
  border-bottom: 1px solid #ccc !important;
}

.wp-block-heading {
  margin-top: 0 !important;
}

.entry-title {
  margin-bottom: 0rem !important;      /* Reduce spacing below the title */
  font-size: 3.5rem !important;          /* Adjust size to your liking */
  line-height: 1 !important;
  text-align: left;
}

/* Shows Columns Padding */
.shows-columns {
	padding: 0px 2px 0px 2px !important;
}

/* Gallery Columns Padding */
.gallery-columns {
	padding: 2px 2px 2px 2px !important;
}

/* NOTIFICATION BAR */

/* When active */
.custom-notification-bar {
  display: block;
  width: 100%;
  background-color: rgba(255, 0, 0, 0.95);
  color: #111;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  padding: 4px 12px;
  border-bottom: 1px solid #ddd;
}

/* Offset mobile menu if notification is active */
body.has-notification .custom-menu-wrapper.active {
  top: calc(60px + 32px);
}

/* SITEMAP */

.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.sitemap-section h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: none;
}

.sitemap-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-section li {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.sitemap-page .entry-header {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.wpcf7-form input[type="submit"] {
  margin-top: 5px;
}

