/* ================================================
   ADDITIONAL CUSTOM STYLES — Ahura Developer Theme
   ================================================ */

/* Animated gradient orbs for hero background depth */
.ahura-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ahura-hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(124, 58, 237, 0.12);
  top: -10%;
  left: -5%;
  animation: orbFloat1 25s ease-in-out infinite;
}

.ahura-hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(6, 182, 212, 0.08);
  bottom: -15%;
  right: -5%;
  animation: orbFloat2 20s ease-in-out infinite;
}

.ahura-hero-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(167, 139, 250, 0.06);
  top: 40%;
  right: 20%;
  animation: orbFloat3 30s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, 10%) scale(1.1); }
  66% { transform: translate(-3%, -5%) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-8%, -5%) scale(1.05); }
  66% { transform: translate(3%, 8%) scale(0.9); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, -10%) scale(1.15); }
}

/* Grid pattern overlay for hero */
.ahura-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Floating particles effect */
.ahura-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ahura-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(167, 139, 250, 0.4);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(720deg);
    opacity: 0;
  }
}

/* Blog query grid layout */
.ahura-blog-grid .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

@media (max-width: 781px) {
  .ahura-blog-grid .wp-block-post-template {
    grid-template-columns: 1fr;
  }
}

/* Category tag pills */
.ahura-category-pill {
  display: inline-block;
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Post navigation styling */
.ahura-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.ahura-post-nav a {
  display: block;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: #f1f5f9 !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.ahura-post-nav a:hover {
  border-color: rgba(124, 58, 237, 0.2);
  transform: translateY(-2px);
}

/* Archive page header */
.ahura-archive-header {
  position: relative;
  padding: 4rem 0 3rem;
}

.ahura-archive-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  border-radius: 2px;
}

/* Single post reading progress bar */
.ahura-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* Image hover effect */
.ahura-img-hover {
  overflow: hidden;
  border-radius: 12px;
}

.ahura-img-hover img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ahura-img-hover:hover img {
  transform: scale(1.05);
}

/* Smooth page transitions */
.wp-site-blocks {
  animation: pageIn 0.4s ease-out;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus visible outlines */
:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: #7c3aed;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 0;
}
