/* daisyui-custom.css
   DaisyUI 5 Integration - DesignPoint Theme
   Combines official DaisyUI components with custom brand styling
*/

/* ===== CSS Variables for Custom Effects ===== */
:root {
  /* Gradient definitions */
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-sunset: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-ocean: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-cosmic: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  
  /* Custom shadows */
  --shadow-glow: 0 0 20px rgba(59,130,246,0.4), 0 0 40px rgba(139,92,246,0.2);
  --shadow-premium: 0 20px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.08);
}

/* ===== Typography Enhancements ===== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

/* ===== Gradient Text Utility Classes ===== */
.gradient-text-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-cosmic {
  background: var(--gradient-cosmic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-ocean {
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Brand Logo Styling ===== */
.company-text {
  font-weight: 900;
  font-size: 22px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

.company-text:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
}

.logo-accent {
  background: var(--gradient-cosmic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse-logo 2s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* ===== DaisyUI Button Enhancements ===== */
.btn {
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer effect on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
  pointer-events: none;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15), var(--shadow-glow);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* ===== DaisyUI Card Enhancements ===== */
.card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid oklch(94% 0.01 240);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.08);
}

/* Add gradient border effect to cards */
.card-premium {
  position: relative;
  background: linear-gradient(white, white) padding-box,
              var(--gradient-primary) border-box;
  border: 2px solid transparent;
}

/* ===== DaisyUI Badge Enhancements ===== */
.badge {
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.badge:hover {
  transform: scale(1.05);
}

/* ===== DaisyUI Stats Component Styling ===== */
.stats {
  box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  border: 1px solid oklch(94% 0.01 240);
}

.stat-value {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

/* ===== DaisyUI Alert Enhancements ===== */
.alert {
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.alert:hover {
  transform: translateX(4px);
}

/* ===== DaisyUI Modal Enhancements ===== */
.modal-box {
  border-radius: 1.5rem;
  box-shadow: var(--shadow-premium);
  border: 1px solid oklch(94% 0.01 240);
}

/* ===== DaisyUI Form Enhancements ===== */
.input,
.textarea,
.select {
  transition: all 0.3s ease;
  border-width: 2px;
}

.input:focus,
.textarea:focus,
.select:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59,130,246,0.15);
}

/* ===== Custom Floating Animation ===== */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.floating-animation {
  animation: float 15s ease-in-out infinite;
}

/* ===== Custom Gradient Backgrounds ===== */
.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-cosmic {
  background: var(--gradient-cosmic);
}

.bg-gradient-ocean {
  background: var(--gradient-ocean);
}

.bg-gradient-sunset {
  background: var(--gradient-sunset);
}

/* ===== Navbar Enhancements ===== */
.navbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid oklch(94% 0.01 240);
  transition: all 0.3s ease;
}

/* ===== Footer Enhancements ===== */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 1px solid rgba(59,130,246,0.2);
}

/* ===== DaisyUI Join Component (for Pagination) ===== */
.join .btn:hover {
  z-index: 10;
}

/* ===== DaisyUI Collapse/Accordion Enhancements ===== */
.collapse {
  border: 1px solid oklch(94% 0.01 240);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.collapse:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

/* ===== DaisyUI Menu Enhancements ===== */
.menu li:hover {
  transform: translateX(4px);
}

/* ===== DaisyUI Drawer Enhancements ===== */
.drawer-side {
  backdrop-filter: blur(10px);
}

.drawer-overlay {
  backdrop-filter: blur(4px);
}

/* ===== Responsive Utilities ===== */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

/* ===== Print Styles ===== */
@media print {
  .btn::before,
  .floating-animation {
    animation: none !important;
  }
}
