/**
 * @file banners.css
 * @description Source file banners.css for ptreks.com marketing website
 * @copyright Copyright (c) 2020-2026 PingerWare. All rights reserved.
 * 
 * This software is the confidential and proprietary information of PingerWare.
 * Unauthorized copying of this file, via any medium, is strictly prohibited.
 */

/**
 * Demo Banners for pTreks Marketing Site
 */

.testimonial-card,
.review-card {
    position: relative;
    overflow: hidden;
    /* Ensure banner stays within card bounds */
}

.demo-banner-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    z-index: 10;
    pointer-events: none;
    /* Don't interfere with card hover/clicks */
}

.demo-banner {
    background-color: #ff4d4d;
    /* Bright red for visibility */
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 11px;
    line-height: 24px;
    text-transform: uppercase;
    transform: rotate(45deg);
    position: relative;
    left: 10px;
    top: 15px;
    width: 140px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

/* Optional: Slight opacity tweak for dark mode if applicable */
.dark-mode .demo-banner {
    background-color: #ff3333;
}

/* ============================================ */
/* Global Staging Indicator                     */
/* ============================================ */

.staging-indicator {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 6px 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.staging-indicator__content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.staging-indicator__version {
    font-weight: 400;
    font-size: 0.75rem;
    opacity: 0.9;
    font-family: monospace;
}

/* Staging offsets for sticky headers */
.is-staging .top-bar {
    top: 36px;
    /* Height of staging banner */
}

.is-staging .site-header {
    top: 86px;
    /* Height of staging banner (36px) + top-bar (approx 50px) */
}

@media (max-width: 768px) {
    .staging-indicator {
        font-size: 0.75rem;
        padding: 4px 0;
    }

    .staging-indicator__content {
        gap: 0.75rem;
    }

    .is-staging .top-bar {
        top: 32px;
    }

    .is-staging .site-header {
        top: 82px;
    }
}