/*
Theme Name: The Devalaya Liquid Glass
Theme URI: https://www.thedevalaya.com/
Author: The Devalaya Team
Author URI: https://www.thedevalaya.com/
Description: A highly interactive, premium WordPress theme featuring a macOS/iPadOS Liquid Glass (Glassmorphism) design language. Designed for educational excellence, 100% compatible with Elementor, page builders, and standard cPanel hosting on BigRock.
Version: 1.1.0
License: GNU GPLv2 or later
Text Domain: devalaya-liquid-glass
Tags: dynamic, responsive, glassmorphism, elementor, education, custom-background
*/

/* --- LIQUID GLASS DESIGN SYSTEM BASE --- */
:root {
  --glass-bg: rgba(255, 255, 255, 0.00);
  --glass-bg-dark: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-border-dark: rgba(255, 255, 255, 0.08);
  --glass-blur: 14px;
  --squircle-radius: 20px;
  --accent-color: #ef4444;
  --accent-gradient: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
  --main-text: #0f172a;
  --main-text-dark: #f8fafc;
}

/* Base Body configuration with Liquid Flow background */
body.devalaya-liquid-glass-theme {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--main-text);
  background: #f8fafc;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Premium Liquid Glass Cards */
.liquid-glass-card {
  background: var(--glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--glass-border);
  border-radius: var(--squircle-radius);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-glass-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

/* macOS Squircle interactive buttons */
.glass-button {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px 22px;
  color: var(--main-text);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-button:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-color: rgba(255, 255, 255, 0.7);
}

.glass-button-primary {
  background: var(--accent-gradient);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.glass-button-primary:hover {
  transform: scale(1.05);
  background: var(--accent-gradient);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
  filter: brightness(1.15);
}

/* Custom Moving mesh gradient elements */
.liquid-mesh-glow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.liquid-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  mix-blend-mode: multiply;
  animation: none;
}

.liquid-blob-1 {
  width: 450px;
  height: 450px;
  background: #93c5fd;
  top: -10%;
  left: 10%;
  animation-delay: 0s;
}

.liquid-blob-2 {
  width: 550px;
  height: 550px;
  background: #c084fc;
  bottom: -15%;
  right: 15%;
  animation-delay: -5s;
}

.liquid-blob-3 {
  width: 400px;
  height: 400px;
  background: #fda4af;
  top: 40%;
  left: 55%;
  animation-delay: -10s;
}

@keyframes liquid-drift {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(50px, 30px) scale(1.15) rotate(90deg); }
  100% { transform: translate(-30px, -45px) scale(0.9) rotate(180deg); }
}
