/* Import Premium Typography */
@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=Outfit:wght@300;400;500;600;700&display=swap');

/* Global Reset & Base Customization */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky header */
  background-color: #0c0c0e;
  color: #e5e5e7;
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0c0c0e;
}
::-webkit-scrollbar-thumb {
  background: #2a2a2e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c5a880; /* Gold/Bronze */
}

/* Luxury Text Selection */
::selection {
  background-color: #c5a880;
  color: #0c0c0e;
}

/* Serif Font Class */
.font-serif-luxury {
  font-family: 'Cormorant Garamond', serif;
}

/* Gold Text Gradients */
.text-gold-gradient {
  background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gold Button Hover Slide */
.btn-gold-slide {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-gold-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}
.btn-gold-slide:hover::before {
  left: 100%;
}

/* Interactive Cursor Follower (Enabled on non-touch devices) */
@media (pointer: fine) {
  .custom-cursor {
    width: 8px;
    height: 8px;
    background-color: #c5a880;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
  }
  .custom-cursor-follower {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(197, 168, 128, 0.4);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.08s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
  }
  .custom-cursor-hover {
    width: 16px;
    height: 16px;
    background-color: rgba(197, 168, 128, 0.2);
  }
  .custom-cursor-follower-hover {
    width: 48px;
    height: 48px;
    border-color: rgba(197, 168, 128, 0.8);
    background-color: rgba(197, 168, 128, 0.05);
  }
}

/* Sticky Navigation Blur */
.nav-glass {
  background-color: rgba(12, 12, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.nav-glass-scrolled {
  background-color: rgba(8, 8, 10, 0.92);
  border-bottom: 1px solid rgba(197, 168, 128, 0.15);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

/* Premium Link Hover Animation */
.link-underline {
  position: relative;
}
.link-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: #c5a880;
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.reveal-left-active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.reveal-right-active {
  opacity: 1;
  transform: translateX(0);
}

/* Delayed reveals for staggers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Image Hover Zoom Overlay */
.project-card-zoom img {
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.project-card-zoom:hover img {
  transform: scale(1.08);
}

/* Custom Lightbox Transitions */
.lightbox-fade-enter {
  opacity: 0;
}
.lightbox-fade-enter-active {
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

/* Golden Border Animations */
.border-gold-grow {
  position: relative;
}
.border-gold-grow::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #c5a880;
  transition: width 0.4s ease;
}
.border-gold-grow:hover::before {
  width: 100%;
}

/* Form Input Focus */
.form-input-luxury {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  color: #ffffff;
}
.form-input-luxury:focus {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: #c5a880;
  outline: none;
  box-shadow: 0 0 0 1px rgba(197, 168, 128, 0.2);
}
