/* === FONT LOADING === */
@font-face {
  font-family: 'ABCDiatype-Regular';
  src: url('fonts/ABCDiatype-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ABCDiatype-Light';
  src: url('fonts/ABCDiatype-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* === GLOBAL STYLES === */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'ABCDiatype-Light', sans-serif;
  font-weight: 300;
}

::selection {
  background: #000000;
  color: #E43F30;
}

/* === TYPOGRAPHY === */
h1.h1, .body-text, .p {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

h1.h1 {
  all: unset;
  font-family: 'ABCDiatype-Regular', sans-serif;
  font-size: 20px;
  color: #000;
  display: block;
  margin: 0 0 1em;
}

.body-text, .p {
  font-family: 'ABCDiatype-Regular', sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.body-text {
  color: #000;
  font-weight: 400;
}

.p {
  color: #6f6f75;
}

.text-block {
  max-width: 600px;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  line-height: 1.5;
}

#time, #date {
  font-size: 20px;
  font-family: 'ABCDiatype-Regular', sans-serif;
  font-weight: 300;
  margin-bottom: 1em;
}

/* === LAYOUT === */
.page-wrapper {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.left {
  position: fixed;
  top: 0;
  left: 0;
  width: 35vw;
  height: 100vh;
  background-color: #fff;
  overflow-y: auto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.left-spacer {
  width: 35vw;
  flex-shrink: 0;
  pointer-events: none;
}

.left.reveal {
  opacity: 1;
  transform: translateY(0);
}

.left .reveal-line {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
  transition: 
    opacity 0.8s ease,
    transform 0.8s ease,
    filter 0.8s ease;
}

.left.reveal .reveal-line {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.left-inner {
  max-width: 500px;
  width: 100%;
  padding: 20px 40px 40px 40px;
}

.left.reveal .reveal-line:nth-child(1) { transition-delay: 0.1s; }
.left.reveal .reveal-line:nth-child(2) { transition-delay: 0.2s; }
.left.reveal .reveal-line:nth-child(3) { transition-delay: 0.3s; }
.left.reveal .reveal-line:nth-child(4) { transition-delay: 0.4s; }
.left.reveal .reveal-line:nth-child(5) { transition-delay: 0.5s; }

.right {
  width: 65vw;
  min-height: 100vh;
  padding: 40px;
  background-color: #fff;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.right.reveal {
  opacity: 1;
  transform: translateY(0);
}

.right-inner {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* === CONTENT BLOCKS === */
.content-block {
  margin-bottom: 60px;
}

.content-block > img,
.content-block > video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 32px;
}



/* === CAROUSEL === */
/* === CAROUSEL === */
.carousel {
  width: 100%;
  aspect-ratio: 2110 / 1346;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  margin-bottom: 30px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden; /* Prevent bleeding */
  border-radius: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img,
.slide video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Keeps your image fully visible without stretching */
  display: block;
  border-radius: inherit;
  background-color: #000; /* fallback for transparent edges */
}


/* === CAROUSEL CONTROLS === */
.controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.carousel:hover .controls {
  opacity: 1;
}

.control {
  pointer-events: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px;
  margin: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control::before {
  content: '';
  display: inline-block;
  width: 2px;
  height: 2px;
  border: solid #000;
  border-width: 0 1.5px 1px 0;
  padding: 6px;
  transform: rotate(45deg);
}

.prev-slide::before {
  transform: rotate(135deg);
}

.next-slide::before {
  transform: rotate(-45deg);
}

/* === ANIMATED LOADING === */
.left.reveal .h1,
.left.reveal .body-text,
.left.reveal .p,
.right.reveal .h1,
.right.reveal .body-text,
.right.reveal .p {
  opacity: 1;
  transform: translateY(0);
}

.reveal-line {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    filter 0.8s ease;
}

.reveal-line.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.blur-left,
.blur-right {
  position: fixed;
  top: 0;
  backdrop-filter: blur(20px);
  background-color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  z-index: 1000;
  opacity: 1;
  transition: opacity 1.4s ease-in-out, backdrop-filter 1.4s ease;
}

.blur-left {
  left: 0;
  width: 35%;
}

.blur-right {
  right: 0;
  width: 65%;
}

.blur-left.hide,
.blur-right.hide {
  opacity: 0;
  backdrop-filter: blur(0px);
}

/* === INTERACTIONS === */
a {
  color: #BEDE20;
  text-decoration: none;
  transition: color 0.1s ease-in, filter 0.1s ease-in;
}

a:hover {
  filter: blur(2px);
}

.custom-arrow {
  height: 1.25em;
  width: 1.25em;
  vertical-align: middle;
  margin-right: 3px;
  fill: currentColor;
}

/* === CURSOR EFFECTS === */
#con,
#minimal-cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10000;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .page-wrapper {
    flex-direction: column;
    padding-left: 0;
  }

  .left {
    position: relative;
    width: 100%;
    height: auto;
    padding: 20px 0px 20px 0px;
  }

  .left-inner {
    padding: 0 20px;
  }

  .right {
    margin-left: 0;
    width: 100%;
    padding: 20px;
  }

  .controls {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

@media (pointer: coarse) {
  body {
    cursor: none !important;
  }
}
