/* Custom premium styles for ZENDENZ Group */

:root {
    --primary: #015876; /* User Specified Brand Teal */
    --primary-dark: #003a4d;
    --primary-light: #0278a2;
    --secondary: #64748b;
    --background: #f8fafc;
    --text-main: #015876; /* Professional Teal for Headings */
    --text-muted: #475569;
    --milk-white: #FDFFF5;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    background-image: radial-gradient(#cbd5e1 0.7px, transparent 0.7px);
    background-size: 24px 24px;
    color: #334155; /* Neutral body text */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Enhancing general interactively for WOW factor */
a, button {
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-glow {
    text-shadow: 0 0 40px rgba(1, 146, 179, 0.8), 0 0 20px rgba(1, 146, 179, 0.4);
    animation: glow-pulse 3s infinite alternate;
}

@keyframes glow-pulse {
    0% { filter: brightness(1); text-shadow: 0 0 30px rgba(1, 146, 179, 0.6); }
    100% { filter: brightness(1.2); text-shadow: 0 0 50px rgba(1, 146, 179, 1); }
}

nav a.text-blue-600,
nav a:hover {
    color: var(--primary) !important;
}

footer {
    border-top: 1px solid #e2e8f0;
}

footer h5 {
    color: var(--primary) !important;
}

/* Silk Light Effect */
.silk-light {
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.silk-light img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.silk-light::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transition: none;
    pointer-events: none;
}

.silk-light:hover::after {
    left: 100%;
    transition: all 0.8s ease;
}

/* Puzzle Styles */
.puzzle-container {
    perspective: 1500px;
}

.puzzle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    aspect-ratio: 16/9;
    transform-style: preserve-3d;
}

.puzzle-piece {
    background-size: 400% 200%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-repeat: no-repeat;
    cursor: crosshair;
    border: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform;
}

.puzzle-piece:hover {
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    z-index: 50;
}

/* Slider Customization */
.product-slider {
    padding: 40px 0 !important;
}

.swiper-slide {
    height: 480px !important;
    border-radius: 20px;
    background-color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Glassmorphism Navigation */
.nav-glass {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Hero Grad Animations */
.bg-mesh {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
    z-index: -1;
    filter: blur(40px);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Medium Text Utilities */
.text-body-md {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.heading-tight {
    letter-spacing: -0.01em;
    line-height: 1.25;
}

/* Animations */
@keyframes pulse-soft {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.status-pulse {
    animation: pulse-soft 2s infinite ease-in-out;
}

/* Text Shadow for better visibility over images */
.text-shadow-strong {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.8);
}

.nav-glass {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.brand-bg-half {
    background: linear-gradient(to bottom, var(--primary) 50%, #ffffff 50%);
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes slideInGlow {
    0% { transform: translateX(-20px); opacity: 0; text-shadow: 0 0 0 rgba(255,255,255,0); }
    50% { text-shadow: 0 0 20px rgba(255,255,255,0.8); }
    100% { transform: translateX(0); opacity: 1; text-shadow: 0 0 10px rgba(255,255,255,0.3); }
}

.animate-slide-in-glow {
    animation: slideInGlow 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand-text-shimmer {
    font-family: 'Arial Black', Impact, sans-serif !important;
    font-weight: 900;
    letter-spacing: -2px !important;
    text-transform: uppercase;
    background: linear-gradient(180deg, #dbeafe 0%, #ffffff 42%, #93c5fd 43%, #3b82f6 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.5px #1e3a8a;
    filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.8));
    transform: scaleX(1.15);
    display: inline-block;
    padding: 0 5px;
}

@keyframes ken-burns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, -2%); }
}

.animate-ken-burns {
    animation: ken-burns 12s infinite alternate ease-in-out;
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

/* Premium WOW Factor Elements */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(1, 88, 118, 0.07);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
    box-shadow: 0 12px 48px 0 rgba(1, 88, 118, 0.15);
    transform: translateY(-4px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.premium-gradient-text {
    background: linear-gradient(135deg, #015876 0%, #0192b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Milk White Logo Effect */
.logo-milk-white {
    filter: brightness(0) invert(1) sepia(0.1) saturate(0.2) brightness(1.05);
    transition: filter 0.3s ease, transform 0.5s ease;
}

.group:hover .logo-milk-white {
    filter: brightness(0) invert(1) sepia(0.05) saturate(0.1) brightness(1.1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

@font-face {
    font-family: 'Futura XBlk BT';
    src: local('Futura XBlk BT'), local('Futura-ExtraBold'), local('Futura-Bold'), local('Arial Black');
}

.font-futura-xblk {
    font-family: 'Futura XBlk BT', 'Montserrat', sans-serif;
    font-weight: 900;
}

.text-milk-white {
    color: var(--milk-white);
}
