/* The Cube Club - Premium Luxury Design System & Styling */

/* 1. Typography Imports */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@200;300;400;500;600;700&display=swap');

/* 2. Base Configuration & Global Elements */
html {
  scroll-behavior: initial;
}

html, body {
  background-color: #FFFFFF;
  color: #111111;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Cormorant Garamond Elegant Headings */
h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* 3. Lenis Smooth Scroll Structural CSS */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overflow: clip;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* 4. Luxury Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #FFFFFF;
}
::-webkit-scrollbar-thumb {
  background: #ECECEC;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C5A880;
}

/* 5. GSAP Horizontal Scroll & Pinned Layouts */
.horizontal-scroll-container {
  display: flex;
  flex-wrap: nowrap;
  width: 400vw; /* 4 screens wide */
  will-change: transform;
}

.horizontal-slide {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 6. Image Reveal Animations (Clip Path) */
.image-reveal-container {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  transition: clip-path 1.2s cubic-bezier(0.76, 0, 0.24, 1);
}

.image-reveal-container.active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.image-reveal-zoom {
  transform: scale(1.15);
  transition: transform 1.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-reveal-container.active .image-reveal-zoom {
  transform: scale(1);
}

/* 7. Pinterest Masonry Grid Columns (Vanilla CSS) */
.pinterest-grid {
  column-count: 3;
  column-gap: 1.5rem;
  width: 100%;
}

@media (max-width: 1024px) {
  .pinterest-grid {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .pinterest-grid {
    column-count: 1;
  }
}

.pinterest-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1.5rem;
  break-inside: avoid;
  background: #FFFFFF;
  border: 1px solid #ECECEC;
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
}

.pinterest-item:hover {
  border-color: #C5A880;
  transform: translateY(-4px);
}

/* 8. Elite Micro-interactions */
.luxury-btn-hover {
  position: relative;
  overflow: hidden;
}

.luxury-btn-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #C5A880;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: -1;
}

.luxury-btn-hover:hover::before {
  transform: translateY(0);
}

/* 9. Swiper Control Customizations */
.swiper-button-next,
.swiper-button-prev {
  color: #111111 !important;
  background: rgba(255, 255, 255, 0.9);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  border: 1px solid #ECECEC;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
}

.swiper-pagination-bullet-active {
  background: #C5A880 !important;
}
