/* ==============================
   Global Reset & Base Styles
   ============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: clamp(1rem, 1vw, 1.5rem);
  line-height: 1.5;
}

body {
  background-color: #F5F0E6;
}

body.fade-in {
  opacity: 0;
  animation: fadeInBody 0.3s ease-out forwards;
}

@keyframes fadeInBody {
  to {
    opacity: 1;
  }
}

.page-container {
  background-color: #F5F0E6;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h1 {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

/* ==============================
   Header/Footer
   ============================== */
.footer-color {
  color: #F5F0E6;
  background-color: transparent;
  border: 2px solid #E3AA52;
  color: #E3AA52;
  padding: 4px 8px;
  width: 100%;
  max-width: 320px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}

.footer-color:hover {
   background-color: #E3AA52;
   color: #1a1a1a;
}

.header-container nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 10px;
}

/* Larger screens: update header layout */
@media (min-width: 576px) {
  .header-container nav {
    flex-direction: row;
    justify-content: center;
    gap: 70px;
    padding: 20px;
  }
}

/* ===================================
   Nav Bar Section
   =================================== */
.navbar-toggler {
  margin-right: 1rem;
  border: none;
}

.navbar-nav,
.navbar-brand {
  font-size: 1.2rem;
}

.navbar-brand {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: black !important;
  background-color: #E3AA52;
  border: 2px solid #E3AA52;
  border-radius: 0.3rem;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0.5rem;
}

.navbar-brand:hover {
  color: #F5F0E6 !important;
}

.navbar-nav .nav-link:hover {
  color: #B1BACA !important;
  background: none;
}

.navbar-collapse .nav-item {
  transition: margin-left 0.2s ease;
}

/* ===================================
   Custom Hamburger-to-X Transformation
   =================================== */
.navbar-toggler .navbar-toggler-icon {
  background-image: none;
  display: block;
  position: relative;
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: background-color 0.3s ease;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: #fff;
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -10px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 10px;
}

.navbar-toggler[aria-expanded="false"] .navbar-toggler-icon {
  background-color: #fff;
}
.navbar-toggler[aria-expanded="false"] .navbar-toggler-icon::before,
.navbar-toggler[aria-expanded="false"] .navbar-toggler-icon::after {
  transform: none;
  opacity: 1;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: translateY(10px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: translateY(-10px) rotate(-45deg);
}

@media screen and (max-width: 768px) {
  .navbar-nav .nav-item {
    margin-left: 10px;
  }
}
/* ==============================
   Welcome Section & Images
   ============================== */
.welcome-content-container {
  background-image: url(/static/img/frontPage/wallpaper.png);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.name-cursive,
.cursive-and {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-top: 4rem;
}

.married-header {
  margin: 2rem 0;
  text-transform: uppercase;
  text-align: center;
  font-family: 'Times New Roman', Times, sans-serif;
}

/* Image Banner Section using Flex */
.img-banner-container {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  overflow: hidden;
}

.img-banner {
  width: 20%;
  height: auto;
  object-fit: cover;
  margin: 0;
  padding: 0;
}

@media (max-width: 800px) {
  .img-banner-container img {
    display: none;
  }
  .img-banner-container img:nth-child(3) {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* ==============================
   Date & Place Section
   ============================== */
.date-place {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 4rem 0;
  padding: 3rem 1rem;
  width: 100%;
}

.greenhouse-outline {
  width: 15%;
  max-width: 300px;
  margin-bottom: 1rem;
}

.date,
.mount-fair {
  font-family: 'Times New Roman', Times, serif;
  margin-bottom: 3rem;
}

@media screen and (max-width: 768px) {
  .greenhouse-outline {
    width: 50%;         /* Increase the width percentage for mobile */
    max-width: 500px;   /* Optionally increase the max-width */
  }
}

/* ==============================
   About Us Section
   ============================== */
.about-us-container {
  background-color: #B1BACA;
  padding: 2rem 10%;
  text-align: center;
}

.about-us-container p {
  text-align: left;
  margin-bottom: 1rem;
}

.about-us-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ==============================
   Informational Section (Flex Only)
   ============================== */
.informational-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 800px) {
  .informational-container > .half-width {
    flex: 1 1 45%;
  }
  .informational-container > .full-width {
    flex: 1 1 100%;
  }
}

/* ==============================
   "Please Join Us" Section
   ============================== */
.join-us-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 90%;
  margin: 2rem auto;
}

.tree-pic-container {
  flex: 0 0 auto;
  width: 40%;
  max-width: 900px;
  margin-right: 1rem;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.tree-pic-container .tree-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Join Us text container on the right */
.join-us-container {
  flex: 1;
  text-align: center;
  padding: 3rem;
}


.rsvp-bubble {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #E3AA52;
  color: black !important;
  border: none;
  border-radius: 0.3rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.rsvp-bubble:hover,
.rsvp-bubble:focus {
  color: #F5F0E6 !important;
}

/* ==============================
   Wedding Events Section
   ============================== */
.wedding-day-event-container {
  background: url('/static/img/frontPage/dayEventPic.png') no-repeat center center;
  background-size: cover;
  height: 60vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.wedding-day-event-container.visible {
  transform: scale(1);
  opacity: 1;
}


.overlay-box {
  width: 90%;
  max-width: 800px;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.85);
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wedding-heading {
  font-family: 'Times New Roman', Times, serif;
  text-transform: uppercase;
  color: black;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0;
}

.timed-events {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  justify-content: center;
  align-items: center;
}

@media (min-width: 800px) {
  .timed-events {
    flex-direction: row;
  }
}

.event-column {
  flex: 1;
  text-align: center;
  margin-bottom: 1rem;
}

.event-column h3 {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 0.5rem;
}

.event-column p {
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.9rem;
  margin: 0;
}

/* ==============================
   Useful Information Section (Flex Layout)
   ============================== */
.useful-info-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start; /* Aligns items at the top */
  justify-content: space-between;
  width: 90%;
  margin: 2rem auto;
  gap: 1rem;
}

.useful-info-container {
  flex: 1;
  padding: 1rem;
  text-align: center;
}

.useful-info-container a {
  color: #E3AA52;
}

.useful-info-container a:hover {
  color: #B1BACA;
}

.hill-side-container {
  flex: 0 0 auto;
  width: 40%;
  height: auto;
  padding: 1rem;
}

@media (min-width: 1024px) {
  .hill-side-container {
    max-width: 900px;  /* Adjust this value as desired */
    width: 40%;
  }
}

@media (max-width: 1200px) {
  .hill-side-container {
    width: 100%;
    padding: 1rem;
  }
}

.hill-side-pic {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==============================
   Countdoown and Green Border
   ============================== */
.border-countdown-wrapper {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  width: 100%;
}

#countdown-timer {
  color: #F5F0E6;
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  text-transform: uppercase;
  font-weight: bold;
  transform: translateY(-20%);
}

.green-border {
  background-color: #29361B;
  width: 100%;
  height: 2.5rem;
}

.green-border,
.countdown {
  width: 100%;
  margin: 0;
  padding: 0;
}

.countdown {
  background-image: url(/static/img/frontPage/countDownPic.jpg);
  background-size: cover;
  background-position: center top;
  text-align: center;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1200px) {
  /* For the Join Us / Tree Pic area */
  .join-us-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .tree-pic-container {
    width: 100%;
    max-width: 400px; /* or whatever makes sense on mobile */
    margin-right: 0;
    margin-bottom: 1rem; /* space between the image and text */
  }
  .join-us-container {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  /* For the Useful Info / Hillside section */
  .useful-info-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

/* ==============================
   Footer
   ============================== */
.footer-container {
  background-color: #29361B;
  color: #E3AA52;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  font-size: 0.7rem;
}

/* ==============================
   RSVP Section - Mobile Friendly
   ============================== */
.form-container,
.welcome-rsvp {
  background-color: #F5F0E6;
  text-align: center;
  padding: 2rem 1rem;
}

.form-container {
 background-color: #F5F0E6;
 text-align: center;
 padding: 2rem 1rem;
 display: flex;
 justify-content: center; /* Centers content horizontally */
 align-items: center;
 flex-direction: column;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  width: 100%;
}

/* Improve Label Readability */
.rsvp-form label {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-align: left;
  width: 100%;
}

/* Make Input Fields Fully Responsive */
.rsvp-form input,
.rsvp-form textarea {
  padding: 0.75rem;
  max-width: 100%;
  width: 100%;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 0.5rem;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Adjust Form Sections */
.fill-in-questions,
.radio-container {
  max-width: 100%;
  width: 100%;
}

.fill-in-questions input {
  margin-bottom: 15px;
}

/* Improve Radio Button Layout */
.radio-questions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  max-width: 100%;
  width: auto;
  justify-content: flex-start;
}

.radio-container label {
  width: 100%;
  text-align: left;
  padding: 10px 0;
}

/* Increase Tap Target Size */
.radio-questions input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  vertical-align: middle;
  flex-shrink: 0;
}

.radio-questions label {
  font-size: 1rem;
  line-height: 1.25rem; /* Matches the radio button size for better alignment */
  vertical-align: middle;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Button Responsiveness */
.rsvp-form button {
  padding: 0.75rem 1rem;
  background-color: #29361B;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 300px;
}

.rsvp-form button:hover {
  background-color: #E3AA52;
  transform: scale(1.05);
}

.rsvp-form button:focus {
  outline: none;
}

/* Flash Messages */
.flash-messages {
  margin: 1rem 0;
}

.flash {
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 0.3rem;
  font-weight: bold;
  text-align: center;
}

.flash.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash.danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .form-container {
    padding: 1.5rem 0.75rem;
  }

  .rsvp-form {
    max-width: 100%;
    padding: 1rem;
  }

  .radio-questions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .rsvp-form button {
    max-width: 100%;
  }
}

/* ==============================
   FAQ Section
   ============================== */
.faq-container {
  background-image: url(/static/img/frontPage/wallpaper.png);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 5%;
}

.faq-box {
  background-color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  width: 70%;
}

.faq-container h1 {
  margin-bottom: 1.5rem;
}

.faq-item {
  width: 100%;
  border-bottom: 1px solid #ddd;
  padding: 0.5rem 0;
}

.faq-item a:hover {
  color: #E3AA52;
}

.faq-container h2 {
  font-size: clamp(1rem, 2vw, 1.4rem);
  cursor: pointer;
  text-decoration: underline;
  margin-bottom: 0.5rem;
  text-align: center;;
}

.faq-item h2 {
  transition: color 0.2s ease-in-out;
}

.faq-item p {
  text-align: center;
  overflow: hidden;
  opacity: 0;
  height: 0;
  transition: height 0.4s ease-out, opacity 0.3s ease-in-out;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.faq-item.show p {
  opacity: 1;
  height: auto;
  margin: 0.75rem 0;
  padding: 0 1rem;
}

.faq-item a {
  text-decoration: underline;
  transition: color 0.3s ease-in-out;
  color: black;
}

.faq-item h2:hover,
.faq-item.selected h2 {
  color: #E3AA52;
}

/* Mobile FAQ adjustments */
@media screen and (max-width: 768px) {
  .faq-container {
    padding: 1rem 5%;
    background-attachment: scroll;
  }
  
  .faq-box {
    width: 90%;
    padding: 1.5rem;
  }
  
  .faq-container h1 {
    font-size: 1.8rem;
  }
  
  .faq-container h2 {
    font-size: 1.2rem;
    padding: 0.5rem;
  }
  
  .faq-item {
    padding: 0.5rem 0;
  }
  
  .faq-item p {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

/* ==============================
   Accommodations Section
   ============================== */
.accomm-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.accomm-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
}

.accomm-title,
.hotel-block-header {
  margin-top: 2rem;
}

.hotel-block-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 1rem;
  margin: 2rem auto;
}

.img-hotel {
  flex: 1;
  display: flex;
  justify-content: center;
}

.ext-forum-pic {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
}

.accomm-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

.reserve-block {
  margin-bottom: 10px;
}

.block-link {
  color: #E3AA52;
}

.block-link:hover {
  color: #B1BACA;
}

.recs-flex-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: stretch;
  }

.friday-recs-container,
.saturday-plans-container {
  flex: 1 1 48%;
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  min-width: 0;
}

.things-to-do-container {
  background-color: #B1BACA;
  margin: auto;
  margin-bottom: auto;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.things-to-do-container p {
  padding: 15px;
  text-align: center;
}

.things-to-do-container li {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.things-to-do-container > h2,
.things-to-do-container > p {
  text-align: center;
  margin-bottom: 1.5rem;
}

.things-to-do-container > .friday-recs-container,
.things-to-do-container > .saturday-plans-container,
.things-to-do-container > .other-saturday-container {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.things-to-do-container h3 {
  margin-bottom: 0.5rem;
  color: #333;
  text-align: center;
}

.things-to-do-container h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.things-to-do-container ul {
  padding-left: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.things-to-do-container a {
  color: #E3AA52;
  text-decoration: none;
  font-weight: 500;
}

.things-to-do-container a:hover {
  text-decoration: underline;
}

.friday-recs-container, .saturday-plans-container, .other-saturday-container {
  margin: 10px;
  outline: 2px dashed green;
  outline-offset: -10px;
  border-radius: 6px;
  padding: 0.5rem 1rem;

}

.friday-recs-container p {
  margin: 0;
}

.friday-recs-container ul{
  text-align: center;
  display: block;
  padding: 0.5rem 1rem;
  margin: 0 auto;
  width: fit-content;
}

.accomm-map {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 30px;
}

.toggle-header {
  cursor: pointer;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-top: 1.5rem;
}

.toggle-header:hover {
  background-color: #E3AA52;
  transition: 0.3s ease;
}

.toggle-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  display: block;
}

.toggle-section.open .toggle-content {
  display: block;
}

.toggle-arrow {
  transition: transform 0.3s ease;
  font-size: 1rem;
  margin-left: 0.5rem;
}

.toggle-section.open .toggle-header .toggle-arrow {
  transform: rotate(90deg);
}


/* Mobile Accommodations */
@media screen and (max-width: 768px) {
  .hotel-block-container {
    flex-direction: column;
    align-items: center;
  }
  
  .img-hotel, .accomm-info {
    width: 100%;
  }
  
  .ext-forum-pic {
    width: 80%;
    max-width: 300px;
  }

  .accomm-info {
    text-align: center;
  }

.things-to-do-container {
  text-align: center;
  padding: 30px;
  margin: 20px;
}

 .accomm-map {
    display: none;
  }

  .recs-flex-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .saturday-plans-container ul {
    text-align: left;
  }

  .friday-recs-container,
  .saturday-plans-container {
    flex: 1 1 100%;
    width: 100%;
  }

  .other-saturday-container {
    text-align: left;
  }

}


/* Schedule */

.schedule-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh; /* Full viewport height */
}

.to-be-determined {
  background-color: #F5F0E6; /* Top half color */
  text-align: center;
  align-self: center;
  width: 100%;
  height: 50vh; /* Half page */
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-container {
  background-image: url(/static/img/frontPage/wallpaper.png);
  background-attachment: fixed;
  width: 100%;
  height: 50vh; /* Bottom half */
  display: flex;
  justify-content: center;
  align-items: center;
}

/*====================
   Photos
  ====================*/

img {
  image-orientation: from-image;
}

.photo-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Full viewport height */
}

.photo-header {
    background-color: #F5F0E6; /* Light gray background */
    text-align: center;
    width: 100%;
    height: 50vh; /* Top half */
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-gallery {
    background-image: url("/static/img/frontPage/wallpaper.png");
    background-attachment: fixed;
    width: 100%;
    height: 50vh; /* Bottom half */
    display: flex;
    justify-content: center;
    align-items: center;
}

.masonry {
  column-count: 3;
  column-gap: 1rem;
  max-width: 100%;
}

.masonry a {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
}

.masonry img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 12px;
  display: block;
  break-inside: avoid;
}

@media (max-width: 992px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry {
    column-count: 1;
  }
}


#photo-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F5F0E6; /* match your site aesthetic */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-spinner {
  border: 6px solid #e3e3e3;
  border-top: 6px solid #B1BACA; /* pastel blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

/* Spinner Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Optional: smooth fade out */
#photo-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}







/* ==========================
      Schedule Section
   ========================== */
/* Top Hero with Greenhouse */
.schedule-hero {
  background-image: url('/static/img/frontPage/dayEventPic.png');
  background-size: cover;
  background-position: center 30%;
  height: 50vh;
  min-height: 400px;
  max-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 0.75rem 1.5rem;
  border-radius: 0;
}

.hero-title {
  font-family: 'Times New Roman', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
  color: #1a1a1a;
}

.intro-container a {
  color: black;
}

.intro-container a:hover {
  color: #E3AA52;
}

.intro-container {
  background-color: #B1BACA;
  opacity: 0.85;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 10px;
  padding: 4rem;
  border-radius: 0px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  font-family: inherit;
}

/* Middle Event List Section */
.event-section {
  background-image: url('/static/img/frontPage/wallpaper.png');
  background-repeat: repeat;
  padding: 3rem 1rem;
  text-align: center;
}

.event-content {
  background-color: rgba(255, 255, 255, 0.85);
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem;
  border-radius: 0px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  font-family: inherit;
}

.event-date {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.event-block {
  margin-bottom: 2rem;
}

.event-block h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.event-block p {
  margin: 0;
  font-size: 1rem;
}

.event-divider {
  border: none;
  height: 2px;
  background-color: #B1BACA;
  margin: 3rem auto;
  width: 80%;
  opacity: 0.7;
}

