* {
    margin: 0;
    padding: 0;
    font-family: "gilroy";
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

#main {
    width: 100%;
    height: 100vh;
}

#back {
    width: 100%;
    height: 100vh;
}

#back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#top {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

#workingArea {
    position: relative;
    margin: 0 auto;
    width: 80%;
    height: 100vh;
    max-width: 1920px;
}

#nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

#navLeft,
#navRight {
    display: flex;
    align-items: center;
    gap: 60px;
}

#navLeft img {
    height: 60px;
}

#nav a {
    pointer-events: all;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
}

#hero {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(0%, -50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#heroLeft {
    min-width: 50%;
}

#heroLeft .elem {
    position: relative;
    overflow: hidden;
    height: 9vw;
}

@font-face {
    font-family: 'Kajiro Bold';
    src: url('./Kajiro-Bold.ttf') format('truetype');
    font-style: normal;
}

#heroLeft .elem h1 {
    position: absolute;
    top: 100%;
    left: 0;
    line-height: .9;
    font-family: "Kajiro Bold";
    color: #fff;
    font-weight: 100;
    font-size: 11vw;
}

#heroLeft .elem h1:nth-child(1) {
    top: 0;
}

#heroLeft button {
    pointer-events: all;
    padding: .2vw 3vw;
    margin-top: 2vw;
    font-size: 3vw;
    font-family: "Kajiro Bold";
}

#heroRight {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 17%;
    color: #fff;
}

#heroRight p {
    font-size: 14px;
    font-weight: 300;
    text-align: right;
}

#heroRight #imageDiv {
    margin-top: 20px;
    margin-bottom: 30px;
    width: 100%;
    height: 170px;
    background-image: url(https://images.unsplash.com/photo-1712573668309-2b03c3e1961c?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=688);
    background-size: cover;
    background-position: center;
}

#heroRight p:nth-child(3) {
    margin-bottom: 100px;
}

/* === Cinematic Loader Base === */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 9999;
  perspective: 1200px; /* key for zoom depth */
}

.loader-content {
  text-align: center;
  transform-style: preserve-3d;
}

.loader-title {
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: 6vw;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  position: relative;
  opacity: 0;
  transform: scale(1) translateZ(0);
  mix-blend-mode: lighten;
}

/* Light streak shimmer */
.loader-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-25deg);
  animation: shine 2.2s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* After loaded – fade zoom out transition */
body.loaded #loader {
  animation: loaderFadeOut 1.2s ease forwards;
}

@keyframes loaderFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}


/* Overlay Base */
#tabOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Tab Content Box */
.tabContent {
    position: relative;
    background: #000;
    color: #fff;
    width: 70%;
    max-width: 800px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: none;
    opacity: 0;
    transform: translateY(30px);
}

/* Heading + Paragraphs */
.tabContent h2 {
    font-family: "Kajiro", sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.tabContent p {
    color: #ccc;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Close Button */
.closeTab {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.closeTab:hover {
    color: #ff4040;
    transform: scale(1.2);
}

/* ===== Mobile Blocker ===== */
#mobile-block {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10000;
  padding: 30px;
}

.mobile-message h2 {
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: #fff;
}

.mobile-message p {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
}

/* ===== Mobile Blocker (Cinematic Style) ===== */
#mobile-block {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #000 0%, #0b0b0b 100%);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  z-index: 10000;
  padding: 40px;
  overflow: hidden;
}

.mobile-message h2 {
  font-family: "Poppins", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 30px;
  color: #fff;
  position: relative;
  opacity: 0;
}

.mobile-message p {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #dcdcdc;
  opacity: 0;
  max-width: 90%;
}

/* Underline element we can animate directly */
.underline {
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00baff, transparent);
  transform: translateX(-50%);
  opacity: 0;
}
