/* Imports */
@import "components/header.css";

:root {
  --bg-color: #eae7dc;
  --text-color: #1a1818;

  --grid-line: rgba(26, 24, 24, 0.1);
}

/* --- Hero Section --- */
.hero {
  height: 100svh; /* Use small viewport height to prevent mobile address bar scroll jumps */
  min-height: 600px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  gap: 2rem;
  width: 100%;
  max-width: 85rem;
  padding-top: 5rem;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 10vw, 8rem);
  line-height: 0.95;
  z-index: 2;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.05em;
}

.hero-line span {
  display: block;
  transform: translateY(100%);
}

.hero-img {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 35vw;
  height: 60vh;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transform: scale(1.2);
  filter: grayscale(100%);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.scroll-line {
  width: 80px;
  height: 1px;
  background: var(--text-color);
}

/* Tablet and up (768px+) */
@media (min-width: 768px) {
  .hero {
    padding: 0 2rem;
  }

  .hero-inner {
    padding-top: 0;
  }

  .scroll-indicator {
    font-size: 0.8rem;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .hero {
    padding: 0 var(--container-padding);
  }

  .hero-inner {
    flex-direction: row;
    align-items: flex-end;
    text-align: left;
    height: 60%;
    gap: 0;
  }

  .hero-right {
    align-items: flex-end;
    height: 35%;
    justify-content: space-between;
    margin-bottom: 1.5rem;
  }

  .hero-right .hero-line p {
    text-align: right;
  }

  .hero-title {
    font-size: clamp(3.5rem, 12vw, 8rem);
  }

  .scroll-indicator {
    left: var(--container-padding);
    transform: none;
    width: 200px;
    gap: 1rem;
  }
}

/* End of Hero Section Style */

/* Hero info Animated */
.hero-img-animated {
  translate: none;
  rotate: none;
  scale: none;
  opacity: 0;
  transform: translate(0%, 30%) translate(0px, 2279.51px) scale(1.2, 1.2);
}

.serif-italic {
  font-family: "Playfair Display", serif;
  font-style: italic;
}

.hero-line span {
  display: block;
  transform: translateY(100%);
  animation: slideUp 1s ease-out forwards;
}

.hero-line:nth-child(1) span {
  animation-delay: 0.3s;
}

.hero-line:nth-child(2) span {
  animation-delay: 0.5s;
}

.hero-line:nth-child(3) span {
  animation-delay: 0.7s;
}
.hero-line:nth-child(4) span {
  animation-delay: 0.9s;
}
.hero-line:nth-child(5) p {
  animation-delay: 0.15s;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

/* End of Hero info Animated*/

/* --- Marquee --- */
.marquee-section {
  padding: 4rem 0;
  border-top: 1px solid var(--grid-line);
  border-bottom: 1px solid var(--grid-line);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  font-size: 4.5vw;
  font-weight: 300;
  text-transform: uppercase;
  will-change: transform;
}
.marquee-track span {
  padding: 0 2vw;
  -webkit-text-stroke: 1px var(--text-color);
  color: transparent;
  transition: color 0.3s, -webkit-text-stroke 0.3s;
}
.marquee-track span.no-transition {
  transition: none !important;
}
.marquee-track span:hover {
  color: #e18f4d;
  -webkit-text-stroke: 1px var(--accent-color);
}
.dark .marquee-track span {
  -webkit-text-stroke: 1px white;
}
.dark .marquee-track span:hover {
  -webkit-text-stroke: transparent;
}
/* End of Marquee */

body {
  font-family: "Inter", sans-serif;
}
.font-serif {
  font-family: "Playfair Display", serif;
}
.font-bricolage {
  font-family: "Bricolage Grotesque", sans-serif !important;
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
/* Global Grid Lines */
.grid-lines {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 80rem; /* max-w-7xl */
  margin: 0 auto;
  pointer-events: none;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  padding: 0 1.5rem; /* px-6 */
  opacity: 0.15;
}
@media (min-width: 768px) {
  .grid-lines {
    padding: 0 3rem; /* md:px-12 */
  }
}
.grid-line {
  width: 1px;
  height: 100%;
}
/* Hero Animations */
@keyframes cinematicEntrance {
  0% {
    transform: scale(1.4);
    filter: blur(20px) grayscale(100%);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    filter: blur(0px) grayscale(0%);
    opacity: 1;
  }
}
.animate-cinematic {
  animation: cinematicEntrance 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-slide-up {
  animation: slideUpFade 1s ease-out forwards;
}
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.animate-ticker {
  animation: ticker 40s linear infinite;
}
/* In-view Animation Logic */
@keyframes animationIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

/* Card Shimmer */
@keyframes shimmerMove {
  0% {
    transform: translateX(-150%) skewX(-20deg);
  }
  100% {
    transform: translateX(200%) skewX(-20deg);
  }
}
.animate-shimmer-effect {
  animation: shimmerMove 3s ease-in-out infinite;
  animation-delay: 2s;
}

/* scroll bar transparency */

html {
  Hide scrollbar for cleaner look ::-webkit-scrollbar {
    width: 12px;
    background: transparent;
  }

  /* Hide the track (long bar) */
  ::-webkit-scrollbar-track {
    background: transparent;
  }

  /* The small moving bar */
  ::-webkit-scrollbar-thumb {
    background-color: rgb(228, 106, 0) !important;
    border-radius: 9999px;
  }

  /* Optional: thumb on hover */
  ::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.6);
  }

  /* Custom delay classes */
  .delay-100 {
    animation-delay: 100ms;
  }
  .delay-300 {
    animation-delay: 300ms;
  }
  .delay-500 {
    animation-delay: 500ms;
  }
  .delay-700 {
    animation-delay: 700ms;
  }
  .delay-1000 {
    animation-delay: 1000ms;
  }
}
