/*
Theme Name: Hada Events Theme
Theme URI: https://example.com/hadaevents-theme
Author: Antigravity
Author URI: https://example.com
Description: Custom WordPress theme converted from React/Vite project.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hadaevents-theme
*/

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  html {
    scroll-behavior: smooth;
  }
  
  body {
    @apply antialiased;
  }
}

/* Mesh Card Shine Effect */
.mesh-card {
  position: relative;
  isolation: isolate;
}
.mesh-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--pointer-deg) at var(--pointer-x) var(--pointer-y), transparent 0%, var(--mesh-color, #0a3b37) 15%, transparent 30%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.4s ease;
}
.mesh-card:hover::before { opacity: 1; }

.dark .mesh-card::before {
  --mesh-color: #D4AF37;
}

.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
  
@keyframes flourish-pulse { 0%, 100% { transform: scale(1); opacity: 0.15; filter: blur(100px); } 50% { transform: scale(1.1); opacity: 0.25; filter: blur(80px); } }  
.botanical-flourish { animation: flourish-pulse 15s ease-in-out infinite; will-change: transform, opacity, filter; }