/* ========== CSS Reset & Base Defaults ========== */

/* Reset margin/padding */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Set base font and smooth rendering */
body {
  font-family: "Inter_18pt-Regular", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 18px;
  background-color: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
  body {
    font-size: max(1vw, 1rem);
    line-height: max(1vw, 1rem);
  }
}

/* Set default link style */
a {
  color: inherit;
  text-decoration: none;
}

/* Remove list styles */
ul,
ol {
  list-style: none;
}

/* Default image behavior */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: fade-out 1s forwards;
}
::view-transition-new(root) {
  animation: fade-in 1s forwards;
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

:root {
  --purple: #b26bfc;
  --lightblue: #67A8DC;
  --red: #ff1631;
  --darkgrey: #18191b;
  --yellow: #fcbe2e;
  --teal: #027da4;
  --green: #8F9611;
  --black: #000;
  --orange: #FF6900;
}

.font_black {
  font-family: "Inter_18pt-Black";
}
.font_extrablack {
  font-family: "Inter_18pt-ExtraBold";
}
.font_medium {
  font-family: "Inter_18pt-Medium";
}
.font_regular {
  font-family: "Inter_18pt-Regular";
}
.font_semibold {
  font-family: "Inter_18pt-SemiBold";
}
.font_script {
  font-family: "Cormorant-Italic";
  font-weight: normal;
}
.font_light_italic {
  font-family: "Inter_18pt-ThinItalic";
  font-weight: normal;
}
.font_script_semibold {
  font-family: "Cormorant-SemiBoldItalic";
  font-weight: normal;
}

.purple_font {
  color: var(--purple);
}
.lightblue_font {
  color: var(--lightblue);
}
.yellow_font {
  color: var(--yellow);
}
.teal_font {
  color: var(--teal);
}
.green_font{
  color: var(--green);
}
.black_font{
  color: var(--black);
}
.red_font{
  color: var(--red);
}
.orange_font{
  color: var(--orange)
}
.white_font{
  color: #fff;
}

.purple_bg{
  background-color: var(--purple)
}
.red_bg{
  background-color: var(--red)
}
.yellow_bg{
  background-color: var(--yellow)
}
.orange_bg{
  background-color: var(--orange)
}
.lightblue_bg{
  background-color: var(--lightblue)
}


.uppercase {
  text-transform: uppercase;
}
b,
strong {
  font-family: "Interstate bold";
}
a,
a:hover,
a:visited {
  color: #000;
}

* {
  box-sizing: border-box;
}

section {
  position: relative;
}
section .content {
  position: relative;
  z-index: 1;
}

.circle_btn {
  position: relative;
  width: max(4vw, 3.5rem);
  height: max(4vw, 3.5rem);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.circle_btn .circle {
  left: 0;
  top: 0;
  position: relative;
  width: 50%;
  height: 50%;
  display: flex;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275); /* easeOutBack */
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); /* easeOutBack */
}
.circle_btn .circle svg {
  width: 50%;
  height: 50%;
  transition: transform 1000ms cubic-bezier(0.175, 0.885, 0.32, 1.275); /* easeOutBack */
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); /* easeOutBack */
}

.circle_btn.close_btn .circle svg {
  transform: rotate(135deg);
}
.circle_btn:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-color: var(--lightblue);
  opacity: 0.4;
  transition: all 750ms cubic-bezier(0.175, 0.885, 0.32, 1.275); /* easeOutBack */
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); /* easeOutBack */
}
.circle_btn:hover .circle,
.circle_btn:hover:before,
.circle_btn.close_btn .circle,
.circle_btn.close_btn:before {
  transform: scale(1.2);
}

/* blue button */
.circle_btn.blue_btn .circle,
.circle_btn.blue_btn:before {
  background-color: var(--lightblue);
}
.circle_btn.blue_btn.close_btn .circle,
.circle_btn.blue_btn.close_btn:before {
  background-color: #fff;
}
.circle_btn.blue_btn.close_btn svg path {
  stroke: var(--lightblue);
}

/* red button */
.circle_btn.red_btn .circle,
.circle_btn.red_btn:before {
  background-color: var(--red);
}
.circle_btn.red_btn.close_btn .circle,
.circle_btn.red_btn.close_btn:before {
  background-color: #fff;
}
.circle_btn.red_btn.close_btn svg path {
  stroke: var(--red);
}

/* yellow button */
.circle_btn.yellow_btn .circle,
.circle_btn.yellow_btn:before {
  background-color: var(--yellow);
}
.circle_btn.yellow_btn.close_btn .circle,
.circle_btn.yellow_btn.close_btn:before {
  background-color: #fff;
}
.circle_btn.yellow_btn.close_btn svg path {
  stroke: var(--yellow);
}

/* teal button */
.circle_btn.teal_btn .circle,
.circle_btn.teal_btn:before {
  background-color: var(--teal);
}
.circle_btn.teal_btn.close_btn .circle,
.circle_btn.teal_btn.close_btn:before {
  background-color: #fff;
}
.circle_btn.teal_btn.close_btn svg path {
  stroke: var(--teal);
}

/* green button */
.circle_btn.green_btn .circle,
.circle_btn.green_btn:before {
  background-color: var(--green);
}
.circle_btn.green_btn.close_btn .circle,
.circle_btn.green_btn.close_btn:before {
  background-color: #fff;
}
.circle_btn.green_btn.close_btn svg path {
  stroke: var(--green);
}

/* purple button */
.circle_btn.purple_btn .circle,
.circle_btn.purple_btn:before {
  background-color: var(--purple);
}
.circle_btn.purple_btn.close_btn .circle,
.circle_btn.purple_btn.close_btn:before {
  background-color: #fff;
}
.circle_btn.purple_btn.close_btn svg path {
  stroke: var(--purple);
}


.circle_btn {
  animation: pulse 1s ease-in-out infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.1);
  }
  80% {
    transform: scale(1);
  }
}
.circle_btn.close_btn {
  animation: none;
}

/* STARS */
.rotating.star svg {
  width: 100%;
  height: auto;
  /* Apply the animation */
  animation: spin 20s linear infinite;
}

/* TITLES */
.big_title {
  font-size: 5vw;
  line-height: 5vw;
}
.big_title .font_script {
  display: block;
  color: #fff;
}

.intro .big_title {
  text-align: center;
}

.bg-video-container {
  position: absolute;
  inset: 0;
  z-index: 0; /* behind your content */
  pointer-events: none;
  overflow: hidden;
}

/* BG VIDEOS */
.bg-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* "background-size: cover" */
  display: block;
  opacity: 0;
  transform: scale(1.3);
  transition: all 750ms cubic-bezier(0.165, 0.84, 0.44, 1); /* easeOutQuart */
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1); /* easeOutQuart */
}
.bg-video.in {
  transition-delay: 500ms;
  opacity: 1;
  transform: scale(1);
}
.bg-video-container .phrase-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 8vw;
}
.bg-video-container .phrase-container .phrase {
  font-size: max(6vw, 3rem);
  line-height: max(6vw, 3rem);
  text-align: center;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(1.3);
  filter: blur(30px);
  transition: all 1000ms cubic-bezier(0.165, 0.84, 0.44, 1); /* easeOutQuart */
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1); /* easeOutQuart */
}
.bg-video-container .phrase-container .phrase.in {
  transition-delay: 700ms;
  opacity: 0.97;
  transform: scale(1);
  filter: blur(0px);
}

@media (max-width: 768px) {
  .big_title {
    font-size: 7.5vw;
    line-height: 7.5vw;
  }
}

/* NAVBAR */
#main_header_container{
  position: fixed;
  z-index: 10;
  width: 100%;
  padding: 3vw;
}
#main_header{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#main_header .logo{
  position: relative;
  display: block;
  width: 110px;
}
#main_header .logo img{
  width: 100%;
  height: auto;
}

#nav-container{
  position: fixed;
  z-index: 5;
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0,0,0,0.9);
  transition: all 1000ms cubic-bezier(0.770, 0.000, 0.175, 1.000); /* easeInOutQuart */
  transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000); /* easeInOutQuart */
}
#nav-container.open{
  width: 100%;
}
.nav-options{
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-around;
  padding: 15vh 0vw;
  pointer-events: none;
}
#nav-container.open .nav-options{
  pointer-events: all;
}
.nav-options .option{
  width: 100vw;
  padding: 2vh 4vw;
  text-align: right;
  position: relative;
  transition: all 550ms cubic-bezier(0.165, 0.84, 0.44, 1); /* easeOutQuart */
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1); /* easeOutQuart */
}
.nav-options .option .title{
  font-size: clamp(2rem, 3vw, 4rem);
  line-height: clamp(2rem, 3vw, 4rem);
}
.nav-options .option .subtitle{
  font-size: 1rem;
}
.nav-options .option a{
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
.nav-options .option.digital .title,
.nav-options .option.eventos_temporada .title{
  margin-bottom: 10px;
}

.nav-options .option.digital:hover{ background-color: var(--lightblue) }
.nav-options .option.inmuebles:hover{ background-color: var(--purple) }
.nav-options .option.musica:hover{ background-color: var(--red) }
.nav-options .option.eventos_temporada:hover{ background-color: var(--orange) }
.nav-options .option.festivales:hover{ background-color: var(--yellow) }


/* Burger  */
.burger-container{
  position: relative;
}

.burger_btn {
  position: relative;
  width: 26px;
  height: 16px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.burger_btn span {
  display: block;
  width: 0;
  height: 2px;
  background: #fff;
  transform-origin: right center;
  transition:
    width 0.55s cubic-bezier(0.77, 0, 0.175, 1),
    transform 0.35s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.25s ease;
}

/* page load animation */
.burger_btn.is-ready span {
  width: 26px;
}

.burger_btn.is-ready span:nth-child(1) {
  transition-delay: 0s;
}

.burger_btn.is-ready span:nth-child(2) {
  transition-delay: 0.08s;
}

.burger_btn.is-ready span:nth-child(3) {
  transition-delay: 0.16s;
}

/* hover squish */
.burger_btn.is-ready:not(.is-open):hover span:nth-child(1) {
  transform: translateY(3px);
  transition-delay: 0s;
}

.burger_btn.is-ready:not(.is-open):hover span:nth-child(3) {
  transform: translateY(-3px);
  transition-delay: 0s;
}

/* X state */
.burger_btn.is-open {
  justify-content: center;
}

.burger_btn.is-open span {
  width: 26px;
  transition-delay: 0s;
}

.burger_btn.is-open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.burger_btn.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger_btn.is-open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

@media(max-width:767px){
  #main_header_container{
    padding: 6vw;
  }
  #main_header .logo{
    width: 17vw;
  }
}


/* HERO */
.hero {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
}

.hero .bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.hero .bg img,
.hero .bg video {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .page_title{
  position: absolute;
  bottom: 3vw;
  left: 3vw;
}
.hero .page_title h1{
  font-size: max(5.5vw, 3.4rem);
  line-height: max(5.5vw, 3.4rem);
  text-transform: uppercase;
}

@media(max-width:767px){
  .hero{
    height: 95vh;
  }
}


/* INTRO */
.intro .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5vh;
  padding: 20vh 17vw;
}
.intro .phrase {
  position: relative;
}
.intro .star {
  position: absolute;
  right: 8%;
  bottom: 88%;
  width: 10%;
}

/* Define the keyframes for the rotation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.phrase .intro-title {
  display: block; /* each line is its own block */
  white-space: nowrap; /* prevents breaking inside the line */
}

.phrase .intro-title .char {
  display: inline-block; /* needed for per-letter animation */
  will-change: color, transform, opacity;
}

.phrase.bullet {
  display: flex;
  align-items: center;
  gap: 1.5vw;
  position: relative;
  padding: 0 8vw;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.phrase.bullet .number {
  font-size: max(7.5vw, 4rem);
  line-height: max(7.5vw, 4rem);
  padding-bottom: 0vw;
}

@media (max-width: 768px) {
  .intro .content {
    padding: 20vh 2vw;
    gap: 3vh;
  }

  //.phrase .intro-title
  {
    white-space: normal;
  }

  .phrase.bullet {
    gap: 2.5vw;
    padding: 0 5vw;
  }

  .phrase.bullet .number {
    font-size: 6rem;
    line-height: 6rem;
    padding-bottom: 0rem;
  }
}

/* sections */
.section_title {
  font-size: 7vw;
  line-height: 7vw;
  transform-origin: bottom center;
}
.section_title .font_script {
  display: block;
}

section.s {
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* border-bottom: 1px solid red; */
}

section .content {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
}
section .content .left {
  position: relative;
  width: 45%;
}
section .content .right {
  position: relative;
  width: 45%;
}

section .content .full_column{
  width: 100%;
  padding: 0 5%;
}


@media (max-width: 768px) {
  .section_title {
    font-size: 9.5vw;
    line-height: 9.5vw;
  }
  section.s {
    min-height: 70vh;
  }
}


/* infinte banner */

.infinite_carrousel_container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 5vh 0;
}

.infinite_carrousel_container .cards_track {
  display: flex;
  width: max-content;
  will-change: transform;
  gap: 20px;
}

.infinite_carrousel_container .cards_container {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  align-items: stretch; /* 👈 prevents vertical collapse */
}

.infinite_carrousel_container .card {
  position: relative;
  flex: 0 0 calc((100vw - 40px) / 2.9); /* around 2.9 cards visible */
  max-width: 420px;
  max-height: 420px;
  width: calc((100vw - 40px) / 2.9);
  height: calc((100vw - 40px) / 2.9); /* 👈 key fix */
  aspect-ratio: 1;
}

.infinite_carrousel_container .card img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid #fff;
  border-radius: 30px;
  z-index: 1;
}

.infinite_carrousel_container .card .star {
  position: absolute;
  width: 18%;
  z-index: 2;
}

.infinite_carrousel_container .card .star svg {
  width: 100%;
  height: auto;
}

/* 1, 5, 9, ... */
.infinite_carrousel_container .cards_container .card:nth-child(4n + 1) .star {
  right: 90%;
  bottom: 90%;
}

/* 2, 6, 10, ... */
.infinite_carrousel_container .cards_container .card:nth-child(4n + 2) .star{
 right: 90%;
  top: 90%;
}

/* 3, 7, 11, ... */
.infinite_carrousel_container .cards_container .card:nth-child(4n + 3) .star{
  right: 90%;
  bottom: 90%;
}

/* 4, 8, 12, ... */
.infinite_carrousel_container .cards_container .card:nth-child(4n + 4) .star{
 right: 90%;
 top: 90%;
}

@media(max-width:767px){
  .infinite_carrousel_container .card {
    position: relative;
    flex: 0 0 calc((100vw - 40px) / 1.5); /* around 2.9 cards visible */
    max-width: 420px;
    max-height: 420px;
    width: calc((100vw - 40px) / 1.5);
    height: calc((100vw - 40px) / 1.5); /* 👈 key fix */
    aspect-ratio: 1;
  }
}

/* SINGLES HOVER */

.singles_hover_container{
  position: relative;
  width: 90%;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: max(50px,5vw) 0;
}
.singles_hover_container .title{
  margin-bottom: 5vh;
}
.singles_hover_container .title h2{
  font-size: clamp(1.5rem, 2vw, 3rem);
  line-height: clamp(1.5rem, 2vw, 3rem);
}

.singles_hover .single_link{
  display: inline-block;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: clamp(2rem, 4vw, 4rem);
  padding: 0 max(20px, 1vw);
  text-transform: uppercase;
}

.singles_hover.purple_font a{
  color: var(--purple);
}
.singles_hover.red_font a{
  color: var(--red);
}
.singles_hover.yellow_font a{
  color: var(--yellow);
}
.singles_hover.orange_font a{
  color: var(--orange);
}
.singles_hover.purple_font a:hover, .singles_hover.purple_font a:active,
.singles_hover.red_font a:hover, .singles_hover.red_font a:active,
.singles_hover.yellow_font a:hover, .singles_hover.yellow_font a:active,
.singles_hover.orange_font a:hover, .singles_hover.orange_font a:active{
  color: #fff;
}

.singles_hover {
  position: relative;
}

.single_link {
  position: relative;
  width: fit-content;
}

.single_hover_preview {
  --x: 0px;
  --y: 0px;
  --scale: 0.2;
  --rotate: 6deg;

  position: fixed;
  top: 0;
  left: 0;
  width: min(22vw, 320px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--x), var(--y), 0) scale(var(--scale)) rotate(var(--rotate));
  transform-origin: center center;
  transition:
    opacity 0.2s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1000;
  overflow: hidden;
  border-radius: 20px;
  border: 2px solid #fff;
  background: #111;
}

.single_hover_preview.visible {
  opacity: 1;
}

.single_hover_preview.ready {
  --scale: 1;
}
.single_hover_preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media(max-width:767px){
  .singles_hover .single_link{
    /* font-size: clamp(1.3rem, 2vw, 2rem);
    line-height: clamp(1.3rem, 2vw, 2rem); */
    padding: 3px 8px;
  }
}

/* FULL IMAGES */
section.s.full_image{
  height: 100vh;
}
.full-image-container{
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.full-image-container img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}



/* FULL VIDEOS */
.full-video-container{
  position: relative;
}
.full-video-container,
.full-video-container video{
  width: 100%;
  height: 100%;
}
.full-video-container video{
  object-fit: cover;
}


