/* ==============================
   FONTS
   ============================== */

@font-face {
  font-family: 'Absender Outline';
  src: url('../fonts/AbsenderOutline.woff2') format('woff2'),
       url('../fonts/AbsenderOutline.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Absender Outline';
  src: url('../fonts/AbsenderOutlineItalic.woff2') format('woff2'),
       url('../fonts/AbsenderOutlineItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Absender';
  src: url('../fonts/AbsenderRegular.woff2') format('woff2'),
       url('../fonts/AbsenderRegular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Absender';
  src: url('../fonts/AbsenderItalic.woff2') format('woff2'),
       url('../fonts/AbsenderItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* ==============================
   RESET & BASE
   ============================== */

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

html {
  scroll-behavior: smooth;
}

body {
  overflow: hidden;
  background: rgb(232, 235, 240);
}

/* ==============================
   LANDING PAGE
   ============================== */

.landing {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgb(232, 235, 240);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
}

.light-switch {
  position: relative;
  width: 220px;
  height: auto;
  cursor: none;
  z-index: 101;
}

.light-switch img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Custom cursor */
.custom-cursor {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  width: 360px;
  height: 360px;
  /* Hide until JS positions it */
  opacity: 0;
  transition: opacity 0.1s;
}

.custom-cursor.visible {
  opacity: 1;
}

.custom-cursor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* Blackout overlay */
.blackout {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in;
}

.blackout.active {
  opacity: 1;
  pointer-events: all;
}

.landing.dismissed {
  display: none;
}

/* ==============================
   MAIN WEBSITE
   ============================== */

/* Ghost cursor for main website */
.ghost-cursor {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  width: 160px;
  height: 160px;
  opacity: 0;
  display: none;
}

.ghost-cursor.active {
  display: block;
}

.ghost-cursor.visible {
  opacity: 1;
}

.ghost-cursor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* Logo intro overlay */
.logo-intro {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}

.logo-intro.visible {
  opacity: 1;
}

.logo-intro-text {
  font-family: 'Absender Outline', sans-serif;
  font-weight: normal;
  letter-spacing: 0.05em;
  color: #fff;
  white-space: nowrap;
  font-size: 10vw;
  padding: 0 5vw;
}

.website {
  background: #000;
  color: #fff;
  min-height: 100vh;
  cursor: none;
}

.website * {
  cursor: none !important;
}

.website.hidden {
  display: none;
}

.website.visible {
  display: block;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  background: transparent;
  opacity: 0;
  transition: opacity 0.8s ease-in;
}

.site-header.visible {
  opacity: 1;
}

.logo {
  font-family: 'Absender Outline', sans-serif;
  font-size: 3.2rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  color: #fff;
}

.logo-img {
  height: 12.8rem;
  width: auto;
}

.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 30px;
  background: rgba(0, 0, 0, 0.95);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 15px 40px;
  font-family: 'Absender Outline', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-link:hover {
  opacity: 0.6;
}

/* ==============================
   VIDEO CAROUSEL
   ============================== */

.video-section {
  padding-top: 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease-in;
}

.video-section.visible {
  opacity: 1;
}

.carousel {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.carousel-slide {
  min-width: 100%;
  padding: 0;
}

.carousel-slide .video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #111;
}

.carousel-slide .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-click-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  padding: 10px 15px;
  opacity: 0.6;
  transition: opacity 0.2s;
  font-family: sans-serif;
  line-height: 1;
}

.carousel-arrow:hover {
  opacity: 1;
}

.carousel-arrow--left {
  left: 15px;
}

.carousel-arrow--right {
  right: 15px;
}

.video-title-bar {
  padding: 15px 20px 0;
}

.video-title {
  font-family: 'Absender Outline', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.video-title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   CONTACT SECTION
   ============================== */

.contact-section {
  padding: 120px 60px 80px;
  text-align: center;
}

.contact-header {
  font-family: 'Absender Outline', sans-serif;
  font-size: 3.2rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 50px;
}

.contacts {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-card {
  flex: 1;
  min-width: 260px;
}

.contact-name {
  font-family: 'Absender', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 4px;
  color: #fff;
}

.contact-role {
  font-family: 'Absender', sans-serif;
  font-size: 1.35rem;
  color: #999;
  margin-bottom: 16px;
}

.contact-info {
  font-family: 'Absender', sans-serif;
  font-size: 1.425rem;
  color: #fff;
  margin-bottom: 4px;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 768px) {
  .light-switch {
    width: 160px;
  }

  .custom-cursor {
    display: none !important;
  }

  .landing {
    cursor: auto;
  }

  .carousel-slide {
    padding: 0 20px;
  }

  .video-title-bar {
    padding: 15px 20px 0;
  }

  .carousel-arrow {
    font-size: 2rem;
    padding: 5px 8px;
  }

  .contact-section {
    padding: 80px 20px 60px;
  }

  .contacts {
    flex-direction: column;
    gap: 40px;
  }

  .site-header {
    padding: 15px 20px;
  }

  .logo {
    font-size: 1.2rem;
  }
}
