/*
Theme Name: Kashef
Theme URI: https://kashefacc.com
Author: Kashef Consulting
Author URI: https://kashefacc.com
Description: قالب وردپرس شرکت خدمات تخصصی حسابداری و حسابرسی کاشف - با پنل مدیریت کامل
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: kashef
Tags: rtl-language-support, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
    --primary-purple: #581c87;
    --accent-purple: #7c3aed;
    --soft-purple: #f5f3ff;
    --royal-gold: #c5a059;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    scroll-behavior: smooth;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(88, 28, 135, 0.1);
}

.text-royal-purple { color: var(--primary-purple); }
.bg-royal-purple { background-color: var(--primary-purple); }
.hover-purple:hover { color: var(--accent-purple); }

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fade-in 0.8s ease-out forwards; }

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.animate-bounce-slow { animation: bounce-slow 4s ease-in-out infinite; }

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

#portal-modal { display: none; }
#portal-modal.active { display: flex; }

#mobile-menu { display: none; }
#mobile-menu.active { display: block; }

#chat-widget { display: none; }
#chat-widget.active { display: flex; }

#chat-button { display: flex; }
#chat-button.hidden { display: none; }

.slider-slide {
    opacity: 0;
    transition: opacity 0.7s ease;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    border-radius: 2.5rem;
}
.slider-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

#hero-slider {
    position: relative;
    isolation: isolate;
}

#hero-slider .slider-slide {
    position: absolute !important;
}

.kashef-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.kashef-brand-logo {
    display: block;
    height: 68px;
    width: auto;
    max-width: min(320px, 42vw);
    object-fit: contain;
    object-position: center;
}

.kashef-brand-logo-footer {
    height: 88px;
    max-width: min(360px, 80vw);
    opacity: 1;
}

.kashef-logo-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 72px;
    max-width: min(340px, 45vw);
    line-height: 0;
    flex-shrink: 0;
}

.kashef-footer-logo-wrap {
    display: flex;
    align-items: center;
    min-height: 88px;
    max-width: 360px;
}

@media (max-width: 768px) {
    .kashef-brand-logo {
        height: 54px;
        max-width: min(240px, 58vw);
    }

    .kashef-logo-link {
        height: 58px;
        max-width: min(260px, 62vw);
    }

    .kashef-brand-logo-footer {
        height: 72px;
        max-width: min(280px, 85vw);
    }

    .kashef-footer-logo-wrap {
        min-height: 72px;
        max-width: 280px;
    }
}

.kashef-countdown-units {
    direction: ltr;
}
