@font-face{
  font-family: "Aftika";
  src: url("FontsFreeNetAftikaRegular.ttf") format("truetype");
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: "Aftika", sans-serif;
  background: #111111;
  color: #f5f5f5;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: rgba(71, 71, 71, 0.404);
  border-radius: 10px;
}

/* LAYOUT */
.case{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 100px;
  padding: 80px;
}

/* LEFT SIDE */
.case-info{
  position: sticky;
  top: 120px;
  align-self: start;
}

/* BACK BUTTON STYLES */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a0a0a0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  margin-top: 28px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.back-btn svg {
  transition: transform 0.2s ease;
}

.back-btn:hover {
  color: #ffffff;
}

.back-btn:hover svg {
  transform: translateX(-4px); /* Smooth subtle shift left effect */
}

.case-info h1{
  font-size: 48px;
  margin-bottom: 24px;
}

.case-info p{
  line-height: 1.6;
  margin-bottom: 20px;
  color: #d8d8d8;
}

.meta p{
  font-size: 14px;
  color: #d3d3d3;
  margin-bottom: 8px;
}

/* RIGHT SIDE */
.gallery{
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.frame{
  width: 100%;
  max-width: 1130px;
  aspect-ratio: 1130 / 799;
  background: #c9c9c9;
  overflow: hidden;
  border-radius: 4px;
}

.journ{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}








/* Full-screen Loader Overlay */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #080808;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999; /* Higher than any sticky elements or content */
}

.loader-content {
  display: flex;
  gap: 12px;
}

.bar {
  width: 16px;
  height: 60px;
  background-color: #b9ddff;
  border-radius: 8px;
}

/* Initially hide content */
.content {
  opacity: 0;
  text-align: center;
  padding-top: 20vh;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */

/* Tablet Screens (1024px and below) */
@media (max-width: 1024px) {
  .case {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 50px 32px;
  }

  .case-info {
    position: static;
    top: auto;
    margin: 8%;
  }

  .case-info h1 {
    font-size: 47px;
  }

  .gallery {
    gap: 40px;
  }
}

/* Mobile Screens (768px and below) */
@media (max-width: 768px) {
  .case {
    padding: 30px 16px;
    gap: 30px;
  }

  .case-info h1 {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .case-info p {
    font-size: 15px;
    line-height: 1.5;
  }

  .meta p {
    font-size: 13px;
  }

  .back-btn {
    margin-top: 20px;
    font-size: 14px;
  }

  .gallery {
    gap: 24px;
  }

  .frame {
    border-radius: 2px;
  }
}
