/*
Theme Name: FunTogether Child
Template: funtogether
Author: Shinrai Technology
Version: 1.0
*/

/* ===== Web Fonts ===== */

@font-face {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 200;
  src: url("./assets/webfonts/NeueHaasDisplayLight.ttf");
}

@font-face {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 300;
  src: url("./assets/webfonts/NeueHaasDisplayRoman.ttf");
}

@font-face {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 400;
  src: url("./assets/webfonts/NeueHaasDisplayMediu.ttf");
}

@font-face {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 700;
  src: url("./assets/webfonts/NeueHaasDisplayBold.ttf");
}

@font-face {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 800;
  src: url("./assets/webfonts/NeueHaasDisplayBlack.ttf");
}

/* ===== Default ===== */

body {
  background-color: #f1f0eb;
  color: #000000;
  font-family: "Neue Haas Display", sans-serif;
  font-size: 16px;
  font-weight: 300;
  position: relative;
}

a {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 300;
  letter-spacing: 0.4px;
  margin: 0;
  text-decoration: none;
}

a:focus,
a:focus-visible {
  box-shadow: none;
  outline: none;
}

p {
  color: #000000;
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 300;
  letter-spacing: 0.4px;
  margin: 0 0 15px;
}

p:focus,
p:focus-visible {
  box-shadow: none;
  outline: none;
}

p:last-child {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000000;
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin: 0 0 15px;
}

button.theme-btn {
  background-color: #000000;
  border: 1px solid #000000;
  border-radius: 50px;
  color: #ffffff;
  font-family: "Neue Haas Display", sans-serif;
  font-size: 16px;
  margin: auto;
  max-width: 250px;
  padding: 20px;
  text-transform: uppercase;
  transition: 0.3s;
  width: 100%;
}

button.theme-btn:hover {
  background-color: #f05325;
  border: 1px solid #f05325;
  color: #000000;
}

button.theme-btn.ticket {
  background-color: #000000;
  border: 1px solid #000000;
  border-radius: 50px;
  color: #ffffff;
  font-family: "Neue Haas Display", sans-serif;
  font-size: 16px;
  margin: auto;
  max-width: 300px;
  padding: 20px;
  text-transform: uppercase;
  transition: 0.3s;
  width: 100%;
}

button.theme-btn.disabled-btn {
  cursor: not-allowed;
  max-width: 300px;
  text-decoration: line-through;
}

button.theme-btn.ticket:hover,
button.theme-btn.disabled-btn {
  background-color: #000000;
  border: 1px solid #000000;
  color: #ffffff;
}

.container-fluid {
  margin: auto;
  max-width: 1800px;
  position: relative;
}

@media all and (max-width: 767px) {
  button.theme-btn {
    font-size: 14px;
    padding: 14px;
  }
}

/* ===== Header ===== */

.navbar {
  margin: 0 0 3rem;
  padding: 18px 0;
  position: relative;
}

a.navbar-brand img {
  backface-visibility: hidden;
  margin: auto;
  max-width: 200px;
  width: 100%;
}

.navbar .navbar-collapse {
  flex-grow: unset;
}

ul#menu-main-menu {
  gap: 120px;
}

ul#menu-main-menu li {
  position: relative;
}

ul#menu-main-menu li:before {
  border-bottom: 4px solid #f05325;
  bottom: -5px;
  content: " ";
  height: 1px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  transition: width 0.3s ease-in-out;
  width: 0;
}

ul#menu-main-menu li.current-menu-item:before {
  width: 100%;
}

ul#menu-main-menu li:hover:before {
  width: 100%;
}

ul#menu-main-menu li a {
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

ul.page-link.d-flex.list-unstyled.mb-0 {
  margin: 0;
  padding: 0 15px;
}

ul.page-link.d-flex.list-unstyled.mb-0 li {
  font-weight: 700;
}

ul.page-link.d-flex.list-unstyled.mb-0 li.text-secondary {
  color: #000000 !important;
  padding: 0 0 0 3px;
}

@media all and (max-width: 991px) {
  .navbar-collapse {
    background-color: #f1f0eb;
    border-radius: 10px;
    box-shadow: 0px 0px 15px 7px #cccccc;
    -webkit-box-shadow: 0px 0px 15px 7px #cccccc;
    max-width: 250px;
    padding: 20px;
    position: absolute;
    right: 15px;
    top: 100%;
    width: 100%;
    z-index: 10;
  }

  .navbar-collapse ul {
    margin: 0;
  }

  ul#menu-main-menu {
    gap: 15px;
  }
}

@media all and (max-width: 767px) {
  .navbar {
    margin: 0 0 3rem;
  }

  ul.page-link.d-flex.list-unstyled.mb-0 li a {
    font-size: 14px;
  }

  body {
    font-size: 14px;
  }
}

/* ===== Mouse effect ===== */

#cursor-dot {
  background-color: #000; /* Change to your brand color */
  border-radius: 50%; /* Make it a circle */
  height: 12px;
  left: 0;
  pointer-events: none; /* CRITICAL: Lets you click things 'under' the dot */
  position: fixed;
  transform: translate(-50%, -50%); /* Centers the dot on the mouse tip */
  transition: transform 0.5s ease-out; /* Adds that smooth "following" lag */
  width: 12px; /* Size of the dot */
  top: 0;
  z-index: 9999; /* Ensure it floats above everything (even Bootstrap navbars) */

  /* Optional: Makes the dot visible even on black backgrounds by inverting color */
  /* mix-blend-mode: difference; */
}

/* Create a class for the 'active' state */
#cursor-dot.active {
  background-color: #f05325a3; /* Make it slightly transparent */
  transform: translate(-50%, -50%) scale(2.5); /* Grow 2.5x larger */
}

/* ===== Animation ===== */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-200 {
  transition-delay: 0.2s;
}

/* Block Reveal */
.block-reveal {
  display: block; /* Ensures it covers the whole paragraph block */
  color: transparent; /* Text starts invisible */
  overflow: hidden; /* Hides the block when it moves out of frame */
  position: relative;
}

/* 2. The Curtain (The moving block) */
.block-reveal::after {
  background-color: #000; /* CHANGE THIS to your brand color if needed */
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: translateX(0);
  width: 0%;
  z-index: 2;
}

/* 3. Triggering the Animation */
/* We use the 'visible' class added by your JS IntersectionObserver */
.block-reveal.visible {
  animation: revealText 0s 0.3s forwards; /* Text appears instantly at the midway point */
}

.block-reveal.visible::after {
  animation: revealBlock 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* 4. The Keyframes */
@keyframes revealBlock {
  0% {
    width: 0%;
    left: 0;
  }
  50% {
    width: 100%; /* Fully covers the text */
    left: 0;
  }
  100% {
    width: 0%;
    left: 100%; /* Moves away to the right */
  }
}

@keyframes revealText {
  100% {
    color: #000; /* Final text color */
  }
}

/* ===== Home ===== */

.home-slider-section {
  position: relative;
}

.vid-hero-wrap {
  align-items: center;
  display: flex;
  height: 600px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.vid-bg {
  border-radius: 6px;
  height: 100%;
  left: 0;
  object-fit: cover; /* The magic word! Makes it act exactly like background-size: cover */
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0; /* Puts it at the very bottom */
}

/* 3. The Overlay: Darkens the video so text is readable */
.vid-overlay {
  background-color: 00000042; /* 50% black. Change the 0.5 to make it darker or lighter */
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1; /* Puts it above the video */
}

/* 4. The Content: Keeps your text on top */
.vid-content {
  bottom: 25px;
  color: #ffffff;
  position: absolute;
  right: 25px;
  z-index: 2; /* Puts the text above everything else */
}

.vid-content p {
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.slider-bg {
  width: 100%;
  height: 500px; /* Adjust based on your screenshot height */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-custom-header {
  padding: 0 5px;
}

#carousel-title {
  color: #000;
}

.carousel-counter {
  font-size: 1.2rem;
  color: #000;
}

.carousel-inner {
  border-radius: 20px;
}

.home-title {
  /* border-bottom: 2px solid #000000; */
  margin: 0 0 30px;
  padding: 0;
}

.home-title p {
  font-size: 18px;
}

.home-about h5.title-dot {
  padding: 0 0 0 20px;
  position: relative;
  text-transform: uppercase;
}

.home-about h5.title-dot:before {
  background-color: #000000;
  border-radius: 50px;
  content: " ";
  height: 10px;
  left: 0;
  margin: auto;
  position: absolute;
  top: 5px;
  width: 10px;
}

/* -- Delay Level 1 (Wait 0.2s) -- */
.delay-1.visible::after {
  animation-delay: 0.2s; /* Block starts at 0.2s */
}
.delay-1.visible {
  animation-delay: 0.7s; /* Text reveals at 0.7s (0.5s base + 0.2s delay) */
}

/* -- Delay Level 2 (Wait 0.4s) -- */
.delay-2.visible::after {
  animation-delay: 0.4s;
}
.delay-2.visible {
  animation-delay: 0.9s; /* 0.5s base + 0.4s delay */
}

/* -- Delay Level 3 (Wait 0.6s) -- */
.delay-3.visible::after {
  animation-delay: 0.6s;
}
.delay-3.visible {
  animation-delay: 1.1s; /* 0.5s base + 0.6s delay */
}

.home-about p {
  font-size: 18px;
}

.home-event {
  margin: 80px 0 60px;
}

.home-event ul {
  display: grid;
  gap: 10px 20px;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
}

.home-event ul li {
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
  display: flex;
  height: 120px;
  justify-content: center;
  list-style-type: none;
  text-align: center;
}

.home-event ul li {
  opacity: 0;
  transform: scale(0.8) translateY(20px); /* Starts small and slightly lower */
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth "pop" effect */
}

.home-event ul li.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.home-event ul li h3 {
  color: #ffffff;
  margin: 0;
}

.event-post-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  margin: 10rem auto 1rem;
  min-height: 300px;
}

.home-post {
  margin: 10rem auto 1rem;
}

.home-post .title-link {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.home-post .title-link a {
  color: #000000;
  text-transform: uppercase;
}

.home-post .card {
  background-color: transparent;
  border-radius: 10px;
}

.home-post .bg-image-card,
.home-post .swiper-img-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 6px;
  min-height: 600px;
}

.home-post .card h5 a {
  font-weight: 700;
}

.home-post .site-main {
  padding: 0;
}

.home-post .site-main .carousel-inner {
  border-radius: unset;
}

.masonry-item {
  display: block;
}

.masonry-item .card {
  background-color: transparent;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.masonry-item .card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-5px);
}

.masonry-item img {
  border-radius: 15px;
  display: block;
  height: auto;
  width: 100%;
}

.masonry-item .card-title {
  font-size: 1.1rem;
  line-height: 1.4;
}

.masonry-grid h5 a {
  font-weight: 700;
}

.card-body .badge {
  border: 1px solid #000000 !important;
  color: #000000 !important;
  font-size: 12px;
}

@media all and (max-width: 991px) {
  a.navbar-brand img {
    max-width: 160px;
  }

  .home-event ul li h3 {
    font-size: 20px;
  }

  .home-post .bg-image-card,
  .home-post .swiper-img-bg {
    min-height: 400px;
  }

  .vid-content {
    right: 12px;
  }

  .vid-content p {
    font-size: 20px;
  }
}

@media all and (max-width: 767px) {
  .home-event ul {
    grid-template-columns: repeat(1, 1fr);
  }

  .event-post-bg,
  .home-post {
    margin: 5rem 0 3rem;
  }

  .home-post .bg-image-card,
  .home-post .swiper-img-bg {
    min-height: 300px;
  }
}

@media all and (max-width: 575px) {
  .masonry-item {
    padding: 0;
  }

  .vid-hero-wrap {
    height: 400px;
  }
}

/* ===== Events ===== */

.post-grid .col {
  margin-bottom: 5rem;
}

.post-grid .post-listing h3 {
  font-size: 22px;
  margin: 0 0 25px;
  text-align: center;
}

.post-grid .post-listing h3 a {
  font-weight: 700;
}

.post-grid .post-listing img {
  border-radius: 15px;
  margin: 0 0 10px;
}

img.post-img-top.wp-post-image {
  height: 300px;
  object-fit: cover;
}

.post-grid .post-listing span {
  border: 1px solid #000000;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 15px;
}

.pagination-wrapper ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.pagination-wrapper ul li {
  margin: 0 5px;
}

.pagination-wrapper ul li a,
.pagination-wrapper ul li span {
  border: 1px solid #dee2e6;
  border-radius: 4px;
  color: #000000;
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.pagination-wrapper ul li a:hover {
  background-color: #e9ecef;
}

/* Active Page Style */
.pagination-wrapper ul li span.current {
  background-color: #000000;
  border-color: #000000;
  color: #f05325;
}

@media all and (max-width: 991px) {
  .post-grid .col {
    margin-bottom: 3rem;
  }
}

/* ===== Post ===== */

.post-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
  height: 100%;
  margin: 0 0 3rem;
  min-height: 400px;
}

.post-info {
  margin: 0 0 2rem;
}

.post-info h1 {
  font-size: 45px;
  margin: 0;
}

.post-info h3.event-date {
  font-size: 35px;
  font-weight: 300;
}

.post-location,
.post-venue,
.post-time,
.post-price {
  border-bottom: 1px solid #000000;
  margin: 0 0 15px;
  padding: 0 0 20px;
}

.post-location p,
.post-venue p,
.post-time p,
.post-price p {
  margin: 0 0 5px;
}

.post-location p:last-child,
.post-venue p:last-child,
.post-time p:last-child,
.post-price p:last-child {
  margin: 0;
}

.post-header .gallery-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
  height: 100%;
  min-height: 300px;
}

@media all and (max-width: 991px) {
  .post-bg {
    margin: 0 0 1rem;
    min-height: 300px;
  }

  .post-info h1 {
    font-size: 35px;
  }

  .post-info h3.event-date {
    font-size: 25px;
  }

  .post-header .gallery-bg {
    min-height: 250px;
  }

  button.theme-btn.ticket,
  button.theme-btn.disabled-btn {
    max-width: 200px;
    padding: 20px 10px;
  }
}

@media all and (max-width: 767px) {
  .post-info {
    text-align: center;
  }

  .post-location,
  .post-venue,
  .post-time,
  .post-price {
    padding: 0 0 10px;
  }

  .post-header .gallery-bg {
    min-height: 200px;
  }
}

/* ===== Contact ===== */

.contact-title {
  border-bottom: 2px solid #000000;
  margin: 0 0 50px;
  padding: 0 0 60px;
}

.contact-title h1 {
  font-weight: 400;
  margin: 0 0 20px;
}

.contact-details {
  margin: 0 0 10rem;
}

.contact-details h1 {
  font-size: 40px;
  margin: 0 0 3rem;
}

.contact-details .info {
  margin: 0 0 30px;
}

.contact-details .info:last-child {
  margin: 0;
}

.contact-details .info h3 {
  margin: 0 0 5px;
}

.contact-details .info p {
  margin: 0 0 5px;
}

.contact-details .info p:last-child {
  margin: 0;
}

span.select2-selection.select2-selection--single span {
  padding: 0 !important;
  font-size: 24px !important;
  line-height: 30px !important;
}

@media all and (max-width: 767px) {
  .contact-details {
    margin: 0 0 5rem;
  }

  .contact-details .info:last-child {
    margin: 0 0 20px;
  }
}

/* ===== Footer ===== */

.footer {
  background-color: #ffffff;
  margin: 2rem auto auto;
  padding-bottom: 60px;
  padding-top: 60px;
}

.footer form#forminator-module-167 {
  position: relative;
}

.footer > .forminator-row {
  margin: 0;
}

.footer .forminator-col {
  padding: 0 !important;
}

.footer .forminator-row.forminator-row-last {
  bottom: 5px;
  margin: 0 !important;
  min-height: 50px;
  position: absolute;
  right: 0;
}

.footer .forminator-row.forminator-row-last button {
  background-color: #ffffff;
  height: 50px !important;
  position: relative;
}

.footer .forminator-row.forminator-row-last button:before {
  background-image: url("../../uploads/2026/01/submit-btn-img.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  bottom: 0;
  content: " ";
  height: 50px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 50px;
}

.footer .footer-end {
  margin: 5rem auto auto;
}

.footer ul {
  margin: 0;
  padding: 0;
}

.footer .footer-end ul {
  align-items: center;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.footer .footer-end h5 {
  margin: 0 0 10px;
}

.footer ul li,
.footer .footer-end ul li {
  color: #000000 !important;
  list-style-type: none;
  position: relative;
}

.footer ul li a,
.footer .footer-end ul li a {
  color: #000000;
}

.footer ul.social li {
  margin: 0 0 15px;
  padding: 0 0 0 35px;
}

.footer .footer-end ul.social li {
  padding: 0 0 0 20px;
}

.footer ul.social li:before {
  background-color: #000000;
  content: " ";
  height: 30px;
  left: 0;
  margin: 0;
  position: absolute;
  top: -5px;
  width: 30px;
}

.footer ul.social li.facebook:before {
  mask-image: url("../../../wp-content/uploads/2026/02/fun-facebook.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: cover;
  -webkit-mask-image: url("../../../wp-content/uploads/2026/02/fun-facebook.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
}

.footer ul.social li.instagram:before {
  mask-image: url("../../../wp-content/uploads/2026/02/fun-instagram.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: cover;
  -webkit-mask-image: url("../../../wp-content/uploads/2026/02/fun-instagram.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
}

.footer .footer-end ul.social li:before {
  background-color: #000000;
  border-radius: 50px;
  content: " ";
  height: 10px;
  left: 0;
  margin: auto;
  position: absolute;
  top: 5px;
  width: 10px;
}

.footer .footer-end .copyright {
  align-items: flex-end;
  display: flex;
  height: 100%;
  justify-content: center;
}

@media all and (max-width: 991px) {
  .footer .footer-end .copyright {
    margin: 20px 0 0 0;
  }
}

@media all and (max-width: 767px) {
  .footer ul.social,
  .footer .footer-end ul.social {
    margin: 0 0 10px;
  }
}

@media all and (max-width: 500px) {
  .footer ul li a,
  .footer .footer-end ul li a {
    font-size: 14px;
  }
}

/* ========== End of Line ========== */
