/*
Theme Name: Begrow Custom Theme
Theme URI: https://begrow.pro
Author: Begrow Development Team
Author URI: https://begrow.pro
Description: Повністю кастомна високопродуктивна тема WordPress для Begrow (кам'яна вата, мінераловатні субстрати для гідропоніки). Розроблено згідно з ТЗ на основі оригінальної React-верстки.
Version: 1.0.0
Text Domain: begrow
Domain Path: /languages
*/

/* Core styles loaded via assets/css/main.css */
.hidden { display: none !important; }

/* 1. Keyframes & Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 102, 51, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(0, 102, 51, 0); }
}

@keyframes bounceShort {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-float-slow {
    animation: floatSlow 4s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulseGlow 2.5s infinite;
}

.animate-bounce-short {
    animation: bounceShort 2s ease-in-out infinite;
}

/* 2. Scroll Reveal Effects */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Hover Lifts */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-lift:hover {
    transform: translateY(-4px);
}

/* 4. Team Member Card Photo Fix */
.team-card-person {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 86% !important;
    max-height: 86% !important;
    width: auto !important;
    max-width: 90% !important;
    object-fit: contain !important;
    object-position: bottom !important;
    pointer-events: none;
    z-index: 10;
    transition: transform 0.5s cubic-bezier(0, 0, 0.2, 1);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    user-select: none;
}

.group:hover .team-card-person {
    transform: translateX(-50%) scale(1.03);
}

/* 5. 3D Parallax Cube Container */
.perspective-1000 {
    perspective: 1000px;
}
#parallax-cube-img {
    will-change: transform;
    transition: transform 0.15s ease-out;
}

