/* FONTS  */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

@font-face {
  font-family: Anurati;
  src: url(Anurati-Regular.otf);
}

/* COLORS */

:root {
  --orchid: #9d00c6;
  --robin-egg-blue: #00ffed;
  --bg-color: rgb(22, 22, 22);
  --redwood: #bd445bff;
  --brilliant-rose: #e462a7ff;
}

/* ----------------DEFAULT STYLING--------------  */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  display: none;
}

body {
  background: var(--bg-color);
}

section {
  height: 100vh;
}

/* -----------------------HEADER-------------------------- */

.header {
  position: fixed;
  display: flex;
  height: 60px;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  backdrop-filter: blur(10px);
  z-index: 999;
}

.header .logo-container {
  display: flex;
  height: 60px;
  max-width: 100px;
  justify-content: center;
  align-items: center;
  width: auto;
}

.header img {
  max-width: 100px;
  width: auto;
}

.header .navbar-items {
  display: flex;
  justify-content: space-between;
  font-size: 1.6rem;
  width: 50rem;
  margin: 0 5rem;
}

.header .navbar-items a {
  color: white;
  letter-spacing: 0.3rem;
  font-family: anurati, poppins;
}

.header .logo-container {
  height: 60px;
  max-width: 28rem;
  gap: 0.2rem;
  flex-shrink: 0;
}

.header .logo-container > a {
  display: flex;
  height: 100%;
  align-items: center;
}

.header .logo-container > a > img {
  width: 10rem;
  height: 4rem;
  max-width: none;
  object-fit: contain;
}

.header .collab-separator {
  display: inline-flex;
  margin-left: -0.25rem;
  width: 2.2rem;
  height: 3.8rem;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: Anurati, "Poppins", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  transform: translateY(0.1rem);
}

.header .collab-logo {
  width: 10rem;
  height: 3.8rem;
  max-width: none;
  object-fit: contain;
  display: block;
}

.header .menu-icon {
  border: none;
  background: transparent;
  color: white;
  font-size: 2.5rem;
}

.header .menu-icon:hover {
  cursor: pointer;
}

/* --------menu styling--------- */

.menu {
  background: rgba(22, 22, 22, 0.5);
  backdrop-filter: blur(10px);
  position: fixed;
  z-index: 999;
  width: 55%;
  top: 0;
  bottom: 0;
  right: 0;
  right: -100%;
  transition: right ease 0.3s;
  display: flex;
}

.menu .menu-content {
  width: 70%;
  display: flex;
  flex-direction: column;
}

.menu .menu-content .menu-head {
  border-bottom: 1px solid white;
  height: 60px;
  font-family: poppins;
  display: flex;
  align-items: center;
  padding-left: 4rem;
  color: white;
}

.menu .menu-content .menu-head img {
  display: block;
  width: auto;
  max-width: 120px;
  height: 42px;
  object-fit: contain;
}

.menu .menu-content .menu-list {
  width: 100%;
  display: flex;
  height: 90%;
  flex-direction: column;
  row-gap: 5vh;
  align-items: flex-end;
  justify-content: center;
  padding-right: 4rem;
}

.menu .menu-content .menu-list .menu-home {
  padding: 1rem;
}

.menu .menu-content .menu-list a {
  font-size: 3rem;
  color: white;
  letter-spacing: 0.5rem;
  font-family: Anurati, poppins;
}

.menu .menu-socials {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  gap: 10rem;
  left: 4rem;
  height: 100%;
  bottom: 0;
}

.menu .menu-socials button {
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  border: 1px solid white;
  font-size: 2rem;
}

.menu .menu-sidebar {
  width: 30%;
  border-left: 1px solid white;
  z-index: 9999;
}

.menu .menu-sidebar .close-button {
  height: 60px;
  width: 100%;
  background-color: transparent;
  box-shadow: none;
  color: white;
  border-bottom: 1px solid white;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.menu .menu-sidebar .close-button:hover {
  background-color: white;
  color: rgb(22, 22, 22);
}

/* ----active-class--- */

.active {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2rem;
}

/* ---------------content---------------- */
body.dark {
  background-color: rgb(10, 10, 10);
}

.bg-container {
  position: fixed;
  height: 100vh;
  width: 100%;
  background: url(https://cdn.jsdelivr.net/gh/Invincible1907/cliffesto-2026@main/CDN_Images/events-cultural/images/bg-2.png) no-repeat;
  background-size: cover;
  filter: brightness(40%);
}

.container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 10rem 7rem 2rem 1rem;
  z-index: 10;
}

@media (max-width: 700px) {
  .container {
    padding-right: 1rem;
  }
}

.item-container {
  position: relative;
  margin: 24px;
  width: 320px;
  height: 570px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  border: 1px solid white;
}

.img-container,
.body-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img-container {
  height: 80%;
  overflow: hidden;
}

.img-container img {
  width: 100%;
}

.body-container {
  position: relative;
}

.overlay {
  position: relative;
  width: 100%;
  height: 400px;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: height linear 0.4s, opacity linear 0.2s;
}

.item-container:hover .overlay {
  opacity: 1;
  height: 150px;
}

.event-info {
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px;
}

.title,
.price {
  color: var(--orchid);
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 12px;
}

.info {
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.separator {
  width: 20%;
  height: 6px;
  background-color: var(--orchid);
  margin-bottom: 16px;
}

.additional-info {
  border-top: 1px solid #bbb;
  margin-top: 12px;
  padding: 28px;
  padding-bottom: 0;
}

.additional-info .info {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: center;
}

.info i {
  color: #18537a;
  font-size: 1.1em;
  margin-right: 4px;
}

.info span {
  color: #18537a;
  font-weight: bolder;
  display: none;
}

.action {
  color: #fff;
  border: 3px solid #fff;
  background-color: transparent;
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  outline: none;
  cursor: pointer;
  padding: 12px;
  text-transform: uppercase;
  font-size: 1.3em;
  font-weight: bold;
  letter-spacing: 2px;
  z-index: 1;
  transition: background-color 0.4s, top 0.4s;
}

.item-container:hover .action {
  top: 50px;
}

.action:hover {
  background-color: white;
  color: #000 !important;
  -webkit-text-fill-color: #000;
  cursor: pointer;
}
.action::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: white;
  transition: 0.3s ease;
  z-index: -1;
}

.action:hover::before {
  width: 100%;
  left: 0;
  right: auto;
}

.btn {
  background: transparent;
  align-items: center;
  color: white;
  overflow: hidden;
  position: relative;
  transition: 0.3s ease;
}

.btn:hover {
  color: black;
  cursor: pointer;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: white;
  transition: 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
  left: 0;
  right: auto;
}

.guidelines-container {
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
}

.guidelines {
  color: black;
  font-weight: bold;
}

/* -----------media queries-------------- */

@media (max-width: 900px) {
  .menu {
    width: 100%;
  }
}

@media (min-width: 901px) {
  .menu {
    width: 55%;
  }
}

@media (max-width: 630px) {
  .menu .menu-content .menu-list .menu-home a {
    font-size: 25px;
  }

  .header .navbar-items {
    display: none;
  }
}

@media (max-width: 550px) {
  .menu .menu-socials {
    right: 3rem;
    left: auto;
  }
}

/* ----------------SMOOTH CLICKABLE LINK HOVER---------------- */

@media (hover: hover) and (pointer: fine) {
  a[href] {
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }

  a[href]:hover {
    transform: scale(1.04);
  }

  a[href]:active {
    transform: scale(0.98);
    transition-duration: 100ms;
  }
}

/* ----------------UNSELECTABLE DISPLAY UI---------------- */

h1,
h2,
h3,
h4,
h5,
h6,
.header,
.menu,
.navbar-items a,
.menu-list a,
button,
.btn {
  -webkit-user-select: none;
  user-select: none;
}

img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

/* ----------------RESPONSIVE VIEWPORT OVERRIDES---------------- */

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
}

.header {
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.header .navbar-items {
  width: auto;
  gap: clamp(1.5rem, 3vw, 4rem);
  margin: 0 clamp(1rem, 3vw, 4rem);
}

.menu {
  width: min(100%, 42rem);
  padding-bottom: env(safe-area-inset-bottom);
}

.menu .menu-content {
  width: 100%;
}

.menu .menu-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  border-left: 0;
  pointer-events: none;
}

.menu .menu-sidebar .close-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  pointer-events: auto;
}

.container {
  min-height: 100svh;
  padding: 8rem 1rem 3rem;
}

.item-container {
  width: min(320px, calc(100vw - 32px));
  height: min(570px, 145vw);
  margin: 1.2rem;
}

@media (max-width: 630px) {
  .container {
    padding-top: 7rem;
  }

  .item-container {
    height: min(520px, 145vw);
  }
}

@media (hover: none), (pointer: coarse) {
  .item-container {
    display: flex;
    height: auto;
    flex-direction: column;
  }

  .img-container {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

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

  .body-container {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    flex: 1;
  }

  .overlay {
    display: none;
  }

  .event-info {
    height: auto;
    padding: 1.2rem;
  }

  .additional-info {
    padding: 1.2rem 0 0;
  }

  .action,
  .item-container:hover .action {
    position: static;
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    transform: none;
  }

  .item-container:hover .overlay {
    height: auto;
    opacity: 0;
  }
}

@media (max-width: 400px) {
  .menu .menu-content .menu-list a {
    font-size: 2.2rem;
    letter-spacing: 0.25rem;
  }
}

/* Match the homepage quick-access width at every viewport size. */
.menu {
  width: min(100%, 30rem);
}

@media (max-width: 400px) {
  .menu {
    width: min(100%, 30rem);
  }
}

@media (max-width: 1100px) {
  html {
    font-size: 40%;
  }
}
