/*
Theme Name: Artificial Intelligence Delivery Unit (AIDU) - Government of the Punjab
Theme URI: https://sgad.punjab.gov.pk
Description: Premium Custom WordPress Theme for the Artificial Intelligence Delivery Unit (AIDU - S&GAD). Replicates the high-fidelity glassmorphic PVARA UI/UX design with responsive grid systems, red advisory tickers, and full multi-page templates.
Version: 1.0.0
Author: Office of AI Wing
Author URI: https://sgad.punjab.gov.pk
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: office-of-ai
*/

/* Custom Glassmorphism Styles matching the React portal */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 20px;
}

.shiny-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #064E3B 0%, #065F46 35.36%, #047857 70.71%);
    box-shadow: 0 4px 15px 0 rgba(4, 120, 87, 0.2);
    transition: all 0.3s ease;
}

.shiny-button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(4, 120, 87, 0.3);
}

.shiny-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(35deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.shiny-button:hover::after {
    left: 150%;
    opacity: 1;
}

.advisory-marquee {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.advisory-marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 35s linear infinite;
}

.advisory-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.section-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #047857;
    background-color: #F7FFF5;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(4, 120, 87, 0.15);
    margin-bottom: 16px;
}

/* Page enter transition */
.page-enter {
    animation: pageEnter 0.3s ease-out;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lightbox overlay */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
