* {
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}
h2 {
  margin: 0;
  padding: 0;
   place-self: center;
   font-size: 1rem;
   font-weight: 300;
   color: black;
}
h3 {
    margin: 0;
  padding: .5rem;
   color: black;
}
h4 {
  display: block;
  place-self: center;
font-size: 2rem;
height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
.background-full-image {
  position: fixed;
  top: 10vh;
  left: 0;
  width: 100%;
  height: calc(100vh - 15vh);
  max-height: 100vh;
  z-index: -100;
  pointer-events: none;
  margin: 0;
  padding: 0;
  display: block;
  
}
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -100;
  pointer-events: none;
}
body {
  position: relative;
  top: 0;
  display: grid;
  grid-template-rows: 10vh auto 10vh;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  place-content: center;
  text-align: center;
  max-width: 100vw;
  min-height: 100vh;
  background-color: white;
  color: black;
}

.header-container {
  position: fixed;
  display: grid;
  grid-template-columns: 12.5vw 12.5vw 50vw 12.5vw 12.5vw;
  grid-template-rows: 50% 50%;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 100vw;
  max-width: 100vw;
  max-height: 10vh;
  min-height: 10vh;
  z-index: 10;
  background-color: rgb(16, 39, 159);
}

.top-left {
  grid-column: 1;
  grid-row: 1 / 3;
  place-self: center;
}
.top-left li a {
  color: rgb(255, 0, 255);
}
.top-right {
  grid-column: 2;
  grid-row: 1 / 3;
  place-self: center;
}
.top-right li a {
  color: rgb(255, 0, 255);
}

.header-search-container {
  grid-column: 4 / 6;
  grid-row: 1 / 3;
  place-self: center;
  place-content: center;
  min-width: 100%;
  max-height: 10vh;
}
.header-search-container input {
  border-radius: 50px;
  min-width: 75%;
  max-height: 10vh;
  height: 2rem;
}
.header-search-container button {
  position: absolute;
  right: 25px;
  background-color: white;
  color: black;
  border-radius: 50px;
  height: 100%;
  aspect-ratio: 1;
}
.header-search-container form {
  position: relative;
  width: 100%;
}

.title_image {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  place-self: center;
  min-width: 100%;
  max-height: 100%;
}
.title_image img {
  max-height: 10vh;
  width: 80%;
}
.site-title {
  margin: 0;
  padding: 0;
  font-family: 'Times New Roman';
  font-size: 3rem;
  font-weight: normal;
  background: linear-gradient(135deg, rgb(255, 0, 255), rgb(36, 138, 240));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 2px 2px rgba(0,0,0,1)); /* cleaner than text-shadow */
  display: inline-block;
}

.off-screen-menu {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  place-items: center;
  place-self: center;
  min-width: 100%;
  max-height: 100px;
}
.off-screen-menu ul li {
  font-size: 1.25rem;
  display: inline-flex;
  margin: 10px;
  flex-direction: row;
}
.off-screen-menu ul li a {
  color: rgb(255, 0, 255);
  transition: color 0.3s;
  width: 100%;
}
.off-screen-menu ul li a:hover {
  color: rgb(4, 0, 255);
}

.body-container {
  position: absolute;
  top: 0;
  height: fit-content;
  min-width: 80vw;
  max-width: 80vw;
  display: grid;
  grid-template-columns: 420px 1fr;
  grid-template-rows: 10vh auto auto auto auto 10vh;
  place-self: center;
  place-content: center;
  gap: 3rem;
}

.navbar {
    text-align: center;
    
}
.navbar ul li {
  display: grid;
  grid-auto-flow: column;

}
.nav-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 12px 0;
    padding: 0;
    list-style: none;
    
}

.nav-row li {
    /* Optional: add more styling for buttons/links */
  
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px #0002;
    padding: 6px 0;
}
.nav-row a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    display: block;
}
.body-menu-container {
  justify-self: center;

  display: grid;
  grid-column: 1 / 3;
  grid-row: 2;
  width: 80vw;
}

.glow-frame {
  text-align: center;
  height: fit-content;
  min-width: 100%;
  max-width: 100%;
  background-color: white;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}
.glow-frame img {
  max-width: 100%;
  max-height: 100vh;
}
.glow-frame a {
  text-decoration: none;
  display: grid;
}
.single-glow-frame {
    height: fit-content;
  background-color: white;
  border-radius: 15px;
  min-width: 100%;
  max-width: 100%;
  place-self: center;
  /* box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);  Glow effect */
  text-align: center; /* Center text */

  animation: glow 1.5s infinite alternate;
}
.single-glow-frame form {
  place-self: center;
  width: 90%;
}

.single-glow-frame a {
  margin: 1rem;
  justify-self: center;
  max-width: 0px;
}
.single-glow-frame img {
  display: grid;
  place-self: center;
  width: 75%;
}
.card {
  color: black;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 235px 45px 20px 20px 140px 35px 25px;
  max-width: 100%;
  max-height: 100%;
  background-color: rgb(255, 255, 255);
}

.card-grid-item-1 { grid-row: 2; grid-column: 1 / 5; place-self: center; margin: 0; padding: 0;}
.card-grid-item-2 { grid-row: 1; grid-column: 1 / 5; }
.city-state-zip-phone { grid-row: 3 / 5; grid-column: 1 / 5; }
.card-grid-item-7 { grid-row: 7; grid-column: 1; place-self: center; }
.card-grid-item-8 { grid-row: 7; grid-column: 2; place-self: center; }
.card-grid-item-9 { grid-row: 7; grid-column: 3; place-self: center; }
.card-grid-item-10 { grid-row: 7; grid-column: 4; place-self: center; }
.card-grid-item-11 { grid-row: 5; grid-column: 1 / 5; justify-self: center; }
.card-grid-item-13 { grid-row: 6; grid-column: 1; place-self: bottom; }
.card-grid-item-14 { grid-row: 6; grid-column: 2; place-self: center; }
.card-grid-item-15 { grid-row: 6; grid-column: 4; place-self: bottom; }
.card-grid-item-16 { grid-row: 6; grid-column: 3; place-self: center; }
.city-state-zip-phone h3{
  place-content: center;
}
.venue-search-visibility-container {
  grid-row: 3;
  grid-column: 1 / 3;
}

.venue-card-frame {
  display: grid;
  grid-column: 1;
  grid-row: 4;
  min-height: 520px;
  min-width: 420px;
  max-height: 520px;
  max-width: 420px;
}

.venue-profile-frame {
  display: flex;
  grid-column: 2;
  grid-row: 4 / 6;
  place-content: center;
  min-width: 100%;
  max-height: 100%;
}

.venue-profile {
  place-self: center;
  place-content: center;
  min-height: 100%;
  max-height: 100%;
  min-width: 100%;
  max-width: 100%;
}
.set-calendar-body-container {
display: grid;
grid-template-rows: 10vh auto auto auto auto 10vh;
max-width: 90vw;
min-height: 100vh;
place-self: center;
place-content: center;
gap: 3rem;
    border-radius: 15px;
}
.venue-profile-update {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 35px auto auto auto;
  color: black;
  min-height: 100%;
  max-height: 100%;
  min-width: 100%;
  max-width: 100%;
}

.profile-settings-form-container0 {
  grid-row: 1;
  grid-column: 1 / 3;
  width: 100%;
  place-self: center;
}

.profile-settings-form-container1 {
  max-height: 75%;
  grid-column: 1;
  grid-row: 2;
}
.profile-settings-form-container1 input {
  height: 2rem;
  border-radius: 5px;
  display: block;
  min-width: 90%;
  max-width: 90%;
  margin-bottom: 1rem;
  margin-left: 5%;
  margin-right: 5%;
}
.profile-settings-form-container1 label {
  display: block;
  text-align: left;
  margin-left: 5%;
  margin-right: 5%;
}

.profile-settings-form-container1b {
  max-height: 75%;
  grid-column: 2;
  grid-row: 2;
}
.profile-settings-form-container1b input {
  height: 2rem;
  border-radius: 5px;
  display: block;
  margin-bottom: 1rem;
  min-width: 90%;
  max-width: 90%;
  margin-left: 5%;
  margin-right: 5%;
}
.profile-settings-form-container1b label {
  display: block;
  text-align: left;
  margin-left: 5%;
  margin-right: 5%;
}
.profile-settings-description-form-container2 {
  border-radius: 5px;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  max-height: 50%;
  min-height: 7rem;
  grid-row: 3;
  grid-column: 1 / 3;
}

.profile-settings-includes-form-container3 {
  border-radius: 5px;
  margin-top: 1rem;
  max-height: 50%;
  grid-column: 1 / 3;
  grid-row: 4;
  gap: 10px;
}

.profile-settings-includes-form-container3 h3 {
  /* This will ensure the h3 always takes up the full width of its container */
  width: 100%;
  text-align: center;
  margin-bottom: 10px; /* Add some space below the heading */
}
.checkbox-grid-wrapper {
  margin-left: 20px;
  margin-right: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* This will create two columns for the checkboxes */
  gap: 10px;
}

.checkbox-wrapper {
  /* These rules will make the checkboxes themselves sit nicely in the grid */
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.profile-update-button {
  margin-top: 20px;
  justify-self: bottom;
  grid-column: 1 / 3;
  grid-row: 5;
}

.venue-profile textarea {
  min-width: 90%;
  min-height: 100%;
}

.image-upload-container {
  color: black;
  justify-self: top;

  grid-row: 5;
  grid-column: 1;
}
 .upload-control {
        margin-bottom: 1rem;
 }
/* ============================
   Footer
============================= */

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  place-content: center;
  max-height: 5vh;
  min-height: 5vh;
  width: 100vw;
  max-width: 100vw;
  text-align: center;
  color: #fff;
  background-color: rgb(16, 39, 159);
  margin: 0;
  padding: 0;
  z-index: 10;
}
.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.footer a {
  margin: 0.5rem;
  color: #fff;
  background-color: rgb(16, 39, 159);
}
.footer-left {
  place-self: center;
  grid-column: 1;
  max-width: 100%;
}
.footer-center {
  grid-column: 2;
  place-self: center;
}
.footer-right {
  place-self: center;
  grid-column: 3;
}

/* ============================
   Buttons
============================= */

form button {
  justify-self: center;
  place-items: center;
  min-width: 75px;
  max-width: 75px;
  border-radius: 5px;
  background-color: rgb(17, 17, 17);
  color: #fff;
  text-align: center;
  cursor: pointer;
}
form button:hover {
  background-color: rgb(255, 0, 255);
}
.gallery-item {
  cursor: grab;
}
.gallery-item:active {
  cursor: grabbing;
}


/* ============================
   Media Queries
============================= */

@media screen and (max-width: 1175px) {
  .footer-container { font-size: 85%; }
}
@media screen and (max-width: 1075px) {
  .footer-container { font-size: 75%; }
}
@media screen and (max-width: 850px) {
  .footer-container { font-size: 65%; }
}
@media screen and (max-width: 700px) {
  .footer-container { font-size: 50%; }
}
@media screen and (max-width: 575px) {
  .footer-container { font-size: 30%; }
}
@media screen and (max-width: 450px) {
  .footer-container { font-size: 20%; }
}
@media screen and (max-width: 300px) {
  .footer-container { font-size: 15%; }
}

@media screen and (max-width: 1020px) {
  .body-container {
    top: 0;

    display: grid;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto;
    grid-column-gap: 0;
    grid-row-gap: 2rem;
    width: 100%;
    max-width: 100vw;
    min-width: 100vw;
    margin-top: 10vh;
    padding: 0;
  }

  .venue-card-frame,
  .venue-profile-frame,
  .image-upload-container {
    width: 420px !important;
    width: 100%;
    margin: 0 auto;
    grid-column: 1 / -1 !important;
    display: block;
  }

  .image-upload-container { grid-row: 2; }
  .venue-card-frame { grid-row: 3; }
  .venue-profile-frame { grid-row: 4; }
  
  .venue-profile-frame,
  .venue-profile-frame .glow-frame,
  .venue-profile-frame .venue-profile,
  .venue-profile-frame form,
  .venue-profile-frame .venue-profile-update,
  .venue-profile-frame .profile-settings-form-container0,
  .venue-profile-frame .profile-settings-form-container1,
  .venue-profile-frame .profile-settings-form-container1b,
  .venue-profile-frame .profile-settings-description-form-container2,
  .venue-profile-frame .profile-settings-includes-form-container3,
  .venue-profile-frame .profile-update-button {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .venue-profile-frame input,
  .venue-profile-frame textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .venue-profile-frame {
    min-width: unset;
    width: 420px;
    max-width: 90%;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .venue-profile-frame form {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    box-sizing: border-box;
    display: block;
    overflow: hidden;
  }

  .venue-profile-frame form * {
    width: auto;
    max-width: 100%;
    min-width: 0;
  }

  .venue-card-frame {
    margin-bottom: 0;
  }

  .venue-profile-frame {
    margin-top: 0;
  }
  .profile-settings-description-form-container2 textarea{
  min-width: 90%;
}
}

@media screen and (orientation: landscape) {
  .portrait-search {
    display: none;
  }
  .off-screen-menu {
    display: none;
  }
}

/* ============================
   Animations
============================= */

@keyframes glow {
  from {
    box-shadow: 0 0 5px rgb(30, 0, 255), 0 0 10px rgb(30, 0, 255),
                0 0 10px rgb(255, 0, 255);
  }
  to {
    box-shadow: 0 0 5px rgb(255, 0, 255), 0 0 10px rgb(255, 0, 255),
                0 0 10px rgb(255, 0, 255);
  }
}
/* Force radio buttons to display in a row with proper alignment */
/* Final, comprehensive styling for radio buttons with text below */
.radio-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.5rem !important;
    align-items: center !important;
    place-self: center;
    margin-top: 5px;
}

.radio-group label {
    display: flex !important;
    flex-direction: column !important; /* Stacks the radio button and its text vertically */
    align-items: center !important;   /* Horizontally centers the radio button and text */
    margin: 0 !important;
    padding: 0 !important;
    gap: 5px !important;
}

.radio-group input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: content-box !important;
     gap: 20px !important;
}
.radio-section-label {
  place-self: center;
}
.gallery-page-container {
  margin-top: 15vh;
  margin-bottom: 15vh;
grid-template-rows: auto auto auto;
}
.delete-form {
  grid-row: 3;
  grid-column: 1 / 3;
}
 .delete-btn {
        margin-top: 5px;
        background-color: #e74c3c;
        color: white;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        font-size: 14px;
        border-radius: 3px;
    }
    .delete-btn:hover {
        background-color: #c0392b;
    }

  
    .stripe-body-container {
      position: absolute;
      display: grid;
      grid-template-rows: 10vh auto 10vh;
      min-height: 100vh;
      max-height: 100vh;
      min-width: 100vw;
      max-width: 100vw;
    }
    .stripe {
      color: black;
      grid-row: 2;
      place-self: center;
      place-content: center;
      max-width: 600px;
      grid-row: 2;
    
    }
    .venue-map-frame {
      grid-row: 3;
      grid-column: 1 / 3;
      width: 100%;
      height: 100%;
      margin: 0;
      padding: 0;
          z-index: 10000 !important;
    }
    #map-container {
      grid-row: 4;
      grid-column: 1 / 3;
        width: 100%;
       height: auto;
     z-index: 10000 !important;
    }
            #map {
            width: 100%;
            height: 350px;
            border-radius: 16px;
    z-index: 10000 !important;
        }
  
        .profile-update-button {
            margin-top: 20px;
        }
        .geosearch {
            z-index: 1000;
        }
        .leaflet-control-geosearch {
    z-index: 10000 !important;
}
    
.leaflet-control-geosearch .results > .result,
.leaflet-control-geosearch .results > .active {
    color: #000 !important;
}
.leaflet-control-geosearch .results > .result a {
    color: #000 !important;
}
.leaflet-control-geosearch input {
    color: #000 !important;
}
form, form label, form h3, form p {
    color: #000 !important;
}

/* Make input, select, and textarea text black */
form input,
form select,
form textarea
 {
    color: #000 !important;
}
        table { border-collapse: collapse; max-width: 100%; padding: 1rem; }
        th, td { border: 1px solid #aaa; }
        th { background: #eee; }
        .calendar { 
        color: black;
          display: inline-block;
        }
        .calendar th, .calendar td { width: 50px; height: 50px; text-align: center; }
        .calendar .booked { background: #34d399; color: #134e1e; font-weight: bold; }
        .calendar .today { border: 2px solid #2563eb; }
      
      
      
    
        .nav-link { 
          grid-row: 3;
          font-weight: bold;
        }
 .nav-link a {
  color: blue;
 }

          .calendar-wrap {
   
           justify-self: center;
  grid-row: 4;
}
    .searchbar {
          grid-row: 5;
          }
.booking-table {

color: black;
  grid-row: 6;
}
.body-booking-container {
  margin-top: 2rem;
  top: 0;
  grid-row: 1 / 3;
  height: fit-content;
  min-width: 80vw;
  max-width: 80vw;
  min-height: 100vh;
  display: grid;
  grid-template-rows:10vh auto auto auto auto auto 10vh;
  grid-template-columns: 1fr;
  place-self: center;
  place-content: center;
  gap: 1rem;
}
.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin: 1rem 0;
              grid-row: 6;
}

.booking-card {
    background: #f7f8fb;
    border: 1px solid #d3d6e0;
    border-radius: 10px;
    box-shadow: 0 4px 16px #0001;
    padding: 16px;
    font-size: 1rem;
    color: #222;
    text-align: left;
}

.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
  vertical-align: middle;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 28px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 4px; bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #635bff;
}
input:checked + .slider:before {
  transform: translateX(26px);
}
.venue-search-visibility-container {
  grid-row: 3;
  grid-column: 1 / 3;
    background: #f5f5ff;
    box-shadow: 0 2px 14px rgba(99,91,255,0.08);
    font-size: 1.02em;
}
.venue-search-visibility-container label {
    font-weight: 500;
    margin-right: 1em;
}
.venue-search-visibility-container h3 {
    margin-top: 0;
    color: #635bff;
}
.search-popup {
    position: fixed;
    z-index: 10000;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-popup-inner {
    background: #fff;
    padding: 2em 2.5em;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    text-align: center;
    font-size: 1.2em;
}
.search-popup-inner button {
    margin-top: 1em;
    padding: 0.5em 1.5em;
    border: none;
    background: #635bff;
    color: #fff;
    border-radius: 3px;
    font-size: 1em;
    cursor: pointer;
}


.calculator-main-container {
    grid-row: 3;
    grid-column: 1 / 3;
    background: #fffdfa;
    border-radius: 15px;
    box-shadow: 0 6px 24px rgba(100,80,80,0.11);
    padding: 30px;
    margin-top: 20px;
}
