@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --mystic-indigo: #1A0B2E;
  --aurora-pink: #FF6B9D;
  --horizon-gold: #D4AF37;
  --mist-white: #F5F0EB;
  --deep-space: #0D0D1A;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--mystic-indigo);
  color: var(--mist-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .serif {
  font-family: 'Cormorant Garamond', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--deep-space);
}
::-webkit-scrollbar-thumb {
  background: var(--aurora-pink);
  border-radius: 5px;
}

/* Ethereal Floating Menu */
.navbar {
  backdrop-filter: blur(12px);
  background: rgba(26, 11, 46, 0.7);
  border-bottom: 1px solid rgba(255, 107, 157, 0.2);
  transition: all 0.3s ease;
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--aurora-pink);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--aurora-pink);
}
.nav-link:hover {
  color: var(--aurora-pink);
  text-shadow: 0 0 8px rgba(255, 107, 157, 0.5);
}
.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
#hero {
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(26,11,46,0.3) 0%, rgba(26,11,46,1) 100%);
}

.glow-btn-primary {
  background: transparent;
  border: 1px solid var(--aurora-pink);
  color: var(--mist-white);
  box-shadow: inset 0 0 10px transparent, 0 0 15px rgba(255,107,157,0.3);
  transition: all 0.4s ease;
}
.glow-btn-primary:hover {
  background: rgba(255, 107, 157, 0.1);
  box-shadow: inset 0 0 20px rgba(255,107,157,0.4), 0 0 25px rgba(255,107,157,0.6);
  transform: translateY(-2px);
}

.glow-btn-secondary {
  background: transparent;
  border: 1px solid var(--horizon-gold);
  color: var(--horizon-gold);
  transition: all 0.4s ease;
}
.glow-btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

/* Glass Cards */
.glass-card {
  background: rgba(245, 240, 235, 0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.4s ease;
  overflow: hidden;
}
.glass-card:hover {
  border-color: rgba(255, 107, 157, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 107, 157, 0.1);
}

/* Custom Grid Adjustments */
.hover-reveal {
  position: relative;
}
.hover-reveal .reveal-content {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(13,13,26,0.95), transparent);
  transition: bottom 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hover-reveal:hover .reveal-content {
  bottom: 0;
}

/* Animating elements */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.toast {
  background: rgba(13, 13, 26, 0.9);
  backdrop-filter: blur(10px);
  border-left: 4px solid var(--aurora-pink);
  color: var(--mist-white);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.toast.show {
  transform: translateX(0);
  opacity: 1;
}

/* Number Counter */
.counter-box {
  background: radial-gradient(circle at center, rgba(255,107,157,0.1) 0%, transparent 70%);
}

/* Unique Shapes */
.clip-diagonal {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.text-gradient {
  background: linear-gradient(90deg, var(--aurora-pink), var(--horizon-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
