/* Custom Stylesheet for Ar. Dhruvin Merchant Landing Page */

/* Import Google Fonts: Playfair Display for Serifs, Inter for Sans-serifs */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Configure Tailwind v4 Theme Variables */
@theme {
  --color-primary: #111111;
  --color-secondary: #1F1F1F;
  --color-accent: #C9A227;
  --color-accent-hover: #B08D1E;
  --color-bg-light: #FAFAFA;
  --color-text-light: #222222;
  --color-muted-light: #777777;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  --transition-luxury: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Scrollbar for Luxury Aesthetic */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
  background: #C9A227;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B08D1E;
}

/* Selection Highlight */
::selection {
  background-color: rgba(201, 162, 39, 0.2);
  color: #C9A227;
}

/* Base resets & Custom behaviors */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  cursor: none; /* Hide default cursor to enable the custom trailing cursor on desktop */
}

/* Fallback for touch devices - restore normal cursor */
@media (hover: none) and (pointer: coarse) {
  body {
    cursor: auto;
  }
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
}

/* Custom Cursor Styles */
.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: #C9A227;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

.custom-cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.3s ease, 
              border-color 0.3s ease;
}

/* Custom Cursor Hover States */
.custom-cursor-ring.hovered {
  width: 60px;
  height: 60px;
  background-color: rgba(201, 162, 39, 0.05);
  border-color: #C9A227;
}

.custom-cursor-dot.hovered {
  width: 10px;
  height: 10px;
}

.custom-cursor-ring.clicking {
  width: 30px;
  height: 30px;
  background-color: rgba(201, 162, 39, 0.2);
}

/* Glassmorphism Styles */
.glass-panel {
  background: rgba(250, 250, 250, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Premium Gold Text Gradient (Used Sparingly) */
.text-gold-gradient {
  background: linear-gradient(135deg, #F6D365 0%, #FDA085 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Architectural Grid lines background decoration */
.bg-grid-lines {
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Custom Animation Classes */
@keyframes buttonGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(201, 162, 39, 0.2), 0 0 10px rgba(201, 162, 39, 0.1);
  }
  50% {
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.5), 0 0 25px rgba(201, 162, 39, 0.25);
  }
}

.glow-effect {
  animation: buttonGlow 3s infinite;
}

/* Fade In Up Base Class for GSAP fallback/initial state */
.fade-up-element {
  opacity: 0;
  transform: translateY(30px);
}
