/* ===== Laravel Visual Migrator Docs - Custom Styles ===== */

/* --- Smooth Scroll --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

/* --- Custom Scrollbar --- */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}

/* --- Code Block Copy Button --- */
.code-block {
    position: relative;
}
.code-block .copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.code-block:hover .copy-btn {
    opacity: 1;
}

/* --- Screenshot Gallery --- */
.screenshot-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.screenshot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.screenshot-card img {
    transition: transform 0.3s ease;
}
.screenshot-card:hover img {
    transform: scale(1.02);
}

/* --- Lightbox --- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 2rem;
}
.lightbox-overlay.active {
    display: flex;
}
.lightbox-overlay img {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 0.5rem;
    box-shadow: 0 0 60px rgba(255, 45, 32, 0.2);
}

/* --- Sidebar Active Indicator Animation --- */
.sidebar-link {
    transition: all 0.15s ease;
}

/* --- Feature Grid Hover --- */
.feature-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
    border-color: #FF2D20;
    box-shadow: 0 0 0 1px #FF2D20;
}

/* --- Mobile Menu Overlay --- */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0,0,0,0.5);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-overlay.active {
    display: block;
    opacity: 1;
}
.mobile-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}
.mobile-sidebar.active {
    transform: translateX(0);
}

/* --- Header Gradient Underline --- */
.hero-gradient {
    background: linear-gradient(135deg, #FF2D20, #FF6B5A, #FF2D20);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Announcement Banner --- */
.version-badge {
    background: linear-gradient(135deg, #FF2D20 0%, #FF6B5A 100%);
}
