:root {
  --primary: #c5a47e;
  --primary-dark: #a88a65;
  --dark-bg: #0a0a0a;
  --dark-card: #141414;
  --dark-border: #252525;
  --fg: #aeaeae;
  --muted: #3f434a;
  font-family: "Syne", system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100vw;
  overflow-x: hidden;
}
body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark-bg);
  color: #e5e5e5;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  border: 2px solid var(--dark-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-dark), var(--primary));
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--dark-bg);
}

.primary-text {
  color: var(--primary);
}

.primary-bg {
  background-color: var(--primary);
}

/* 6. Gradient Flow Animation */
.gradient-text {
  background: linear-gradient(90deg, #c5a47e, #fff, #c5a47e, #a88a65, #c5a47e);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 4s linear infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}

/* 8. Blur In Animation */
.blur-in {
  filter: blur(20px);
  opacity: 0;
}

.blur-in.active {
  animation: blurIn 1s ease-out forwards;
}

@keyframes blurIn {
  to {
    filter: blur(0);
    opacity: 1;
  }
}

.underline-draw::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #fff, var(--primary));
  transition: width 0s;
}

.underline-draw.active::after {
  animation: drawLine 1s ease-out forwards 0.5s;
}

@keyframes drawLine {
  to {
    width: 100%;
  }
}

/* Hero title special animation */
.hero-title {
  perspective: 1000px;
}

.hero-title .word {
  display: inline-block;
  overflow: hidden;
}

.hero-title .char {
  display: inline-block;
}

/* End text animation styles */
/* Video Hero */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

/* Logo Marquee Animation */
@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-track {
  animation: logoScroll 35s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

@keyframes logoScrollReverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.logo-track-reverse {
  animation: logoScrollReverse 45s linear infinite;
}

.logo-track-reverse:hover {
  animation-play-state: paused;
}

.logo-item img {
  filter: grayscale(100%) brightness(0.7);
}

.logo-item:hover img {
  filter: grayscale(0%) brightness(1);
}

/* Cards */
.collection-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.collection-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(197, 164, 126, 0.2);
}

.collection-card img {
  transition: transform 0.6s ease;
}

.collection-card:hover img {
  transform: scale(1.1);
}

/* Swiper Slider */
.swiper-container {
  width: 100%;
  padding: 2rem 0;
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary);
  color: #0a0a0a;
  padding: 1rem 2.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  padding: 1rem 2.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #0a0a0a;
  transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Section title animation wrapper */
.section-title-wrapper {
  overflow: hidden;
}

/* Top to bottom reveal animation */
.reveal-top-bottom {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s ease-out;
}

.reveal-top-bottom.aos-animate {
  clip-path: inset(0 0 0 0);
}

/* /////////////////
 */

/* SWIPER */

.swiper {
  width: 250px;
  height: 450px;
  padding: 50px 0;
}

/* Responsive swiper for larger screens */
@media (min-width: 768px) {
  .swiper {
    width: 350px;
    height: 550px;
  }
}

@media (min-width: 1024px) {
  .swiper {
    width: 400px;
    height: 600px;
  }
}

@media (min-width: 1440px) {
  .swiper {
    width: 450px;
    height: 700px;
  }
}

.swiper-slide {
  position: relative;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  user-select: none;
}

.swiper-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-position {
  object-position: 50% 0%;
}

.overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #0f2027, transparent, transparent);
  background-repeat: no-repeat;
  background-size: cover;
}

.overlay span {
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
  padding: 7px 18px;
  margin: 10px;
  border-radius: 20px;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.095);
  box-shadow:
    inset 2px -2px 20px rgba(214, 214, 214, 0.2),
    inset -3px 3px 3px rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(74px);
}

.overlay h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0 0 20px 20px;
}

/* Flip Card Styles */
.flip-card {
  width: 100%;
  height: 100%;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.flip-card-front {
  background: var(--dark-card);
}

.flip-card-back {
  background: linear-gradient(135deg, var(--dark-card) 0%, #1a1a1a 100%);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--primary);
}

.flip-card-back h3 {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.flip-card-back p {
  color: #b0b0b0;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.flip-card-back .location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 0.85rem;
}

.flip-card-back .location i {
  color: var(--primary);
}

.flip-card-back .flip-hint {
  position: absolute;
  bottom: 15px;
  font-size: 0.75rem;
  color: #666;
}

.fill-text {
  margin: 0;
  font-size: clamp(19px, 1.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.fill-text > span {
  -webkit-background-clip: text;
  background-clip: text;
  background-color: var(--muted);
  background-image: linear-gradient(135deg, var(--fg) 50%, var(--muted) 60%);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 0% 200%;
  color: transparent;
  display: inline;
  will-change: background-size;
}

.credit:hover {
  color: var(--fg);
}

@media (prefers-reduced-motion: reduce) {
  .fill-text > span {
    background-size: 200% 200%;
  }
}

/* gallery */

.gallery img {
  aspect-ratio: 9 / 9;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.7rem;
  border: 1px solid #515151ff;
}

.fancybox__button--slideshow,
.fancybox__button--zoom,
.fancybox__button--thumbs,
.fancybox__button--fullscreen,
.fancybox__caption__counter,
.fancybox__counter {
  display: none !important;
}

a:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

.fancybox__thumbs .carousel__slide {
  width: var(--fancybox-thumbs-width, 56px);
  margin-bottom: 1rem;
}

.carousel__slide > * {
  width: 100%;
  height: 35px;
}

.fancybox__thumbs .carousel__slide .fancybox__thumb::after {
  border: 3px solid white;
}
