.landing_page {
  display: flex;
  position: relative;
  padding-top: 7em;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

h6.establish {
  font-family: "Glacial Indifference", sans-serif;
  font-size: 1.8em;
  text-align: center;
  text-decoration: none;
  font-weight: 200;
  margin-top: -1em;
}

#introduction {
  display: block;
  background-color: #ffa8ce;
  padding-left: 40px;
  color: #000000;
  font-family: "Glacial Indifference", sans-serif;
}

h2.intro {
  color: white;
}

.top_logo {
  z-index: 20;
  width: 10em;
  position: absolute;
  top: 0em;
  left: 50%;
  transform: translateX(-50%);
}

.landing_page h6 {
  position: static;
  text-align: center;
}

.intro_logo {
  width: 25em;
  display: flexbox;
  text-align: left;
}

#introduction {
  background-color: #ffa8ce;
  color: #000;
  font-family: "Glacial Indifference", sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5em 4em;
}

#introduction em {
  font-weight: bold;
}

.welcome-text {
  font-family: "Glacial Indifference", sans-serif;
  font-size: 2.5em;
  padding: 0.5em 0;
}

#introduction p {
  font-size: 2rem;
  padding-bottom: 0.5em;
}

.intro-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 3em;
  text-align: left;
}

.intro-image {
  flex: 1 1 25%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 1.5em;
}

.intro-logo img {
  max-width: 380px;
  border-radius: 1.2em;
}

.intro-text {
  flex: 1 1 75%;
  border-radius: 1.2em;
  padding: 2em 3em;
  margin-bottom: 1em;
  font-family: "Glacial Indifference", sans-serif;
}

#introduction .learn_more {
  display: block;
  margin-top: 2em;
  text-align: center;
  width: fit-content;
}

.intro-text .review_card {
  float: left;
  width: 240px;
  background-color: #ff2885;
  border-radius: 10px;
  padding: 1.5em 2em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #d83d7f;
}

#review-container {
  position: absolute;
  top: 1020px;
  left: 320px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
  z-index: 1;
}

.review_card {
  display: none;
  position: relative;
  width: 420px;
  border-radius: 5em;
  padding: 1.5em 2em;
  text-align: center;
  background-color: #ff5da4;
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.review_card.active {
  display: block;
}

.review_card.active:hover {
  cursor: pointer;
  scale: 1.05;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: #d83d7f;
  transform: translateY(-2px);
}

.review_card h3 {
  color: white;
  font-weight: bold;
  font-size: 3.2em;
}

.review_card h4 {
  color: white;
  font-weight: bold;
  font-size: 2.2em;
}

.review_card p {
  text-align: center;
  padding: 0%;
  color: #000000;
}

.review-image {
  width: 180px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 1em solid #d83d7f;
  position: absolute;
  top: -40px;
  left: -65px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Navigation Bar Styling */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.awning-top {
  background-color: #ff5da4;
  height: clamp(20px, 4vw, 40px);
  width: 100%;
}

.awning {
  height: 1em;
  background-color: #ffe8f4;
  background-image: radial-gradient(
    circle at 17.5px -6px,
    #ff5da4 17.5px,
    #ffe8f4 18px
  );
  background-size: 35px 35px;
  background-repeat: repeat-x;
}

nav .nav-bg {
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  font-size: 1.5em;
  width: 100%;
  margin: 0 auto;
  background-color: #ffe8f4;
  box-shadow: 0 0.15em 0.2em rgba(0, 0, 0, 0.2);
  padding: 0.75em 0;
  font-family: "Glacial Indifference", sans-serif;
}

.nav-bar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 0.1em;
}

.nav-bar a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  padding: 0.25em 1.2em;
  border-radius: 50px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-bar a.active {
  background-color: #ff5da4;
  color: #000000;
  font-weight: bold;
}

.nav-bar a:hover {
  background-color: #ff5da4;
  color: #fff;
}

#recent-orders {
  display: block;
  background-color: white;
  color: #000000;
  font-family: "Glacial Indifference", sans-serif;
  margin: 0 auto;
  padding-bottom: 8em;
  perspective: 1000px;
  position: relative;
  padding: 2em 0em 7em 0em;
}

#recent-orders::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/images/RepeatingBackground.png") repeat;
  background-size: 20em 20em;
  opacity: 0.4;
  z-index: 0;
}

#recent-orders h2 {
  color: #d83d7f;
  text-align: center;
  position: relative;
  z-index: 2;
}

#recent-orders {
  display: block;
  background-color: white;
  color: #000000;
  font-family: "Glacial Indifference", sans-serif;
  margin: 0 auto;
  padding-bottom: 8em;
  perspective: 1000px;
  position: relative;
  padding: 2em 0em 7em 0em;
}

#recent-orders::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/images/RepeatingBackground.png") repeat;
  background-size: 20em 20em;
  opacity: 0.4;
  z-index: 0;
}

#recent-orders h2 {
  color: #d83d7f;
  text-align: center;
  position: relative;
  z-index: 2;
}

.recent_orders_slider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 2.5em;
  position: relative;
  z-index: 2;
}

.order_image_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.recent_orders.main_card {
  width: 40em;
  height: 40em;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  opacity: 1;
  transform: scale(1.1);
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.recent_orders.side_card {
  width: 35em;
  height: 35em;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0.6;
  filter: brightness(0.9);
  position: absolute;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.left_card {
  left: 0;
  transform: translateX(-25em) scale(1);
  cursor: pointer;
}

.right_card {
  right: 0;
  transform: translateX(25em) scale(1);
  cursor: pointer;
}

.card {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 2;
}

.main_card {
  position: relative;
  width: 40em;
  height: 40em;
  z-index: 3;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.left_card {
  width: 35em;
  height: 35em;
  left: 0;
  transform: translateX(-25em) scale(0.9);
}

.left_card img,
.right_card img {
  opacity: 0.5;
}

.right_card {
  width: 35em;
  height: 35em;
  right: 0;
  transform: translateX(25em) scale(0.9);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  opacity: 1;
}

.prev_rec,
.next_rec {
  width: 0;
  height: 0;
  border-style: solid;
  background: transparent;
  cursor: pointer;
  position: absolute;
  top: 52.5%;
  transform: translateY(-50%);
  padding: 0;
  outline: none;
  z-index: 10;
}

.prev_rec {
  border-width: 30px 40px 30px 0;
  border-color: transparent #d83d7f transparent transparent;
  left: 10em;
}

.next_rec {
  border-width: 30px 0 30px 40px;
  border-color: transparent transparent transparent #d83d7f;
  right: 10em;
}

#current-events {
  position: relative;
  padding: 2em 0;
  background-color: #ffc0dc;
}
.events-grid {
  display: flex;
  transition: transform 0.5s ease;
  gap: 1.2em;
}
.events-heading {
  color: #ffffff;
  text-align: center;
  padding-bottom: 0.1em;
  position: relative;
  z-index: 2;
  font-family: "Fredoka", sans-serif;
  text-transform: uppercase;
}

.events-section {
  position: relative;
  max-width: 90%;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}

.events-carousel {
  overflow: hidden;
  width: 100%;
  padding-top: 1em;
  padding-bottom: 2em;
}

.events-grid {
  grid-template-columns: auto;
  transition: transform 0.5s ease;
  gap: 1.2em 1em;
  margin-bottom: 1em;
}

.event-card {
  flex: 0 0 calc(25% - 1em);
  background-color: #ffffff;
  border-radius: 2em;
  padding: 1em;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.event-name {
  color: #d83d7f;
  font-size: 2em;
  margin-bottom: 0.1em;
  font-weight: bold;
  font-family: "Fredoka", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-date {
  color: #d83d7f;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  margin-bottom: 0.5em;
  font-weight: 600;
  min-height: 1.8em;
}

.event-image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  border: 5px solid #d83d7f;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 1em;
  flex-shrink: 0;
}

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

.event-caption {
  color: rgb(0, 0, 0);
  font-family: "Glacial Indifference", sans-serif;
  font-size: 1.5em;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-prev,
.event-next {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ff5da4;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.8em;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.3s ease;
}

.event-prev:hover,
.event-next:hover {
  background-color: #d83d7f;
}

.event-prev {
  left: -2em;
}

.event-next {
  right: -2em;
}

/* Kiddies Corner Section */
#kiddies-corner {
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 3em 4em 4em 4em;
  background-color: #ff5da4;
  text-align: center;
}

#kiddies-corner header {
  margin-bottom: 2em;
}

#kiddies-corner h2 {
  color: white;
  font-family: "Fredoka", sans-serif;
  font-size: 3.5em;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

#kiddies-corner > header > p {
  color: black;
  text-align: center;
  font-family: "Glacial Indifference", sans-serif;
  font-size: 2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.4;
}

.kiddies_cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3em;
  max-width: 800px;
  margin: 0 auto;
  padding: 1em 0.5em 0.5em 0em;
}

.kiddies-activity {
  background-color: white;
  border-radius: 25px;
  padding: 2em;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.kiddies-activity:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.kiddies-activity figure {
  margin: 0 0 1.5em 0;
  border-radius: 15px;
  overflow: hidden;
}

.kiddies-activity img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 15px;
  border: 5px solid #ffa8ce;
  transition: transform 0.3s ease;
}

.kiddies-activity:hover img {
  transform: scale(1.05);
}

.kiddies-activity figcaption {
  font-family: "Glacial Indifference", sans-serif;
  font-size: 1.4em;
  color: #d83d7f;
  font-weight: bold;
  margin-top: 0.8em;
  text-align: center;
}

.activity-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.activity-content h3 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.5em;
  color: #d83d7f;
  margin-bottom: 0.5em;
  text-align: center;
}

.activity-content > p:first-of-type {
  font-family: "Glacial Indifference", sans-serif;
  font-size: 1.2em;
  color: #ff5da4;
  font-weight: 600;
  margin-bottom: 1em;
  text-align: center;
  background-color: #ffe8f4;
  padding: 0.5em 1em;
  border-radius: 50px;
  display: inline-block;
  align-self: center;
}

.activity-content > p:last-of-type {
  font-family: "Glacial Indifference", sans-serif;
  font-size: 1.8rem;
  color: #000000;
  line-height: 1.5;
  margin-bottom: 0.5em;
  flex-grow: 1;
}

.activity-content a {
  font-family: "Glacial Indifference", sans-serif;
  font-size: 1.6rem;
  display: inline-block;
  background-color: #ffa8ce;
  color: #000000;
  text-decoration: none;
  padding: 0.8em 2em;
  border-radius: 50px;
  font-weight: 600;
  margin: 0 auto;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
}

.activity-content a:hover {
  background-color: #d83d7f;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border-color: #ffa8ce;
}

.kiddies-cta {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 3px solid rgba(255, 255, 255, 0.3);
}

.kiddies-cta p {
  font-family: "Glacial Indifference", sans-serif;
  font-size: 2.2rem;
  color: white;
  margin-bottom: 1em;
}

.kiddies-main-link {
  font-family: "Fredoka", sans-serif;
  font-size: 2rem;
  display: inline-block;
  background-color: white;
  color: #ff5da4;
  text-decoration: none;
  padding: 1em 2.5em;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kiddies-main-link:hover {
  background-color: #ffe8f4;
  color: #d83d7f;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ======================
   MOBILE NAVIGATION FIXES
   ====================== */

/* Burger Button - Fixed */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #d83d7f;
  color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.burger.active span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  color: #ffffff;
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(135deg, #ff5da4 0%, #d83d7f 100%);
  z-index: 1000;
  transition: right 0.3s ease-in-out;
  padding: 80px 25px 25px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

.mobile-nav-overlay.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-links li {
  margin: 0;
}

.mobile-nav-links a {
  display: block;
  color: white;
  font-family: "Glacial Indifference", sans-serif;
  font-size: 1.2em;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.menu-overlay.active {
  display: block;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Mobile Styles */
@media (max-width: 850px) {
  .burger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
  }

  /* Hide desktop nav on mobile */
  .nav-bar > ul {
  }

  .nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    position: relative;
    min-height: 60px;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .kiddies_cards {
    grid-template-columns: 1fr;
    gap: 2.5em;
    max-width: 600px;
  }

  #kiddies-corner {
    padding: 2em 2em 3em 2em;
  }

  #kiddies-corner h2 {
    font-size: 3em;
  }

  .kiddies-activity {
    padding: 1.5em;
  }
}

@media (max-width: 768px) {
  .kiddies_cards {
    grid-template-columns: 1fr;
    gap: 2em;
    padding: 1em 0 0.5em 0;
  }

  #kiddies-corner {
    padding: 2em 1em 3em 1em;
  }

  #kiddies-corner h2 {
    font-size: 2.8em;
  }

  #kiddies-corner > header > p {
    font-size: 1.8rem;
  }

  .kiddies-activity img {
    height: 220px;
  }

  .activity-content h3 {
    font-size: 2em;
  }

  .activity-content > p:last-of-type {
    font-size: 1.6rem;
  }

  .activity-content a {
    font-size: 1.5rem;
    padding: 0.7em 1.8em;
  }

  .kiddies-main-link {
    font-size: 1.8rem;
    padding: 0.8em 2em;
  }
}

@media (max-width: 480px) {
  .kiddies_cards {
    gap: 1.5em;
  }

  #kiddies-corner h2 {
    font-size: 2.5em;
  }

  #kiddies-corner > header > p {
    font-size: 1.6rem;
  }

  .kiddies-activity {
    padding: 1.2em;
  }

  .kiddies-activity img {
    height: 200px;
  }

  .activity-content h3 {
    font-size: 1.8em;
  }

  .activity-content > p:first-of-type {
    font-size: 1.3em;
  }

  .activity-content > p:last-of-type {
    font-size: 1.5rem;
  }

  .activity-content a {
    font-size: 1.4rem;
    padding: 0.6em 1.5em;
  }

  .kiddies-cta p {
    font-size: 1.8rem;
  }

  .kiddies-main-link {
    font-size: 1.6rem;
    padding: 0.7em 1.8em;
  }
}

/* Large Desktop */
@media (min-width: 1441px) {
  .kiddies_cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1600px;
    gap: 4em;
  }

  .kiddies-activity {
    padding: 2.5em;
  }

  .kiddies-activity img {
    height: 320px;
  }
}

/* Large Desktop */
@media (min-width: 1441px) {
  .landing_page {
    padding-top: 8em;
  }
  .intro-logo img {
    max-width: 420px;
  }
  .review_card {
    width: 400px;
  }
  #review-container {
    top: 1020px;
    left: 250px;
  }
  .review-image {
    width: 150px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 1em solid #d83d7f;
    position: absolute;
    top: -20px;
    left: -50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
}

/* Standard Desktop */
@media (max-width: 1440px) and (min-width: 1025px) {
  .landing_page {
    padding-top: 7em;
  }
  .intro-logo img {
    max-width: 350px;
  }
  .review_card {
    width: 300px;
  }
  #review-container {
    top: 950px;
    left: 200px;
  }

  .recent_orders.main_card,
  .main_card {
    width: 35em;
    height: 35em;
  }

  .recent_orders.side_card,
  .left_card,
  .right_card {
    width: 30em;
    height: 30em;
  }

  .left_card {
    transform: translateX(-22em) scale(0.9);
  }
  .right_card {
    transform: translateX(22em) scale(0.9);
  }
  .review-image {
    width: 120px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 1em solid #d83d7f;
    position: absolute;
    top: -20px;
    left: -50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
  .landing_page {
    padding-top: 6em;
  }
  .welcome-text {
    font-size: 2.2em;
  }
  .top_logo {
    width: 8em;
  }

  .intro-content {
    flex-direction: column;
    text-align: center;
    gap: 2em;
    padding: 0 2em;
  }

  .intro-logo img {
    max-width: 300px;
  }
  .intro-text {
    width: 100%;
    padding: 1.5em 2em;
  }

  .review_card {
    width: 350px;
    padding: 1.2em 1.8em;
  }

  #review-container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 2em auto;
  }

  .review-image {
    width: 140px;
    top: -30px;
    left: -50px;
  }

  /* Recent orders slider adjustments */
  .recent_orders_slider {
    padding: 1em;
  }

  .recent_orders.main_card,
  .main_card {
    width: 30em;
    height: 30em;
  }

  .recent_orders.side_card,
  .left_card,
  .right_card {
    width: 25em;
    height: 25em;
  }

  .left_card {
    transform: translateX(-18em) scale(0.9);
  }
  .right_card {
    transform: translateX(18em) scale(0.9);
  }

  .prev_rec {
    left: 5em;
  }
  .next_rec {
    right: 5em;
  }

  /* Events section */
  .event-card {
    flex: 0 0 calc(33.333% - 1em);
  }

  /* Kiddies corner */
  .kiddies_cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .landing_page {
    padding-top: 5em;
  }
  .welcome-text {
    font-size: 2em;
  }
  .top_logo {
    width: 8em;
  }

  #introduction {
    padding: 1.5em 1em;
  }

  .intro-content {
    flex-direction: column;
    gap: 1.5em;
    padding: 0 1em;
    text-align: center;
  }

  .intro-text {
    padding: 1.5em;
    width: 100%;
  }

  .intro-logo img {
    max-width: 250px;
    margin: 0 auto;
  }

  #review-container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 2em auto;
  }

  .review_card {
    width: 90%;
    max-width: 320px;
    margin: 0 auto;
    padding: 1.2em 1.5em;
  }

  .review-image {
    width: 120px;
    top: -30px;
    left: -40px;
    border: 0.8em solid #d83d7f;
  }

  .review_card h3 {
    font-size: 2.8em;
  }
  .review_card h4 {
    font-size: 2em;
  }

  /* Recent orders mobile fixes */
  .recent_orders_slider {
    padding: 1em;
  }

  .order_image_wrapper {
    width: 100%;
  }

  .recent_orders.main_card,
  .main_card {
    width: 90vw;
    height: 90vw;
    max-width: 300px;
    max-height: 300px;
  }

  .recent_orders.side_card,
  .left_card,
  .right_card {
    display: none;
  }

  .prev_rec,
  .next_rec {
    position: static;
    position: absolute;
  }

  .prev_rec {
    border-width: 20px 30px 20px 0;
    top: 28.2em !important;
  }

  .next_rec {
    border-width: 20px 0 20px 30px;
  }

  /* Events section mobile fixes */
  .events-grid {
    gap: 0.8em;
  }

  .event-card {
    flex: 0 0 calc(100% - 1em);
    padding: 0.8em;
  }

  .event-prev,
  .event-next {
    width: 35px;
    height: 35px;
    font-size: 1.4em;
    z-index: 5000;
  }

  .event-prev {
    left: -1em;
  }
  .event-next {
    right: -1em;
  }

  .event-name {
    font-size: 1.8em;
  }
  .event-date {
    font-size: 1.1em;
  }
  .event-caption {
    font-size: 1.3em;
  }

  /* Kiddies corner mobile fixes */
  .kiddies_cards {
    grid-template-columns: 1fr;
    gap: 1.5em;
    padding: 1em 0;
  }

  #kiddies-corner {
    padding: 2em 1em;
  }

  #kiddies-corner h2 {
    font-size: 2.8em;
  }

  #kiddies-corner > p {
    font-size: 1.6em;
  }

  .kiddies_cards img {
    height: 200px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .landing_page {
    padding-top: 4em;
  }
  .welcome-text {
    font-size: 1.8em;
  }
  .top_logo {
    width: 6em;
  }

  #introduction p {
    font-size: 1.6rem;
  }

  .intro-logo img {
    max-width: 200px;
  }

  .review_card {
    padding: 1em 1.2em;
  }

  .review-image {
    width: 100px;
    top: -25px;
    left: -30px;
    border: 0.6em solid #d83d7f;
  }

  .review_card h3 {
    font-size: 0.5em;
  }
  .review_card h4 {
    font-size: 1em;
  }

  .kiddies_cards figure {
    padding: 1em;
  }

  .kiddies_cards img {
    height: 180px;
  }

  .kiddies_cards figcaption {
    font-size: 1.4em;
  }

  .kiddies_cards a {
    font-size: 1.4em;
    padding: 0.4em 0.8em;
  }

  .events-heading {
    font-size: 2.5em;
  }
}

@media (min-width: 1441px) {
  .recent_orders.main_card {
    width: 45em;
    height: 45em;
  }

  .recent_orders.side_card {
    width: 40em;
    height: 40em;
  }

  .left_card {
    transform: translateX(-30em) scale(0.9);
  }

  .right_card {
    transform: translateX(30em) scale(0.9);
  }

  .prev_rec {
    left: 12em;
    border-width: 35px 45px 35px 0;
  }

  .next_rec {
    right: 12em;
    border-width: 35px 0 35px 45px;
  }

  .search-input {
    width: 350px;
    font-size: 18px;
  }

  .search-btn,
  .clear-btn {
    padding: 14px 28px;
    font-size: 18px;
  }
}

/* Desktop (1025px - 1440px) */
@media (max-width: 1440px) and (min-width: 1025px) {
  .recent_orders.main_card {
    width: 35em;
    height: 35em;
  }

  .recent_orders.side_card {
    width: 30em;
    height: 30em;
  }
  .nav-bar {
    position: sticky;
    top: 0;
    z-index: 10;
    font-size: 1.2em;
    width: 100%;
    margin: 0 auto;
    background-color: #ffe8f4;
    box-shadow: 0 0.15em 0.2em rgba(0, 0, 0, 0.2);
    padding: 0.75em 0;
    font-family: "Glacial Indifference", sans-serif;
  }

  .left_card {
    transform: translateX(-20em) scale(0.9);
  }

  .right_card {
    transform: translateX(20em) scale(0.9);
  }

  .prev_rec {
    left: 8em;
    border-width: 25px 35px 25px 0;
  }

  .next_rec {
    right: 8em;
    border-width: 25px 0 25px 35px;
  }

  #recent-orders {
    padding: 2em 0em 5em 0em;
  }
}

/* Tablet (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .recent_orders.main_card {
    width: 28em;
    height: 28em;
    transform: scale(1.05);
  }

  .recent_orders.side_card {
    width: 24em;
    height: 24em;
  }
  .nav-bar {
    position: sticky;
    top: 0;
    z-index: 10;
    font-size: 1em;
    width: 100%;
    margin: 0 auto;
    background-color: #ffe8f4;
    box-shadow: 0 0.15em 0.2em rgba(0, 0, 0, 0.2);
    padding: 0.75em 0;
    font-family: "Glacial Indifference", sans-serif;
  }

  .left_card {
    transform: translateX(-15em) scale(0.85);
  }

  .right_card {
    transform: translateX(15em) scale(0.85);
  }

  .prev_rec {
    left: 5em;
    border-width: 20px 30px 20px 0;
  }

  .next_rec {
    right: 5em;
    border-width: 20px 0 20px 30px;
  }

  #recent-orders {
    padding: 2em 0em 4em 0em;
    padding-bottom: 6em;
  }

  #recent-orders::before {
    background-size: 15em 15em;
  }

  .search-container {
    gap: 8px;
    margin-bottom: 25px;
  }

  .search-input {
    width: 250px;
    font-size: 15px;
    padding: 10px 18px;
  }

  .search-btn,
  .clear-btn {
    padding: 10px 20px;
    font-size: 15px;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .recent_orders_slider {
    padding-top: 1.5em;
  }

  .order_image_wrapper {
    flex-direction: column;
    gap: 1em;
  }

  .recent_orders.main_card {
    width: 22em;
    height: 22em;
    transform: scale(1);
    position: relative;
  }

  .recent_orders.side_card {
    width: 18em;
    height: 18em;
    position: relative;
    opacity: 0.8;
    margin: 0 auto;
  }

  .card {
    position: relative;
    transform: none !important;
    margin: 0.5em auto;
  }

  .left_card,
  .right_card {
    position: relative;
    left: auto;
    right: auto;
    transform: none;
    display: none; /* Hide side cards on mobile or show stacked */
  }

  .prev_rec,
  .next_rec {
    border-width: 15px 20px 15px 0;
    top: 50%;
  }

  .prev_rec {
    left: 1em;
  }

  .next_rec {
    right: 1em;
    border-width: 15px 0 15px 20px;
  }

  #recent-orders {
    padding: 1em 0em 3em 0em;
    padding-bottom: 4em;
  }

  #recent-orders::before {
    background-size: 12em 12em;
  }

  .search-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .search-input {
    width: 90%;
    max-width: 300px;
    font-size: 14px;
    padding: 10px 15px;
  }

  .search-btn,
  .clear-btn {
    width: 90%;
    max-width: 300px;
    padding: 10px 15px;
    font-size: 14px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .recent_orders.main_card {
    width: 18em;
    height: 18em;
  }

  .recent_orders.side_card {
    width: 15em;
    height: 15em;
  }

  .prev_rec {
    left: 0.5em;
    border-width: 12px 16px 12px 0;
  }

  .next_rec {
    right: 0.5em;
    border-width: 12px 0 12px 16px;
  }

  #recent-orders {
    padding: 1em 0.5em 2em 0.5em;
  }

  #recent-orders h2 {
    font-size: 1.5em;
  }

  .search-input {
    width: 95%;
    font-size: 13px;
    padding: 8px 12px;
  }

  .search-btn,
  .clear-btn {
    width: 95%;
    padding: 8px 12px;
    font-size: 13px;
  }

  #recent-orders::before {
    background-size: 10em 10em;
  }
}
