/* ==========================================================================
   Avenya Real Estate Landing Page - Custom CSS & Animation Utilities
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-primary: #081612;
  --color-forest: #0D241D;
  --color-card: rgba(16, 42, 34, 0.7);
  --color-accent: #C5A880;
  --color-gold: #D4AF37;
  --color-emerald: #10B981;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color-scheme: dark;
}

body {
  background-color: #081612;
  color: #F3F4F6;
  overflow-x: hidden;
  selection-background-color: #C5A880;
  selection-color: #081612;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #081612;
}
::-webkit-scrollbar-thumb {
  background: #1D4135;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C5A880;
}

/* Typography Accent */
.font-serif-luxury {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Glassmorphism Styles */
.glass-nav {
  background: rgb(240 253 249 / 65%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 168, 128, 0.15);
}

.glass-nav img{
	width:80%;
}

.glass-nav .logo{
	width:20%;
}

.glass-nav .nav-menu a{
	color: #00230d;
}

.glass-card {
  background: rgba(13, 36, 29, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(197, 168, 128, 0.35);
  box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.15);
  transform: translateY(-4px);
}

/* Visibility Safeguard for Animated Elements */
.gsap-fade-in,
.gsap-stagger-card {
  opacity: 1;
  visibility: visible;
}

.glass-card-static {
  background: rgba(13, 36, 29, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-pill {
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid rgba(197, 168, 128, 0.3);
  backdrop-filter: blur(8px);
}

/* Gold Text Gradient */
.gold-gradient-text {
  background: linear-gradient(135deg, #FBF4E6 0%, #D4AF37 50%, #A88448 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.emerald-gradient-text {
  background: linear-gradient(135deg, #A7F3D0 0%, #34D399 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gold Button Glow */
.gold-glow-btn {
  background: linear-gradient(135deg, #C5A880 0%, #A88448 100%);
  box-shadow: 0 4px 20px -2px rgba(197, 168, 128, 0.35);
  transition: all 0.3s ease;
}

.gold-glow-btn:hover {
  background: linear-gradient(135deg, #D4AF37 0%, #B89254 100%);
  box-shadow: 0 6px 28px -2px rgba(212, 175, 55, 0.55);
  transform: translateY(-2px);
}

/* Image Transformation Container */
.transformation-viewport {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.transformation-img-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.transformation-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #133529;
  border-radius: 9999px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #C5A880;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(197, 168, 128, 0.6);
  border: 2px solid #081612;
  transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Subtle Vignette & Gradient Overlays */
.hero-vignette {
  background: radial-gradient(circle at center, rgba(8, 22, 18, 0.2) 0%, rgba(8, 22, 18, 0.85) 100%);
}

.bottom-fade {
  background: linear-gradient(to top, #081612 0%, rgba(8, 22, 18, 0) 100%);
}

.top-fade {
  background: linear-gradient(to bottom, #081612 0%, rgba(8, 22, 18, 0) 100%);
}

/* Progress Bar */
#scroll-progress {
  transform-origin: 0 50%;
}
