@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Righteous&display=swap');

:root {
  --primary-gold: #ffbd2f;
  --bg-dark: #0a0a0a;
  --bg-card: rgba(20, 20, 20, 0.6);
  --border-glass: rgba(255, 255, 255, 0.08);
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-dark);
  color: #ffffff;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-image: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #000000 70%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

.logo-font {
  font-family: 'Righteous', cursive;
  letter-spacing: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
}

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

/* Gold Text Effect */
.text-gold {
  color: var(--primary-gold);
}
.text-gold-glow {
  color: var(--primary-gold);
  text-shadow: 0 0 20px rgba(255, 189, 47, 0.4);
}

/* Primary Button */
.btn-gold {
  background: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
}
.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gold);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-gold:hover {
  color: #000;
  box-shadow: 0 0 20px rgba(255, 189, 47, 0.5);
}
.btn-gold:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* 3D Product Cards Setup */
.perspective-container {
  perspective: 1000px;
}

.product-card-3d {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transform-style: preserve-3d;
  transition: transform 0.1s; /* smooth mouse move */
  position: relative;
  overflow: hidden;
}

/* Internal Card 3D popping elements */
.product-card-3d .card-content {
  transform: translateZ(40px); /* Brings text forward */
}
.product-card-3d img {
  transition: transform 0.5s ease;
  transform: translateZ(20px) scale(1.05); /* slightly larger to avoid edge gaps */
}
.product-card-3d:hover img {
  transform: translateZ(30px) scale(1.1);
}

/* Overlay for images */
.img-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

/* Glow effect on hover */
.product-card-3d::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(255,189,47,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.product-card-3d:hover::after {
  opacity: 1;
}

/* Owner Section Styling */
.owner-avatar-container {
  position: relative;
}
.owner-avatar-container::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  border: 2px dashed var(--primary-gold);
  animation: spin 10s linear infinite;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* GSAP Reveal utility */
.reveal-text, .reveal-card, .reveal-up {
  visibility: hidden;
}

/* Hero 3D Elements */
.hero-title {
  transform-style: preserve-3d;
  perspective: 500px;
}
.hero-char {
  display: inline-block;
}

/* Custom Hover Animations for Service Cards */

/* Spark Particles */
.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffbd2f;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffbd2f, 0 0 20px #ff7b00;
    pointer-events: none;
    z-index: 1;
    animation: flyUp 1s ease-out forwards;
}
@keyframes flyUp {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-50px) scale(0); opacity: 0; }
}

/* Smoke Particles */
.smoke {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
    z-index: 1;
    animation: smokeRise 2.5s ease-out forwards;
}
@keyframes smokeRise {
    0% { transform: translateY(0) scale(0.5); opacity: 0.9; }
    100% { transform: translateY(-80px) scale(2.5); opacity: 0; }
}

/* Confetti Particles */
.confetti {
    position: absolute;
    width: 8px;
    height: 16px;
    pointer-events: none;
    z-index: 1;
    animation: confettiFall 1.5s ease-out forwards;
}
@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(80px) rotate(360deg); opacity: 0; }
}

/* Hero Background Animation */
@keyframes slowPulse {
    0% { transform: scale(1); opacity: 0.05; }
    50% { transform: scale(1.2); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.05; }
}
.hero-glow-anim {
    animation: slowPulse 6s infinite ease-in-out;
}
