/* ============================================
   BOT PAGE STYLES
   Path: wwwroot/content/css/bot.css
   Version: 8
   Last Updated: 2026-05-10
   Signatur/Sign: Lillehest - Team Stallion
   ============================================ */

/* --- Hero Section (full width) --- */
.bot-hero-section {
    padding: 80px 0 60px;
    background: #ebf1fc;
}

.bot-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.bot-hero-subtitle {
    font-size: 1.15rem;
    color: #6c757d;
    line-height: 1.75;
    max-width: 700px;
}

/* --- Two-Column Layout --- */
.bot-layout {
    padding: 3rem 0 0;
}

.bot-columns {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

/* --- Sidebar (Contents nav) --- */
.bot-sidebar {
    width: 200px;
    min-width: 200px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.bot-sidebar-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a1a2e;
}

.bot-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bot-sidebar-list li {
    margin-bottom: 0.25rem;
}

.bot-sidebar-link {
    display: inline-block;
    padding: 0.2rem 0;
    color: #495057;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 2px solid transparent;
    transition: color 0.2s;
}

.bot-sidebar-link:hover {
    color: #1a73e8;
}

.bot-sidebar-link.active {
    color: #d4850a;
    background: rgba(239, 159, 39, 0.15);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-weight: 500;
}

/* --- Content Column --- */
.bot-content {
    flex: 1;
    min-width: 0;
}

/* --- Content Sections --- */
.bot-section {
    padding: 0;
    margin-bottom: 1rem;
}

.bot-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    color: #1a1a2e;
}

.bot-section:first-child .bot-section-title {
    margin-top: 0;
}

.bot-subsection-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.bot-text {
    line-height: 1.75;
    color: #495057;
}

/* --- Spec Card --- */
.bot-spec-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.bot-spec-card dt {
    font-weight: 600;
}

.bot-spec-card code {
    color: #d63384;
    font-size: 0.9rem;
}

/* --- Code Blocks --- */
.bot-code-block {
    background: #212529;
    color: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
    font-size: 0.9rem;
}

/* --- Lists --- */
.bot-benefits-list,
.bot-policies-list {
    line-height: 1.75;
    color: #495057;
    padding-left: 1.5rem;
}

.bot-benefits-list li,
.bot-policies-list li {
    margin-bottom: 0.5rem;
}

/* --- Links --- */
.bot-section a {
    color: #1a73e8;
    text-decoration: none;
}

.bot-section a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* --- Link Bottom --- */
.bot-link-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.bot-link-bottom a {
    color: #1a73e8;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
}

.bot-link-bottom a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* --- Bottom spacing --- */
.bot-layout {
    padding-bottom: 3rem;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .bot-columns {
        flex-direction: column;
    }

    .bot-sidebar {
        position: static;
        width: 100%;
        min-width: 100%;
        margin-bottom: 2rem;
        padding: 1rem 1.25rem;
        background: #f8f9fa;
        border-radius: 8px;
    }
}

@media (max-width: 767px) {
    .bot-hero-section {
        padding: 60px 0 40px;
    }

    .bot-hero-title {
        font-size: 1.8rem;
    }

    .bot-spec-card .row dt,
    .bot-spec-card .row dd {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
}

/* --- Popover Styling --- */
.bot-popover {
    --bs-popover-max-width: 340px;
    --bs-popover-header-bg: #212529;
    --bs-popover-header-color: #fff;
    --bs-popover-header-padding-x: 0.75rem;
    --bs-popover-header-padding-y: 0.4rem;
    --bs-popover-body-color: #495057;
    --bs-popover-body-padding-x: 0.75rem;
    --bs-popover-body-padding-y: 0.5rem;
}

.bot-popover .popover-header {
    font-weight: 600;
    font-size: 0.95rem;
}

.bot-popover .popover-body {
    font-size: 0.9rem;
    line-height: 1.65;
}

/* --- Pulse-Glow (orange, 5x on scroll into view) --- */
@keyframes bot-pulse-orange {
    0%   { box-shadow: 0 0 0 0 rgba(239, 159, 39, 0.6); transform: scale(1); }
    50%  { box-shadow: 0 0 20px 10px rgba(239, 159, 39, 0.35); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(239, 159, 39, 0); transform: scale(1); }
}

.bot-pulse-active {
    animation: bot-pulse-orange 1s ease-in-out 5;
}

.bot-pulse-active:hover {
    animation: none;
}

/* --- Peek-a-boo Reveal (pure CSS sticky technique) --- */
/* Footer is moved into the wrapper via JS on DOMContentLoaded.
   Structure: wrapper > footer (normal flow) + reveal (sticky bottom:0).
   The wrapper auto-sizes to footer + reveal height.
   As user scrolls through the wrapper, the sticky reveal stays pinned
   to the viewport bottom — creating the illusion of the image being
   revealed underneath the departing content. */
.bot-reveal-wrapper {
    position: relative;
    z-index: 0;
}

.bot-reveal-wrapper footer {
    position: relative;
    z-index: 1;
    background-color: #1a1a2e;
}

.bot-reveal-sticky {
    position: sticky;
    bottom: 0;
    left: 0;
    height: 550px;
    z-index: 0;
    overflow: hidden;
}

.bot-reveal-sticky img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

@media (max-width: 767px) {
    .bot-reveal-sticky {
        height: 300px;
    }
}


