/*
Theme Name: ProductMantis
Theme URI: https://productmantis.com
Author: ProductMantis Studio
Author URI: https://productmantis.com
Description: Enterprise-grade WordPress theme framework for Product Strategists. Features modular architecture, advanced customization with header/footer builders, design token system, and comprehensive settings management. Comparable to Astra Pro and GeneratePress Premium. Built for long-term maintainability with backward compatibility guaranteed.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: productmantis
Tags: portfolio, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, block-styles, e-commerce, flexible-header, footer-widgets

ProductMantis WordPress Theme Framework, Copyright 2025 ProductMantis Studio
ProductMantis is distributed under the terms of the GNU GPL
*/

/* Base styles - Tailwind handles most styling */
:root {
    --jungle-green: #1B4332;
    --mantis-green: #74C69D;
    --jungle-dark: #0D1F17;
}

body {
    min-height: 100vh;
}

/* Glass Panel Effects */
.glass-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.glass-panel-dark {
    background: rgba(13, 31, 23, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dual Border Effect */
.dual-border {
    border: 4px solid white;
    box-shadow: 0 0 0 1px #f1f5f9;
}

/* Animation Delays */
.stagger-1 { animation-delay: 100ms; }
.stagger-2 { animation-delay: 200ms; }
.stagger-3 { animation-delay: 300ms; }

/* Tool Card Styles */
.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 1rem;
    background: white;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: white;
}

/* Narrative Card Styles */
.narrative-card {
    background: white;
    border-radius: 32px;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .narrative-card {
        flex-direction: row;
        padding: 2.5rem;
        gap: 3rem;
    }
}

.narrative-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(116, 198, 157, 0.3);
}

.card-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.375rem;
}

.card-text {
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.625;
    font-weight: 400;
}

/* Custom Animations */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes bounce-subtle {
    0%, 100% { 
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% { 
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

.animate-pulse-dot {
    animation: pulseDot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-gradient-slow {
    animation: gradient 20s ease infinite;
}

.animate-bounce-slow {
    animation: bounce-subtle 3s infinite;
}

/* WordPress Specific Styles */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* Admin bar fix */
body.admin-bar .fixed {
    top: calc(1.5rem + 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .fixed {
        top: calc(1.5rem + 46px);
    }
}

/* Selection Colors */
::selection {
    background-color: var(--mantis-green);
    color: var(--jungle-green);
}
